Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.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.Torque,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.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,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.Torque") [: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.003216/0.003223, allocations: 171.5 kB / 8.149 MB, free: 2.223 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.691/1.691, 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.00124/0.00124, allocations: 94.47 kB / 261.8 MB, free: 13.63 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.2588/0.2588, allocations: 43.5 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.03e-05/1.046e-05, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2908, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/0.4803, allocations: 106.8 MB / 0.5697 GB, free: 8.219 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.4806, allocations: 87.39 kB / 0.5698 GB, free: 8.137 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.7502/1.231, allocations: 128.2 MB / 0.6949 GB, free: 99.86 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005324/1.231, allocations: 128.7 kB / 0.6951 GB, free: 99.86 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: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.03296/1.264, allocations: 6.63 MB / 0.7015 GB, free: 96.61 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/1.264, allocations: 8.672 kB / 0.7016 GB, free: 96.61 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05329/1.318, allocations: 6.771 MB / 0.7082 GB, free: 93.53 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03029/1.348, allocations: 7.536 MB / 0.7155 GB, free: 89.41 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00054/1.349, allocations: 221.8 kB / 0.7157 GB, free: 89.41 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003859/1.353, allocations: 395.3 kB / 0.7161 GB, free: 89.4 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0285/1.381, allocations: 9.55 MB / 0.7254 GB, free: 79.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05236/1.434, allocations: 14.61 MB / 0.7397 GB, free: 63.82 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006487/1.434, allocations: 91.12 kB / 0.7398 GB, free: 63.73 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004275/1.439, allocations: 44 kB / 0.7398 GB, free: 63.69 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004335/1.443, allocations: 1.658 MB / 0.7415 GB, free: 62.03 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1188/1.562, allocations: 71.12 MB / 0.8109 GB, free: 5.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01255/1.574, allocations: 5.534 MB / 0.8163 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008763/1.583, allocations: 3.823 MB / 0.82 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03632/1.62, allocations: 10.13 MB / 0.8299 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.628e-05/1.62, allocations: 64.33 kB / 0.83 GB, free: 1.391 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=254): time 9.789e-06/1.62, allocations: 0 / 0.83 GB, free: 1.391 MB / 0.4948 GB Notification: Performance of matching and sorting (n=298): time 0.2936/1.913, allocations: 25.61 MB / 0.855 GB, free: 170.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.917e-05/1.914, allocations: 245.2 kB / 0.8552 GB, free: 170.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01049/1.924, allocations: 4.909 MB / 0.86 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008568/1.925, allocations: 25.7 kB / 0.8601 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003102/1.928, allocations: 4.399 MB / 0.8644 GB, free: 167.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00189/1.93, allocations: 1.113 MB / 0.8654 GB, free: 166.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008748/1.931, allocations: 0 / 0.8654 GB, free: 166.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005738/1.931, allocations: 0.705 MB / 0.8661 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008402/1.94, allocations: 3.502 MB / 0.8696 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01244/1.952, allocations: 8.956 MB / 0.8783 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01244/1.965, allocations: 5.561 MB / 0.8837 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001511/1.965, allocations: 58.69 kB / 0.8838 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1217) (initialization): time 0.03781/2.003, allocations: 12.38 MB / 0.8959 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/2.003, allocations: 11.55 kB / 0.8959 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000351/2.003, allocations: 194.9 kB / 0.8961 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007689/2.011, allocations: 1.579 MB / 0.8976 GB, free: 152.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01491/2.026, allocations: 2.158 MB / 0.8997 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02077/2.047, allocations: 10.45 MB / 0.9099 GB, free: 143 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009271/2.056, allocations: 299 kB / 0.9102 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001594/2.058, allocations: 0.5564 MB / 0.9108 GB, free: 142.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 889 * Number of states: 0 () * Number of discrete variables: 63 (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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[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 (1145): * Single equations (assignments): 1140 * 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.001817/2.06, allocations: 0.5096 MB / 0.9113 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001369/2.061, allocations: 0.5168 MB / 0.9118 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01861/2.08, allocations: 6.356 MB / 0.918 GB, free: 136 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.203e-05/2.08, allocations: 28 kB / 0.918 GB, free: 136 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.153e-05/2.08, allocations: 8 kB / 0.918 GB, free: 136 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.936e-05/2.08, allocations: 19.92 kB / 0.918 GB, free: 136 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03719/2.117, allocations: 13.24 MB / 0.931 GB, free: 125.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.418e-05/2.117, allocations: 2 kB / 0.931 GB, free: 125.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005375/2.122, allocations: 488.7 kB / 0.9314 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006575/2.129, allocations: 1.311 MB / 0.9327 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004079/2.129, allocations: 12 kB / 0.9327 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02064/2.15, allocations: 9.601 MB / 0.9421 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/2.15, allocations: 0 / 0.9421 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02499/2.175, allocations: 10.7 MB / 0.9525 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003849/2.179, allocations: 1.016 MB / 0.9535 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001409/2.181, allocations: 4.797 kB / 0.9535 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004518/2.185, allocations: 111.7 kB / 0.9536 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000614/2.186, allocations: 141.4 kB / 0.9538 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003695/2.186, allocations: 70.2 kB / 0.9538 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.00757/2.194, allocations: 3.32 MB / 0.9571 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01067/2.204, allocations: 1.403 MB / 0.9585 GB, free: 100.3 MB / 0.4948 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 (241): * Single equations (assignments): 236 * 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.0008171/2.205, allocations: 158.8 kB / 0.9586 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01843/2.224, allocations: 8.441 MB / 0.9668 GB, free: 92.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/2.224, allocations: 0 / 0.9668 GB, free: 92.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008963/2.233, allocations: 3.2 MB / 0.97 GB, free: 89.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00521/2.238, allocations: 0.5129 MB / 0.9705 GB, free: 89.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04255/2.281, allocations: 13.81 MB / 0.984 GB, free: 76.85 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01522/2.296, allocations: 5.468 MB / 0.9893 GB, free: 72.23 MB / 0.4948 GB Notification: Performance of SimCode: time 2.094e-06/2.296, allocations: 4 kB / 0.9893 GB, free: 72.22 MB / 0.4948 GB Notification: Performance of Templates: time 0.4825/2.778, allocations: 145.6 MB / 1.132 GB, free: 100.8 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque/Torque.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches