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.001304/0.001304, allocations: 118.2 kB / 19.17 MB, free: 3.852 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.001394/0.001394, allocations: 205 kB / 22.12 MB, free: 0.9062 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.485/1.485, allocations: 230.3 MB / 255.2 MB, free: 15.2 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.2374/0.2374, allocations: 46.92 MB / 358.2 MB, free: 10.5 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.00258/0.00258, allocations: 76.2 kB / 0.4925 GB, free: 7.762 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1464, allocations: 66.02 MB / 0.557 GB, free: 5.613 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01412/0.1605, allocations: 11.76 MB / 0.5685 GB, free: 9.785 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009828/0.1703, allocations: 3.96 MB / 0.5723 GB, free: 5.809 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.172, allocations: 67.75 kB / 0.5724 GB, free: 5.742 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002973/0.175, allocations: 1.202 MB / 0.5736 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005259/0.1803, allocations: 1.756 MB / 0.5753 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.1816, allocations: 0.4912 MB / 0.5758 GB, free: 2.281 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005517/0.1871, allocations: 4.06 MB / 0.5797 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/0.1892, allocations: 1.592 MB / 0.5813 GB, free: 12.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001687/0.1908, allocations: 1.187 MB / 0.5824 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002222/0.1931, allocations: 1.838 MB / 0.5842 GB, free: 9.566 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000393/0.1935, allocations: 223.9 kB / 0.5845 GB, free: 9.348 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002018/0.1955, allocations: 1.119 MB / 0.5855 GB, free: 8.227 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001523/0.197, allocations: 1.601 MB / 0.5871 GB, free: 6.621 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001805/0.1988, allocations: 1.84 MB / 0.5889 GB, free: 4.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3433/0.5421, allocations: 6.107 MB / 0.5949 GB, free: 12.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.5421, allocations: 1.578 kB / 0.5949 GB, free: 12.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5422, allocations: 0 / 0.5949 GB, free: 12.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002322/0.5424, allocations: 0 / 0.5949 GB, free: 12.87 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.01089/0.5533, allocations: 4.218 MB / 0.599 GB, free: 11.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/0.5533, allocations: 8.844 kB / 0.599 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01387/0.5672, allocations: 3.209 MB / 0.6021 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006542/0.5737, allocations: 2.029 MB / 0.6041 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002855/0.574, allocations: 178.2 kB / 0.6043 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001838/0.5759, allocations: 328.6 kB / 0.6046 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01961/0.5955, allocations: 10.29 MB / 0.6147 GB, free: 8.223 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.945e-05/0.5956, allocations: 32.58 kB / 0.6147 GB, free: 8.215 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004099/0.596, allocations: 110 kB / 0.6148 GB, free: 8.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004199/0.6002, allocations: 2.44 MB / 0.6172 GB, free: 7.777 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01901/0.6192, allocations: 9.845 MB / 0.6268 GB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05859/0.6778, allocations: 34.48 MB / 0.6605 GB, free: 3.227 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008997/0.6868, allocations: 4.16 MB / 0.6645 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003341/0.6901, allocations: 2.025 MB / 0.6665 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001423/0.6915, allocations: 1.313 MB / 0.6678 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.713e-05/0.6916, allocations: 55.38 kB / 0.6678 GB, free: 11.24 MB / 494.1 MB Notification: Performance of pre-optimization done (n=236): time 5.41e-06/0.6916, allocations: 0 / 0.6678 GB, free: 11.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=252): time 0.05758/0.7492, allocations: 16.79 MB / 0.6842 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001796/0.751, allocations: 1.612 MB / 0.6858 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004139/0.7551, allocations: 2.687 MB / 0.6884 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006263/0.7558, allocations: 56.05 kB / 0.6885 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002367/0.7581, allocations: 2.72 MB / 0.6911 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001475/0.7596, allocations: 0.9681 MB / 0.6921 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001731/0.7613, allocations: 1.104 MB / 0.6932 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.7615, allocations: 309.1 kB / 0.6935 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003929/0.7654, allocations: 2.414 MB / 0.6958 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006755/0.7722, allocations: 5.337 MB / 0.701 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01203/0.7842, allocations: 8.432 MB / 0.7093 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001124/0.7843, allocations: 32 kB / 0.7093 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=734) (initialization): time 0.02519/0.8095, allocations: 9.707 MB / 0.7188 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.71e-05/0.8096, allocations: 48 kB / 0.7188 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0152/0.8248, allocations: 4.88 MB / 0.7236 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01259/0.8374, allocations: 2.456 MB / 0.726 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00466/0.842, allocations: 1.259 MB / 0.7272 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.8523, allocations: 6.389 MB / 0.7334 GB, free: 5.484 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004432/0.8568, allocations: 385.8 kB / 0.7338 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009799/0.8577, allocations: 316 kB / 0.7341 GB, free: 4.801 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.003941/0.8617, allocations: 2.031 MB / 0.7361 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006548/0.8623, allocations: 282.1 kB / 0.7364 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/0.8738, allocations: 5.311 MB / 0.7416 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009805/0.8836, allocations: 4.596 MB / 0.746 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/0.8836, allocations: 4 kB / 0.746 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.182e-05/0.8837, allocations: 14.58 kB / 0.7461 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02787/0.9115, allocations: 14.27 MB / 0.76 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/0.9115, allocations: 15.98 kB / 0.76 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001881/0.9134, allocations: 406.5 kB / 0.7604 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004903/0.9183, allocations: 1.244 MB / 0.7616 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003684/0.9187, allocations: 59.97 kB / 0.7617 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005883/0.9246, allocations: 4.747 MB / 0.7663 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001339/0.9259, allocations: 1.559 MB / 0.7678 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/0.9411, allocations: 8.006 MB / 0.7757 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007929/0.9419, allocations: 343.2 kB / 0.776 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004615/0.9424, allocations: 58.64 kB / 0.776 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.9439, allocations: 195.6 kB / 0.7762 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003921/0.9443, allocations: 164.1 kB / 0.7764 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/0.9445, allocations: 79.97 kB / 0.7765 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00248/0.947, allocations: 1.64 MB / 0.7781 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.947, allocations: 0 / 0.7781 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004108/0.9511, allocations: 1.031 MB / 0.7791 GB, free: 5.891 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.0004806/0.9515, allocations: 200.2 kB / 0.7793 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01088/0.9624, allocations: 6.191 MB / 0.7853 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.9624, allocations: 4 kB / 0.7853 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.005125/0.9676, allocations: 2.716 MB / 0.788 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/0.9698, allocations: 384.4 kB / 0.7883 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/0.9871, allocations: 10.78 MB / 0.7989 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003784/0.9909, allocations: 3.179 MB / 0.802 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/0.9921, allocations: 259.4 kB / 0.8022 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of SimCode: time 7.82e-07/0.9921, allocations: 0 / 0.8022 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of Templates: time 0.4213/1.413, allocations: 128.7 MB / 0.9279 GB, free: 143.8 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion.makefile [Timeout 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.o OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.cpp In file included from OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgLoopMain.cpp:24: ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:56: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp107 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:118: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp107 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:178: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp107 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:239: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp107 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:301: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp107 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:362: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp107 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:423: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp107 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:483: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp107 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:56: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp108 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:118: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp108 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:178: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp108 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:239: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp108 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:301: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp108 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:362: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp108 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:423: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp108 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:483: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp108 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:78:56: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp109 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(2)) + (((-_system->_freeMotion_P_Q_(2)) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(4))))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:78:117: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp109 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(2)) + (((-_system->_freeMotion_P_Q_(2)) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(4))))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:78:181: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp109 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(2)) + (((-_system->_freeMotion_P_Q_(2)) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(4))))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.925616150008864] 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.4218414640054107 1.430553199 0.886225384 Calling exit ...