Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001619/0.001623, allocations: 180.6 kB / 8.152 MB, free: 2.18 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001342/0.001342, allocations: 100 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2598/0.2598, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.115e-06/8.265e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2697, allocations: 58.85 MB / 476.6 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1926/0.4623, allocations: 109.4 MB / 0.5722 GB, free: 5.641 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.4627, allocations: 71.97 kB / 0.5723 GB, free: 5.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.8433/1.306, allocations: 144.3 MB / 0.7132 GB, free: 73.18 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004553/1.307, allocations: 148 kB / 0.7133 GB, free: 73.03 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.0311/1.338, allocations: 7.355 MB / 0.7205 GB, free: 66.27 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/1.338, allocations: 8.031 kB / 0.7205 GB, free: 66.26 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0511/1.389, allocations: 6.941 MB / 0.7273 GB, free: 59.94 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02907/1.418, allocations: 7.983 MB / 0.7351 GB, free: 53.74 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005036/1.419, allocations: 252 kB / 0.7353 GB, free: 53.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00408/1.423, allocations: 461.4 kB / 0.7358 GB, free: 53.05 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02958/1.452, allocations: 11.31 MB / 0.7468 GB, free: 43.23 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04453/1.497, allocations: 16.76 MB / 0.7632 GB, free: 24.99 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004475/1.497, allocations: 99.11 kB / 0.7633 GB, free: 24.89 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00346/1.501, allocations: 44 kB / 0.7633 GB, free: 24.85 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003799/1.505, allocations: 1.953 MB / 0.7652 GB, free: 22.89 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3677/1.872, allocations: 79.11 MB / 0.8425 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0134/1.886, allocations: 7.078 MB / 0.8494 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009234/1.895, allocations: 4.695 MB / 0.854 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03382/1.929, allocations: 13.21 MB / 0.8669 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.612e-05/1.929, allocations: 67.84 kB / 0.8669 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=310): time 7.384e-06/1.929, allocations: 0 / 0.8669 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=352): time 0.1067/2.036, allocations: 29.43 MB / 0.8957 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.675e-05/2.036, allocations: 244.3 kB / 0.8959 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01381/2.05, allocations: 5.213 MB / 0.901 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001004/2.051, allocations: 25.7 kB / 0.901 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003755/2.055, allocations: 4.896 MB / 0.9058 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002407/2.057, allocations: 1.284 MB / 0.9071 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00151/2.059, allocations: 2.875 kB / 0.9071 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008752/2.059, allocations: 0.7477 MB / 0.9078 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0111/2.071, allocations: 3.999 MB / 0.9117 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01495/2.086, allocations: 9.769 MB / 0.9212 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01512/2.101, allocations: 6.212 MB / 0.9273 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003612/2.101, allocations: 59.5 kB / 0.9274 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1336) (initialization): time 0.04139/2.143, allocations: 13.71 MB / 0.9407 GB, free: 90.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/2.143, allocations: 4 kB / 0.9407 GB, free: 90.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003236/2.143, allocations: 204 kB / 0.9409 GB, free: 90.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007236/2.15, allocations: 1.592 MB / 0.9425 GB, free: 89.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01716/2.167, allocations: 2.429 MB / 0.9449 GB, free: 86.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02129/2.189, allocations: 10.51 MB / 0.9551 GB, free: 77.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01092/2.2, allocations: 325 kB / 0.9554 GB, free: 77.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002773/2.203, allocations: 0.5977 MB / 0.956 GB, free: 76.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 937 * Number of states: 0 () * Number of discrete variables: 69 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1264): * Single equations (assignments): 1259 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002842/2.205, allocations: 0.5544 MB / 0.9566 GB, free: 76.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001739/2.207, allocations: 0.5437 MB / 0.9571 GB, free: 75.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02306/2.23, allocations: 7.314 MB / 0.9642 GB, free: 69.56 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001324/2.23, allocations: 36 kB / 0.9643 GB, free: 69.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.518e-05/2.231, allocations: 8 kB / 0.9643 GB, free: 69.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-05/2.231, allocations: 14.3 kB / 0.9643 GB, free: 69.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04734/2.278, allocations: 15.3 MB / 0.9792 GB, free: 57.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.134e-05/2.278, allocations: 4 kB / 0.9793 GB, free: 57.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007257/2.285, allocations: 0.6183 MB / 0.9799 GB, free: 56.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006945/2.292, allocations: 1.319 MB / 0.9811 GB, free: 55.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001022/2.293, allocations: 10.66 kB / 0.9812 GB, free: 55.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02182/2.315, allocations: 9.654 MB / 0.9906 GB, free: 46.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/2.315, allocations: 4 kB / 0.9906 GB, free: 46.89 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03112/2.346, allocations: 12.29 MB / 1.003 GB, free: 36.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004528/2.351, allocations: 1.14 MB / 1.004 GB, free: 34.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001915/2.353, allocations: 4.609 kB / 1.004 GB, free: 34.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005552/2.359, allocations: 134.7 kB / 1.004 GB, free: 34.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008309/2.359, allocations: 156.1 kB / 1.004 GB, free: 34.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004345/2.36, allocations: 90.94 kB / 1.004 GB, free: 34.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.008571/2.368, allocations: 3.508 MB / 1.007 GB, free: 31.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01248/2.381, allocations: 1.581 MB / 1.009 GB, free: 30.07 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 291 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001229/2.382, allocations: 167.6 kB / 1.009 GB, free: 29.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02269/2.405, allocations: 9.558 MB / 1.019 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/2.405, allocations: 0 / 1.019 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01047/2.416, allocations: 3.664 MB / 1.022 GB, free: 17.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006079/2.422, allocations: 0.5437 MB / 1.023 GB, free: 17 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05421/2.476, allocations: 15.68 MB / 1.038 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2274/2.703, allocations: 6.113 MB / 1.044 GB, free: 154.2 MB / 0.5105 GB Notification: Performance of SimCode: time 3.546e-06/2.703, allocations: 0 / 1.044 GB, free: 154.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.2873/2.991, allocations: 163.6 MB / 1.204 GB, free: 56.7 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForcesAndTorques/ForcesAndTorques.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches