try to add the line dRandSetSeed(0); at the beginning of runtest() ! then, all runtest() calls results in the same values. it looks like ode is using some random values ;-) this sounds strange for an industrial physic system.... maybe some one can explain me this riddle? chris