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.00162/0.00162, allocations: 99.66 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.001814/0.001814, allocations: 213.2 kB / 24.48 MB, free: 3.844 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.502/1.502, allocations: 230.6 MB / 258.2 MB, free: 7.82 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.2611/0.2611, allocations: 46.96 MB / 361.6 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 179] 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.002506/0.002506, allocations: 63.89 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3643, allocations: 66.04 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01359/0.3778, allocations: 10.24 MB / 0.5718 GB, free: 9.891 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008828/0.3867, allocations: 3.75 MB / 0.5755 GB, free: 6.129 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001976/0.3886, allocations: 67.75 kB / 0.5755 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00283/0.3915, allocations: 1.16 MB / 0.5767 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004694/0.3962, allocations: 1.787 MB / 0.5784 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.3976, allocations: 499 kB / 0.5789 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006509/0.4041, allocations: 4.052 MB / 0.5829 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002894/0.407, allocations: 1.688 MB / 0.5845 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002217/0.4092, allocations: 1.183 MB / 0.5857 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002851/0.412, allocations: 1.779 MB / 0.5874 GB, free: 9.871 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006421/0.4127, allocations: 216 kB / 0.5876 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002188/0.4149, allocations: 0.9789 MB / 0.5886 GB, free: 8.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001854/0.4167, allocations: 1.62 MB / 0.5901 GB, free: 7.055 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001914/0.4186, allocations: 1.307 MB / 0.5914 GB, free: 5.738 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008612/0.4273, allocations: 6.141 MB / 0.5974 GB, free: 15.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4273, allocations: 0 / 0.5974 GB, free: 15.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.4273, allocations: 3.938 kB / 0.5974 GB, free: 15.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002005/0.4275, allocations: 0 / 0.5974 GB, free: 15.57 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.009238/0.4367, allocations: 4.134 MB / 0.6015 GB, free: 11.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.4368, allocations: 12.03 kB / 0.6015 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/0.4484, allocations: 3.207 MB / 0.6046 GB, free: 8.152 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00575/0.4541, allocations: 1.977 MB / 0.6065 GB, free: 6.148 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.4543, allocations: 184.8 kB / 0.6067 GB, free: 5.965 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001161/0.4555, allocations: 339.6 kB / 0.607 GB, free: 5.633 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0171/0.4726, allocations: 10.29 MB / 0.6171 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.37e-05/0.4727, allocations: 31.7 kB / 0.6171 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003909/0.4731, allocations: 115.8 kB / 0.6172 GB, free: 10.74 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004028/0.4771, allocations: 2.436 MB / 0.6196 GB, free: 8.301 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01971/0.4968, allocations: 9.812 MB / 0.6292 GB, free: 14.47 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05027/0.5471, allocations: 31.9 MB / 0.6603 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00754/0.5546, allocations: 3.246 MB / 0.6635 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003194/0.5578, allocations: 2.029 MB / 0.6655 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000894/0.5587, allocations: 433.3 kB / 0.6659 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.42e-05/0.5588, allocations: 55.38 kB / 0.666 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=236): time 5.08e-06/0.5588, allocations: 0 / 0.666 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=252): time 0.03969/0.5985, allocations: 16.46 MB / 0.682 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001457/0.5999, allocations: 1.492 MB / 0.6835 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003804/0.6037, allocations: 2.714 MB / 0.6861 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004669/0.6042, allocations: 53.86 kB / 0.6862 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002067/0.6063, allocations: 2.73 MB / 0.6889 GB, free: 312 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001269/0.6075, allocations: 0.9651 MB / 0.6898 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001574/0.6091, allocations: 1.112 MB / 0.6909 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.6092, allocations: 304.9 kB / 0.6912 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00356/0.6128, allocations: 2.412 MB / 0.6935 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006139/0.6189, allocations: 5.338 MB / 0.6987 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/0.6301, allocations: 8.418 MB / 0.707 GB, free: 10.88 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001134/0.6302, allocations: 32 kB / 0.707 GB, free: 10.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=734) (initialization): time 0.02406/0.6543, allocations: 9.686 MB / 0.7165 GB, free: 1.133 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.564e-05/0.6544, allocations: 51.94 kB / 0.7165 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0143/0.6687, allocations: 4.888 MB / 0.7213 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01213/0.6808, allocations: 2.468 MB / 0.7237 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004648/0.6855, allocations: 1.248 MB / 0.7249 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.6955, allocations: 6.082 MB / 0.7308 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004219/0.6997, allocations: 387.6 kB / 0.7312 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008963/0.7006, allocations: 316 kB / 0.7315 GB, free: 1.457 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.2786/0.9792, allocations: 2.025 MB / 0.7335 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007891/0.98, allocations: 271.7 kB / 0.7338 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/0.9903, allocations: 5.31 MB / 0.7389 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007537/0.9978, allocations: 4.593 MB / 0.7434 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/0.9978, allocations: 0 / 0.7434 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/0.9978, allocations: 18.95 kB / 0.7434 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01972/1.018, allocations: 12.67 MB / 0.7558 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.77e-05/1.018, allocations: 11.84 kB / 0.7558 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/1.019, allocations: 412.1 kB / 0.7562 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004024/1.023, allocations: 1.238 MB / 0.7574 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002584/1.023, allocations: 65.94 kB / 0.7575 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003647/1.027, allocations: 4.473 MB / 0.7619 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006783/1.028, allocations: 1.423 MB / 0.7633 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/1.038, allocations: 7.994 MB / 0.7711 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007326/1.039, allocations: 249 kB / 0.7713 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00037/1.039, allocations: 52.8 kB / 0.7713 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/1.041, allocations: 207.4 kB / 0.7715 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003088/1.041, allocations: 172.6 kB / 0.7717 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/1.041, allocations: 79.8 kB / 0.7718 GB, free: 127 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001722/1.043, allocations: 1.534 MB / 0.7733 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.043, allocations: 0 / 0.7733 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003843/1.047, allocations: 1.024 MB / 0.7743 GB, free: 124.5 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.0004572/1.047, allocations: 194.8 kB / 0.7745 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008339/1.056, allocations: 6.038 MB / 0.7804 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.799e-05/1.056, allocations: 4 kB / 0.7804 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003969/1.06, allocations: 2.566 MB / 0.7829 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/1.062, allocations: 312.6 kB / 0.7832 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/1.076, allocations: 10.88 MB / 0.7938 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002663/1.079, allocations: 2.648 MB / 0.7964 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/1.08, allocations: 251.4 kB / 0.7966 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.723e-06/1.08, allocations: 0 / 0.7966 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.1192/1.199, allocations: 128.7 MB / 0.9223 GB, free: 4.691 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.685152189806104] 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.2099709482863545 1.223463727 0.792845265 Calling exit ...