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.001594/0.001594, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001765/0.001765, allocations: 205.3 kB / 24.48 MB, free: 3.695 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.511/1.511, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2395/0.2395, allocations: 46.97 MB / 361.6 MB, free: 4.004 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.002011/0.002011, allocations: 63.91 kB / 0.4973 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3385, allocations: 66.03 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01331/0.3518, allocations: 10.24 MB / 0.5718 GB, free: 9.844 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008634/0.3605, allocations: 3.75 MB / 0.5755 GB, free: 6.082 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001708/0.3622, allocations: 67.75 kB / 0.5755 GB, free: 6.016 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002594/0.3648, allocations: 1.163 MB / 0.5767 GB, free: 4.848 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004317/0.3691, allocations: 1.787 MB / 0.5784 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.3703, allocations: 0.4912 MB / 0.5789 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005632/0.376, allocations: 4.054 MB / 0.5829 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002359/0.3783, allocations: 1.696 MB / 0.5845 GB, free: 12.78 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/0.3801, allocations: 1.183 MB / 0.5857 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002583/0.3827, allocations: 1.841 MB / 0.5875 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000435/0.3831, allocations: 216 kB / 0.5877 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.385, allocations: 0.9906 MB / 0.5886 GB, free: 8.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001596/0.3866, allocations: 1.616 MB / 0.5902 GB, free: 6.922 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001584/0.3882, allocations: 1.311 MB / 0.5915 GB, free: 5.602 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007105/0.3953, allocations: 6.137 MB / 0.5975 GB, free: 15.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3953, allocations: 4 kB / 0.5975 GB, free: 15.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3953, allocations: 0 / 0.5975 GB, free: 15.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001176/0.3954, allocations: 0 / 0.5975 GB, free: 15.44 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.007563/0.403, allocations: 4.13 MB / 0.6015 GB, free: 11.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.4031, allocations: 12.03 kB / 0.6015 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/0.4144, allocations: 3.204 MB / 0.6047 GB, free: 8.027 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005765/0.4202, allocations: 1.989 MB / 0.6066 GB, free: 6.012 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002035/0.4204, allocations: 176.8 kB / 0.6068 GB, free: 5.836 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/0.4215, allocations: 335.6 kB / 0.6071 GB, free: 5.508 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01674/0.4382, allocations: 10.3 MB / 0.6172 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.683e-05/0.4383, allocations: 27.77 kB / 0.6172 GB, free: 10.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003673/0.4387, allocations: 119.8 kB / 0.6173 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003951/0.4426, allocations: 2.436 MB / 0.6197 GB, free: 8.172 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01886/0.4615, allocations: 9.815 MB / 0.6293 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0547/0.5162, allocations: 31.9 MB / 0.6604 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008071/0.5242, allocations: 3.242 MB / 0.6636 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003123/0.5274, allocations: 2.027 MB / 0.6656 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000994/0.5284, allocations: 437.3 kB / 0.666 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.779e-05/0.5284, allocations: 55.38 kB / 0.666 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=236): time 6.322e-06/0.5284, allocations: 0 / 0.666 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=252): time 0.04145/0.5699, allocations: 16.47 MB / 0.6821 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001518/0.5714, allocations: 1.488 MB / 0.6836 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003838/0.5752, allocations: 2.711 MB / 0.6862 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004763/0.5757, allocations: 53.86 kB / 0.6863 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00234/0.578, allocations: 2.734 MB / 0.6889 GB, free: 176 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001374/0.5794, allocations: 0.9649 MB / 0.6899 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001782/0.5812, allocations: 1.108 MB / 0.691 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.5814, allocations: 305.1 kB / 0.6913 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003888/0.5853, allocations: 2.412 MB / 0.6936 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0067/0.592, allocations: 5.338 MB / 0.6988 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01186/0.6038, allocations: 8.426 MB / 0.7071 GB, free: 10.74 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000122/0.6039, allocations: 28 kB / 0.7071 GB, free: 10.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=734) (initialization): time 0.02426/0.6282, allocations: 9.694 MB / 0.7165 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.6283, allocations: 51.94 kB / 0.7166 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01443/0.6427, allocations: 4.885 MB / 0.7214 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01244/0.6552, allocations: 2.46 MB / 0.7238 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005433/0.6606, allocations: 1.248 MB / 0.725 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/0.6707, allocations: 6.086 MB / 0.7309 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004487/0.6752, allocations: 391.6 kB / 0.7313 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009906/0.6762, allocations: 312 kB / 0.7316 GB, free: 1.324 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.2767/0.9529, allocations: 2.032 MB / 0.7336 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007623/0.9537, allocations: 273.6 kB / 0.7338 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009781/0.9634, allocations: 5.302 MB / 0.739 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007288/0.9707, allocations: 4.598 MB / 0.7435 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/0.9707, allocations: 3.938 kB / 0.7435 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.183e-05/0.9708, allocations: 15.81 kB / 0.7435 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02259/0.9934, allocations: 12.67 MB / 0.7559 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.178e-05/0.9934, allocations: 10.66 kB / 0.7559 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/0.9952, allocations: 408 kB / 0.7563 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004095/0.9993, allocations: 1.239 MB / 0.7575 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004254/0.9997, allocations: 63.95 kB / 0.7576 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003858/1.004, allocations: 4.474 MB / 0.7619 GB, free: 137 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007562/1.004, allocations: 1.429 MB / 0.7633 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/1.015, allocations: 7.994 MB / 0.7711 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008401/1.016, allocations: 249.6 kB / 0.7714 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006915/1.017, allocations: 51.98 kB / 0.7714 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/1.019, allocations: 195.7 kB / 0.7716 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003962/1.019, allocations: 172.7 kB / 0.7718 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002/1.019, allocations: 83.02 kB / 0.7719 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002154/1.021, allocations: 1.534 MB / 0.7734 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/1.021, allocations: 2.344 kB / 0.7734 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004021/1.025, allocations: 1.025 MB / 0.7744 GB, free: 124.3 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.0005019/1.026, allocations: 198.6 kB / 0.7746 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008494/1.034, allocations: 6.036 MB / 0.7805 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.976e-05/1.034, allocations: 4 kB / 0.7805 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00411/1.039, allocations: 2.569 MB / 0.783 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/1.041, allocations: 303.3 kB / 0.7833 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/1.057, allocations: 10.89 MB / 0.7939 GB, free: 104.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00367/1.061, allocations: 2.642 MB / 0.7965 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/1.062, allocations: 247.4 kB / 0.7967 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.322e-06/1.062, allocations: 0 / 0.7967 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.1171/1.179, allocations: 128.7 MB / 0.9224 GB, free: 4.551 MB / 0.5919 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 -DOMC_BUILD -DUSE_THREAD -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:55: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp68 = 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:117: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp68 = 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:177: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp68 = 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:238: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp68 = 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:300: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp68 = 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:361: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp68 = 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:422: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp68 = 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:482: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp68 = 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:55: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp69 = 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:117: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp69 = 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:177: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp69 = 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:238: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp69 = 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:300: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp69 = 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:361: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp69 = 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:422: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp69 = 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:482: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp69 = 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:55: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp70 = 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:116: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp70 = 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:180: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp70 = 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: 5.587707102007698] 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.1895356879977044 1.205277283 0.8065884759999999 Calling exit ...