Current code executes COMPoseTesting correctly although it crashes after stopping simulation