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.001283/0.001283, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001542/0.001542, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.2301/0.2301, allocations: 46.94 MB / 361.6 MB, free: 4.281 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.001964/0.001964, allocations: 59.91 kB / 0.4974 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3332, allocations: 66.04 MB / 0.5619 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01378/0.347, allocations: 11.78 MB / 0.5734 GB, free: 8.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008708/0.3557, allocations: 3.988 MB / 0.5773 GB, free: 4.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002261/0.358, allocations: 67.75 kB / 0.5773 GB, free: 4.504 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002664/0.3606, allocations: 1.202 MB / 0.5785 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004169/0.3648, allocations: 1.783 MB / 0.5803 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.3661, allocations: 0.4951 MB / 0.5807 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005766/0.3718, allocations: 4.048 MB / 0.5847 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002918/0.3748, allocations: 1.696 MB / 0.5864 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002234/0.377, allocations: 1.183 MB / 0.5875 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002984/0.38, allocations: 1.838 MB / 0.5893 GB, free: 8.203 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007962/0.3808, allocations: 216 kB / 0.5895 GB, free: 7.992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002542/0.3833, allocations: 1.119 MB / 0.5906 GB, free: 6.871 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002609/0.3859, allocations: 1.612 MB / 0.5922 GB, free: 5.254 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004014/0.3899, allocations: 1.84 MB / 0.594 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007894/0.3978, allocations: 6.113 MB / 0.5999 GB, free: 13.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3978, allocations: 0 / 0.5999 GB, free: 13.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3978, allocations: 0 / 0.5999 GB, free: 13.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001532/0.398, allocations: 0 / 0.5999 GB, free: 13.27 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.007801/0.4058, allocations: 4.142 MB / 0.604 GB, free: 9.066 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4058, allocations: 8.031 kB / 0.604 GB, free: 9.059 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/0.4167, allocations: 3.204 MB / 0.6071 GB, free: 5.848 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00477/0.4215, allocations: 1.969 MB / 0.609 GB, free: 3.852 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.4216, allocations: 176.8 kB / 0.6092 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001004/0.4226, allocations: 327.7 kB / 0.6095 GB, free: 3.355 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01746/0.4401, allocations: 10.3 MB / 0.6196 GB, free: 8.598 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001081/0.4402, allocations: 31.75 kB / 0.6196 GB, free: 8.566 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003952/0.4406, allocations: 111.8 kB / 0.6197 GB, free: 8.457 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004144/0.4447, allocations: 2.432 MB / 0.6221 GB, free: 6.023 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01973/0.4645, allocations: 9.851 MB / 0.6317 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05722/0.5217, allocations: 34.37 MB / 0.6653 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00807/0.5298, allocations: 3.245 MB / 0.6684 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003286/0.533, allocations: 2.031 MB / 0.6704 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.5341, allocations: 452.1 kB / 0.6709 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/0.5341, allocations: 48.56 kB / 0.6709 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=236): time 5.39e-06/0.5341, allocations: 0 / 0.6709 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=252): time 0.04152/0.5756, allocations: 16.42 MB / 0.6869 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00158/0.5772, allocations: 1.522 MB / 0.6884 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005253/0.5825, allocations: 2.676 MB / 0.691 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004964/0.583, allocations: 57.7 kB / 0.6911 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002488/0.5854, allocations: 2.722 MB / 0.6938 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001567/0.587, allocations: 0.9687 MB / 0.6947 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002743/0.5898, allocations: 1.108 MB / 0.6958 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5899, allocations: 301.1 kB / 0.6961 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004171/0.5941, allocations: 2.416 MB / 0.6984 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007128/0.6012, allocations: 5.335 MB / 0.7036 GB, free: 15.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01187/0.6131, allocations: 8.426 MB / 0.7119 GB, free: 6.113 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001069/0.6132, allocations: 28 kB / 0.7119 GB, free: 6.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=734) (initialization): time 0.02443/0.6376, allocations: 9.709 MB / 0.7214 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.6377, allocations: 52 kB / 0.7214 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01424/0.652, allocations: 4.877 MB / 0.7262 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01157/0.6635, allocations: 2.464 MB / 0.7286 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004512/0.6681, allocations: 1.252 MB / 0.7298 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2544/0.9224, allocations: 6.187 MB / 0.7359 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004066/0.9265, allocations: 391.9 kB / 0.7362 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009106/0.9274, allocations: 316.6 kB / 0.7365 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.003077/0.9305, allocations: 2.024 MB / 0.7385 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004894/0.931, allocations: 285.3 kB / 0.7388 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008271/0.9392, allocations: 5.312 MB / 0.744 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007196/0.9464, allocations: 4.592 MB / 0.7485 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.9464, allocations: 3.938 kB / 0.7485 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-05/0.9465, allocations: 11.48 kB / 0.7485 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0198/0.9663, allocations: 14.1 MB / 0.7622 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/0.9663, allocations: 8 kB / 0.7622 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/0.9679, allocations: 407.3 kB / 0.7626 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003755/0.9716, allocations: 1.241 MB / 0.7638 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000276/0.9719, allocations: 63.95 kB / 0.7639 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003577/0.9755, allocations: 4.537 MB / 0.7683 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006619/0.9761, allocations: 1.461 MB / 0.7698 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/0.9862, allocations: 8.005 MB / 0.7776 GB, free: 121 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008633/0.9871, allocations: 267.8 kB / 0.7778 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004328/0.9875, allocations: 55.81 kB / 0.7779 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/0.9889, allocations: 195.7 kB / 0.7781 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003209/0.9892, allocations: 169.4 kB / 0.7782 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/0.9893, allocations: 75.97 kB / 0.7783 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001839/0.9912, allocations: 1.647 MB / 0.7799 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.9912, allocations: 0 / 0.7799 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003745/0.9949, allocations: 1.026 MB / 0.7809 GB, free: 117.7 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.0004495/0.9954, allocations: 199.9 kB / 0.7811 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008132/1.003, allocations: 6.04 MB / 0.787 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.003, allocations: 8.062 kB / 0.787 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003701/1.007, allocations: 2.559 MB / 0.7895 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/1.009, allocations: 396.2 kB / 0.7899 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/1.024, allocations: 10.9 MB / 0.8005 GB, free: 97.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002831/1.027, allocations: 3.183 MB / 0.8037 GB, free: 94.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/1.028, allocations: 263.4 kB / 0.8039 GB, free: 94.01 MB / 0.5606 GB Notification: Performance of SimCode: time 1.653e-06/1.028, allocations: 0 / 0.8039 GB, free: 94.01 MB / 0.5606 GB Notification: Performance of Templates: time 0.1271/1.155, allocations: 128.7 MB / 0.9296 GB, free: 13.34 MB / 0.6075 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: 5.368009933037683] 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.165123505052179 1.180309689 0.779032167 Calling exit ...