Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001258, allocations: 112.9 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.536/1.536, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2367/0.2367, allocations: 46.89 MB / 358.1 MB, free: 10.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 75.88 kB / 0.4924 GB, free: 8.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1453, allocations: 65.98 MB / 0.5568 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.0141/0.1594, allocations: 11.78 MB / 0.5683 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009573/0.169, allocations: 3.96 MB / 0.5722 GB, free: 6.141 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002202/0.1712, allocations: 63.88 kB / 0.5722 GB, free: 6.078 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002745/0.1739, allocations: 1.199 MB / 0.5734 GB, free: 4.875 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004859/0.1788, allocations: 1.759 MB / 0.5751 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.1802, allocations: 0.4951 MB / 0.5756 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006449/0.1866, allocations: 4.052 MB / 0.5796 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002979/0.1896, allocations: 1.596 MB / 0.5811 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002328/0.1919, allocations: 1.16 MB / 0.5823 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003141/0.1951, allocations: 1.845 MB / 0.5841 GB, free: 9.918 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006698/0.1957, allocations: 216 kB / 0.5843 GB, free: 9.707 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002423/0.1981, allocations: 1.111 MB / 0.5853 GB, free: 8.594 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001793/0.1999, allocations: 1.616 MB / 0.5869 GB, free: 6.973 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002252/0.2022, allocations: 1.836 MB / 0.5887 GB, free: 5.125 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3565/0.5587, allocations: 6.109 MB / 0.5947 GB, free: 12.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5587, allocations: 0 / 0.5947 GB, free: 12.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.5587, allocations: 1.031 kB / 0.5947 GB, free: 12.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002286/0.5589, allocations: 0 / 0.5947 GB, free: 12.91 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.01356/0.5725, allocations: 4.209 MB / 0.5988 GB, free: 11.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.5725, allocations: 9.094 kB / 0.5988 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01335/0.5859, allocations: 3.216 MB / 0.6019 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006116/0.592, allocations: 2.017 MB / 0.6039 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003128/0.5923, allocations: 187.5 kB / 0.6041 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001934/0.5943, allocations: 336.1 kB / 0.6044 GB, free: 10.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02051/0.6148, allocations: 10.29 MB / 0.6145 GB, free: 8.242 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/0.6149, allocations: 31.7 kB / 0.6145 GB, free: 8.234 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004231/0.6153, allocations: 108.8 kB / 0.6146 GB, free: 8.199 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004198/0.6195, allocations: 2.437 MB / 0.617 GB, free: 7.793 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02055/0.6401, allocations: 9.841 MB / 0.6266 GB, free: 4.875 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05963/0.6997, allocations: 34.49 MB / 0.6603 GB, free: 3.422 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009348/0.709, allocations: 4.154 MB / 0.6643 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003782/0.7128, allocations: 2.025 MB / 0.6663 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001715/0.7145, allocations: 1.309 MB / 0.6676 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.935e-05/0.7146, allocations: 55.38 kB / 0.6676 GB, free: 11.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=236): time 8.636e-06/0.7146, allocations: 0 / 0.6676 GB, free: 11.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=252): time 0.04855/0.7632, allocations: 16.8 MB / 0.684 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001691/0.7649, allocations: 1.62 MB / 0.6856 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005172/0.77, allocations: 2.675 MB / 0.6882 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006951/0.7707, allocations: 60.28 kB / 0.6883 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002519/0.7732, allocations: 2.721 MB / 0.6909 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001641/0.7749, allocations: 0.9669 MB / 0.6919 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003449/0.7783, allocations: 1.11 MB / 0.693 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.7785, allocations: 305.2 kB / 0.6933 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004613/0.7831, allocations: 2.412 MB / 0.6956 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007494/0.7906, allocations: 5.344 MB / 0.7008 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01311/0.8037, allocations: 8.431 MB / 0.7091 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000139/0.8038, allocations: 28 kB / 0.7091 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=734) (initialization): time 0.02731/0.8312, allocations: 9.705 MB / 0.7186 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.8313, allocations: 48 kB / 0.7186 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01581/0.8471, allocations: 4.88 MB / 0.7234 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01247/0.8596, allocations: 2.464 MB / 0.7258 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004822/0.8644, allocations: 1.252 MB / 0.727 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.8747, allocations: 6.39 MB / 0.7333 GB, free: 5.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005147/0.8799, allocations: 395.7 kB / 0.7336 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001353/0.8812, allocations: 314.2 kB / 0.7339 GB, free: 5.004 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 26 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (672): * Single equations (assignments): 660 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005621/0.8868, allocations: 2.032 MB / 0.7359 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/0.8879, allocations: 282.1 kB / 0.7362 GB, free: 2.684 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/0.9008, allocations: 5.313 MB / 0.7414 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01403/0.9149, allocations: 4.6 MB / 0.7459 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-05/0.9149, allocations: 0 / 0.7459 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-05/0.915, allocations: 7.969 kB / 0.7459 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05231/0.9673, allocations: 14.27 MB / 0.7598 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.971e-05/0.9674, allocations: 8.969 kB / 0.7598 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004246/0.9716, allocations: 407.3 kB / 0.7602 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00939/0.981, allocations: 1.236 MB / 0.7614 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007902/0.9818, allocations: 63.97 kB / 0.7615 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01008/0.9919, allocations: 4.761 MB / 0.7661 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002082/0.994, allocations: 1.554 MB / 0.7676 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02749/1.021, allocations: 8.009 MB / 0.7755 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001577/1.023, allocations: 343.2 kB / 0.7758 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001423/1.024, allocations: 51.98 kB / 0.7758 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003696/1.028, allocations: 195.6 kB / 0.776 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009648/1.029, allocations: 164.8 kB / 0.7762 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005543/1.03, allocations: 77.89 kB / 0.7763 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005567/1.035, allocations: 1.647 MB / 0.7779 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.11e-07/1.035, allocations: 0 / 0.7779 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009972/1.045, allocations: 1.027 MB / 0.7789 GB, free: 6.098 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (192): * Single equations (assignments): 182 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001321/1.047, allocations: 193.6 kB / 0.7791 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0219/1.068, allocations: 6.205 MB / 0.7851 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.123e-05/1.068, allocations: 0 / 0.7851 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01037/1.079, allocations: 2.709 MB / 0.7878 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005312/1.084, allocations: 389.7 kB / 0.7881 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03364/1.118, allocations: 10.78 MB / 0.7987 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006935/1.125, allocations: 3.187 MB / 0.8018 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002304/1.127, allocations: 263.4 kB / 0.802 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of SimCode: time 1.894e-06/1.127, allocations: 0 / 0.802 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of Templates: time 0.4907/1.618, allocations: 128.7 MB / 0.9277 GB, free: 178.6 MB / 0.6544 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion.makefile [Timeout 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.o OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.cpp In file included from OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgLoopMain.cpp:24: ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:56: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp107 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:118: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp107 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:178: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp107 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:239: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp107 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:301: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp107 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:362: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp107 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:423: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp107 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:483: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp107 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:56: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp108 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:118: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp108 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:178: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp108 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:239: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp108 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:301: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp108 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:362: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp108 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:423: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp108 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:483: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp108 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:78:56: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp109 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(2)) + (((-_system->_freeMotion_P_Q_(2)) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(4))))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:78:117: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp109 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(2)) + (((-_system->_freeMotion_P_Q_(2)) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(4))))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:78:181: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp109 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(2)) + (((-_system->_freeMotion_P_Q_(2)) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(4))))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 6.232038763118908] 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.626711878925562 1.635651457 1.074631574 Calling exit ...