Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 115.1 kB / 18.45 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.59/1.59, allocations: 230.6 MB / 254.8 MB, free: 14.87 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2406/0.2406, allocations: 46.92 MB / 357.8 MB, free: 10.36 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.91 kB / 0.4921 GB, free: 7.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1451, allocations: 65.99 MB / 0.5565 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01359/0.1587, allocations: 11.77 MB / 0.568 GB, free: 9.527 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008283/0.167, allocations: 3.968 MB / 0.5719 GB, free: 5.543 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.1685, allocations: 67.75 kB / 0.572 GB, free: 5.477 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002332/0.1708, allocations: 1.195 MB / 0.5731 GB, free: 4.277 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003759/0.1746, allocations: 1.767 MB / 0.5748 GB, free: 2.504 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.1757, allocations: 495 kB / 0.5753 GB, free: 2.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005022/0.1807, allocations: 4.056 MB / 0.5793 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/0.1827, allocations: 1.592 MB / 0.5808 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.1842, allocations: 1.187 MB / 0.582 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002255/0.1865, allocations: 1.845 MB / 0.5838 GB, free: 9.293 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004316/0.1869, allocations: 216 kB / 0.584 GB, free: 9.082 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.1889, allocations: 1.119 MB / 0.5851 GB, free: 7.961 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001485/0.1903, allocations: 1.608 MB / 0.5867 GB, free: 6.348 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001801/0.1921, allocations: 1.84 MB / 0.5885 GB, free: 4.496 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3638/0.5559, allocations: 6.105 MB / 0.5944 GB, free: 13.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.5559, allocations: 0 / 0.5944 GB, free: 13.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.556, allocations: 1 kB / 0.5944 GB, free: 13.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002587/0.5562, allocations: 0 / 0.5944 GB, free: 13.34 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1483 * Number of variables: 1483 Notification: Performance of Generate backend data structure: time 0.01306/0.5693, allocations: 4.215 MB / 0.5985 GB, free: 11.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.5693, allocations: 9.312 kB / 0.5986 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01452/0.5838, allocations: 3.21 MB / 0.6017 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006482/0.5903, allocations: 2.023 MB / 0.6037 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000304/0.5906, allocations: 181.2 kB / 0.6038 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001742/0.5924, allocations: 333.5 kB / 0.6042 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02153/0.6139, allocations: 10.29 MB / 0.6142 GB, free: 8.355 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001447/0.614, allocations: 30.64 kB / 0.6142 GB, free: 8.352 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005446/0.6146, allocations: 117 kB / 0.6143 GB, free: 8.312 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004768/0.6194, allocations: 2.432 MB / 0.6167 GB, free: 7.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01988/0.6392, allocations: 9.844 MB / 0.6263 GB, free: 4.785 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05701/0.6962, allocations: 34.48 MB / 0.66 GB, free: 3.215 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00874/0.705, allocations: 4.156 MB / 0.6641 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003372/0.7084, allocations: 2.031 MB / 0.666 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/0.7098, allocations: 1.305 MB / 0.6673 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.581e-05/0.7099, allocations: 61.33 kB / 0.6674 GB, free: 11.22 MB / 494.1 MB Notification: Performance of pre-optimization done (n=236): time 3.978e-06/0.7099, allocations: 0 / 0.6674 GB, free: 11.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=252): time 0.04268/0.7525, allocations: 16.79 MB / 0.6838 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001703/0.7543, allocations: 1.627 MB / 0.6854 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004423/0.7587, allocations: 2.679 MB / 0.688 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006034/0.7593, allocations: 59.97 kB / 0.688 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002423/0.7617, allocations: 2.713 MB / 0.6907 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001505/0.7632, allocations: 0.9724 MB / 0.6916 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001746/0.765, allocations: 1.108 MB / 0.6927 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.7651, allocations: 301.1 kB / 0.693 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003932/0.769, allocations: 2.417 MB / 0.6954 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006578/0.7756, allocations: 5.34 MB / 0.7006 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/0.787, allocations: 8.418 MB / 0.7088 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-05/0.7871, allocations: 36 kB / 0.7088 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=734) (initialization): time 0.02379/0.8109, allocations: 9.701 MB / 0.7183 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.811, allocations: 54.22 kB / 0.7184 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01586/0.8269, allocations: 4.884 MB / 0.7231 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01252/0.8394, allocations: 2.46 MB / 0.7255 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004913/0.8443, allocations: 1.252 MB / 0.7268 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/0.8549, allocations: 6.394 MB / 0.733 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004928/0.8598, allocations: 387.6 kB / 0.7334 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001397/0.8612, allocations: 322.8 kB / 0.7337 GB, free: 4.809 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 26 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (672): * Single equations (assignments): 660 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005801/0.867, allocations: 2.022 MB / 0.7356 GB, free: 2.773 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001348/0.8684, allocations: 290.1 kB / 0.7359 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01417/0.8825, allocations: 5.31 MB / 0.7411 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01064/0.8932, allocations: 4.599 MB / 0.7456 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/0.8932, allocations: 0 / 0.7456 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.882e-05/0.8932, allocations: 11.91 kB / 0.7456 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03322/0.9265, allocations: 14.28 MB / 0.7596 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.151e-05/0.9265, allocations: 8 kB / 0.7596 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002145/0.9286, allocations: 403.4 kB / 0.76 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005059/0.9337, allocations: 1.236 MB / 0.7612 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007201/0.9344, allocations: 71.89 kB / 0.7612 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006114/0.9405, allocations: 4.751 MB / 0.7659 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001438/0.942, allocations: 1.554 MB / 0.7674 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01713/0.9591, allocations: 8.012 MB / 0.7752 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.9602, allocations: 339.2 kB / 0.7755 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001037/0.9612, allocations: 55.98 kB / 0.7756 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00232/0.9636, allocations: 199.6 kB / 0.7758 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006851/0.9642, allocations: 164.9 kB / 0.7759 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003782/0.9646, allocations: 80.14 kB / 0.776 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003584/0.9682, allocations: 1.64 MB / 0.7776 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9682, allocations: 0 / 0.7776 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006333/0.9745, allocations: 1.03 MB / 0.7786 GB, free: 5.902 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (192): * Single equations (assignments): 182 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008776/0.9754, allocations: 194.1 kB / 0.7788 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01306/0.9885, allocations: 6.187 MB / 0.7848 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/0.9885, allocations: 0 / 0.7848 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.005613/0.9941, allocations: 2.723 MB / 0.7875 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003333/0.9974, allocations: 388 kB / 0.7879 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02369/1.021, allocations: 10.78 MB / 0.7984 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004344/1.025, allocations: 3.191 MB / 0.8015 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001378/1.027, allocations: 259.4 kB / 0.8018 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of SimCode: time 1.784e-06/1.027, allocations: 0 / 0.8018 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of Templates: time 0.4507/1.478, allocations: 128.7 MB / 0.9274 GB, free: 144.1 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion.makefile [Timeout 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.o OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.cpp In file included from OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgLoopMain.cpp:24: ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:56: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp107 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:118: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp107 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:178: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp107 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:239: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp107 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:301: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp107 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:362: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp107 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:423: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp107 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:483: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp107 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:56: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp108 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:118: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp108 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:178: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp108 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:239: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp108 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:301: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp108 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:362: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp108 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:423: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp108 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:483: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp108 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:78:56: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp109 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(2)) + (((-_system->_freeMotion_P_Q_(2)) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(4))))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:78:117: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp109 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(2)) + (((-_system->_freeMotion_P_Q_(2)) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(4))))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:78:181: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp109 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(2)) + (((-_system->_freeMotion_P_Q_(2)) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(4))))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 6.2353722999978345] Failed to read output from testmodel.py, exit status != 0: ['time', 'freeMotion.Q[1]', 'freeMotion.Q[2]', 'freeMotion.Q[3]', 'freeMotion.Q[4]', 'freeMotion.r_rel_a[1]', 'freeMotion.r_rel_a[2]', 'freeMotion.r_rel_a[3]', 'freeMotion.v_rel_a[1]', 'freeMotion.v_rel_a[2]', 'freeMotion.v_rel_a[3]', 'freeMotion.w_rel_b[1]', 'freeMotion.w_rel_b[2]', 'freeMotion.w_rel_b[3]'] 1.485791793995304 1.4947187739999999 0.936585463 Calling exit ...