parabloic motion

When applying a constant force to a body that is in the open and not contacting anything or attached to any joints, I expected parabolic motion. However, it is not exactly parabolic. What should I do?

Edit. I discovered that the difference is approximately .5gtdt, so I guess Box2d just doesn't interpolate like I expected. Is there any easy way to correct for this?
Box2D uses a symplectic Euler integrator and does not produce an exact parabola. The error gets smaller with a smaller time step. I have no plans to change the integrator because symplectic Euler provides a good balance of stability and performance.
I eventually figured out how to correct for the energy drift under normal conditions, but as soon as it touches a wall, the velocity suddenly explodes again. There's no friction or restitution or anything. Do you know what could be causing this?
Any time you feed back position or velocity as a force you run the risk of making the integrator go unstable.
It's not that the integrator is unstable, it's just that the object is not moving correctly when adjacent to a wall. It's as if it randomly pauses for a moment with no change in velocity.

For example the results from one timestep. (The units are in pixels, or 1/16 of a meter)
dt = .016
lasty:182.571
newy:181.97
lastvy: -572.149
newvy: -547.149

It's average speed over the timestep was -37.5671, much higher then the expected -547.149.
I suppose the solver could be confused and think it is colliding with the endpoints of the different segments of the wall, but I would have expected a change in velocity if a collision took place. How can position be changed while velocity is unaffected?

Also, I'm applying a constant force of 1562.5 * mass to the object, and the walls are static, AA rectangles with 0 friction and 0 restitution.


Edit: I replaced the walls with single continuous edges, and the problem still appears.
I eventually got fed up and started manually setting the position to the correct value each frame. Combined with a conservation of energy calculation after each teleport plus a correction for the inaccurate interpolation in velocity, I finally got it so that it appears to be working.

If only there were a more elegant solution, rather then a series of hacks.
If you are using the latest version you will see a small pause when there is a continuous collision event. Basically the shape is moved back to the point of impact and held there until the next time step.

Original thread: https://box2d.org/forum/viewtopic.php?t=4722