Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.007757/0.007757, allocations: 106.5 kB / 21.98 MB, free: 5.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001725/0.001725, allocations: 216.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 230.5 MB / 258.9 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2318/0.2318, allocations: 46.93 MB / 362.3 MB, free: 4.211 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 83.8 kB / 0.4982 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.334, allocations: 66.07 MB / 0.5627 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01437/0.3483, allocations: 11.8 MB / 0.5743 GB, free: 8.383 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008752/0.3571, allocations: 3.984 MB / 0.5781 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001705/0.3588, allocations: 67.75 kB / 0.5782 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002568/0.3614, allocations: 1.206 MB / 0.5794 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004274/0.3656, allocations: 1.775 MB / 0.5811 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.3669, allocations: 499 kB / 0.5816 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005755/0.3727, allocations: 4.059 MB / 0.5856 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002394/0.3751, allocations: 1.687 MB / 0.5872 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.3771, allocations: 1.187 MB / 0.5884 GB, free: 9.863 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002896/0.38, allocations: 1.842 MB / 0.5902 GB, free: 8.016 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006151/0.3806, allocations: 216 kB / 0.5904 GB, free: 7.805 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/0.3831, allocations: 1.115 MB / 0.5915 GB, free: 6.688 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001991/0.385, allocations: 1.612 MB / 0.593 GB, free: 5.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003336/0.3884, allocations: 1.844 MB / 0.5948 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008605/0.397, allocations: 6.114 MB / 0.6008 GB, free: 13.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.397, allocations: 0 / 0.6008 GB, free: 13.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.397, allocations: 4 kB / 0.6008 GB, free: 13.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002277/0.3972, allocations: 0 / 0.6008 GB, free: 13.07 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.009335/0.4066, allocations: 4.13 MB / 0.6048 GB, free: 8.887 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.4066, allocations: 8.031 kB / 0.6049 GB, free: 8.879 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/0.4179, allocations: 3.211 MB / 0.608 GB, free: 5.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004706/0.4226, allocations: 1.962 MB / 0.6099 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.4228, allocations: 184.8 kB / 0.6101 GB, free: 3.488 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001253/0.4241, allocations: 339.6 kB / 0.6104 GB, free: 3.156 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01783/0.4419, allocations: 10.29 MB / 0.6205 GB, free: 8.406 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-05/0.442, allocations: 27.77 kB / 0.6205 GB, free: 8.379 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003781/0.4424, allocations: 111.8 kB / 0.6206 GB, free: 8.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003918/0.4463, allocations: 2.436 MB / 0.623 GB, free: 5.832 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01952/0.4658, allocations: 9.849 MB / 0.6326 GB, free: 11.97 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.054/0.5198, allocations: 34.36 MB / 0.6661 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007679/0.5275, allocations: 3.253 MB / 0.6693 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003135/0.5306, allocations: 2.025 MB / 0.6713 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008878/0.5315, allocations: 448.1 kB / 0.6717 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/0.5315, allocations: 48.56 kB / 0.6718 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=236): time 4.639e-06/0.5315, allocations: 0 / 0.6718 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=252): time 0.03862/0.5702, allocations: 16.41 MB / 0.6878 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001588/0.5718, allocations: 1.518 MB / 0.6893 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004032/0.5758, allocations: 2.68 MB / 0.6919 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004749/0.5763, allocations: 61.61 kB / 0.692 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002217/0.5785, allocations: 2.71 MB / 0.6946 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001303/0.5798, allocations: 0.9688 MB / 0.6956 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001578/0.5814, allocations: 1.112 MB / 0.6966 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.5815, allocations: 301.1 kB / 0.6969 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003697/0.5852, allocations: 2.42 MB / 0.6993 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006378/0.5916, allocations: 5.335 MB / 0.7045 GB, free: 15.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01116/0.6027, allocations: 8.43 MB / 0.7127 GB, free: 5.934 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.798e-05/0.6028, allocations: 28 kB / 0.7128 GB, free: 5.906 MB / 0.545 GB Notification: Performance of matching and sorting (n=734) (initialization): time 0.02284/0.6257, allocations: 9.701 MB / 0.7222 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.02e-05/0.6258, allocations: 48 kB / 0.7223 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01392/0.6397, allocations: 4.885 MB / 0.7271 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.011/0.6507, allocations: 2.456 MB / 0.7294 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004451/0.6551, allocations: 1.252 MB / 0.7307 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2986/0.9537, allocations: 6.193 MB / 0.7367 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003971/0.9577, allocations: 392.3 kB / 0.7371 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007785/0.9585, allocations: 314 kB / 0.7374 GB, free: 148.6 MB / 0.5606 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.003062/0.9615, allocations: 2.029 MB / 0.7394 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004508/0.962, allocations: 283 kB / 0.7396 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008183/0.9702, allocations: 5.312 MB / 0.7448 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007077/0.9773, allocations: 4.596 MB / 0.7493 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.9773, allocations: 3.906 kB / 0.7493 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/0.9773, allocations: 11.44 kB / 0.7493 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01877/0.9961, allocations: 14.1 MB / 0.7631 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/0.9961, allocations: 12.91 kB / 0.7631 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/0.9975, allocations: 403.4 kB / 0.7635 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003623/1.001, allocations: 1.243 MB / 0.7647 GB, free: 135 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002163/1.001, allocations: 59.97 kB / 0.7648 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003559/1.005, allocations: 4.547 MB / 0.7692 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006845/1.006, allocations: 1.457 MB / 0.7706 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009841/1.015, allocations: 8.009 MB / 0.7785 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006725/1.016, allocations: 263.5 kB / 0.7787 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000338/1.016, allocations: 51.73 kB / 0.7788 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/1.018, allocations: 195.3 kB / 0.7789 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003204/1.018, allocations: 172.8 kB / 0.7791 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/1.018, allocations: 71.98 kB / 0.7792 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001707/1.02, allocations: 1.649 MB / 0.7808 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.02, allocations: 0 / 0.7808 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003182/1.023, allocations: 1.029 MB / 0.7818 GB, free: 117.4 MB / 0.5606 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.0003679/1.023, allocations: 201.8 kB / 0.782 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007406/1.031, allocations: 6.041 MB / 0.7879 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.031, allocations: 4.25 kB / 0.7879 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003418/1.034, allocations: 2.555 MB / 0.7904 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/1.036, allocations: 384.7 kB / 0.7907 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/1.049, allocations: 10.9 MB / 0.8014 GB, free: 97.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/1.051, allocations: 3.183 MB / 0.8045 GB, free: 93.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/1.052, allocations: 263.4 kB / 0.8048 GB, free: 93.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.362e-06/1.052, allocations: 0 / 0.8048 GB, free: 93.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.1231/1.175, allocations: 128.7 MB / 0.9304 GB, free: 12.99 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion.makefile [Timeout 660] make -j1 -f ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.o OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.cpp In file included from OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgLoopMain.cpp:24: ./OMCppModelicaTest_4.1.0-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.6219770619645715] 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.1846390950959176 1.1984253440000001 0.798178476 Calling exit ...