opensim-core
opensim-core copied to clipboard
some moco tests fail with both OPENSIM_WITH_TROPTER and OPENSIM_WITH_CASADI=OFF
Test project /Users/carmichaelong/repos/opensim-core/opensim_build
Start 51: testMocoInterface
1/11 Test #51: testMocoInterface ................***Failed 0.11 sec
Start 52: testMocoGoals
2/11 Test #52: testMocoGoals ....................***Failed 0.05 sec
Start 53: testMocoParameters
3/11 Test #53: testMocoParameters ............... Passed 0.03 sec
Start 54: testMocoImplicit
4/11 Test #54: testMocoImplicit ................. Passed 0.04 sec
Start 55: testMocoConstraints
5/11 Test #55: testMocoConstraints .............. Passed 0.10 sec
Start 56: testMocoContact
6/11 Test #56: testMocoContact .................. Passed 0.03 sec
Start 57: testMocoActuators
7/11 Test #57: testMocoActuators ................ Passed 0.04 sec
Start 58: testMocoInverse
8/11 Test #58: testMocoInverse .................. Passed 0.03 sec
Start 59: testMocoTrack
9/11 Test #59: testMocoTrack .................... Passed 0.13 sec
Start 60: testMocoAnalytic
10/11 Test #60: testMocoAnalytic ................. Passed 0.03 sec
Start 61: testMocoMetabolics
11/11 Test #61: testMocoMetabolics ............... Passed 0.04 sec
82% tests passed, 2 tests failed out of 11
Total Test time (real) = 0.66 sec
The following tests FAILED:
51 - testMocoInterface (Failed)
52 - testMocoGoals (Failed)
testMocoInterface is a Catch v2.7.0 host application.
Run with -? for options
-------------------------------------------------------------------------------
Serializing a MocoStudy
-------------------------------------------------------------------------------
/Users/carmichaelong/repos/opensim-core/source/OpenSim/Moco/Test/testMocoInterface.cpp:306
...............................................................................
/Users/carmichaelong/repos/opensim-core/source/OpenSim/Moco/Test/testMocoInterface.cpp:306: FAILED:
due to unexpected exception with message:
MocoCasADiSolver is not available.
Thrown at MocoCasADiSolver.cpp:448 in solveImpl().
[warning] No time bounds set.
[warning] No time bounds set.
[warning] No time bounds set.
[warning] No time bounds set.
[warning] No time bounds set.
[warning] No time bounds set.
[warning] No time bounds set.
[warning] No time bounds set.
[warning] No time bounds set.
[warning] No time bounds set.
[warning] No time bounds set.
[warning] No time bounds set.
[warning] No time bounds set.
[warning] No time bounds set.
[warning] No time bounds set.
[warning] No time bounds set.
[warning] No time bounds set.
===============================================================================
test cases: 13 | 12 passed | 1 failed
assertions: 62 | 61 passed | 1 failed
Start 52: testMocoGoals
2/2 Test #52: testMocoGoals ....................***Failed 0.05 sec
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
testMocoGoals is a Catch v2.7.0 host application.
Run with -? for options
-------------------------------------------------------------------------------
Test MocoScaleFactor
-------------------------------------------------------------------------------
/Users/carmichaelong/repos/opensim-core/source/OpenSim/Moco/Test/testMocoGoals.cpp:401
...............................................................................
/Users/carmichaelong/repos/opensim-core/source/OpenSim/Moco/Test/testMocoGoals.cpp:401: FAILED:
due to unexpected exception with message:
MocoCasADiSolver is not available.
Thrown at MocoCasADiSolver.cpp:448 in solveImpl().
===============================================================================
test cases: 4 | 3 passed | 1 failed
assertions: 12 | 11 passed | 1 failed