OpenWorm [1] has made a lot of progress toward building a fully functional model and when it simulates a worm's behavior it is almost indistinguishable from the real thing. Here is a video they produced in 2013 of C. elegans moving: https://www.youtube.com/watch?v=SaovWiZJUWY