Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques") [: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.002463/0.002462, allocations: 170.3 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.704/1.704, 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.001252/0.001252, allocations: 89.08 kB / 261.8 MB, free: 13.64 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.2553/0.2553, allocations: 43.5 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.017e-06/9.157e-06, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2803, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1876/0.468, allocations: 105.2 MB / 0.5681 GB, free: 9.871 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.4684, allocations: 79.95 kB / 0.5681 GB, free: 9.793 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.8773/1.346, allocations: 139.1 MB / 0.7039 GB, free: 58.28 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004939/1.346, allocations: 139.8 kB / 0.7041 GB, free: 58.27 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: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.02829/1.375, allocations: 6.778 MB / 0.7107 GB, free: 55.12 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/1.375, allocations: 11.69 kB / 0.7107 GB, free: 55.12 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06547/1.44, allocations: 9.127 MB / 0.7196 GB, free: 50.91 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0322/1.472, allocations: 8.938 MB / 0.7284 GB, free: 48.14 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004711/1.473, allocations: 231.4 kB / 0.7286 GB, free: 48.14 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003827/1.477, allocations: 424.3 kB / 0.729 GB, free: 48.13 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.029/1.506, allocations: 9.775 MB / 0.7385 GB, free: 47.18 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04108/1.547, allocations: 14.92 MB / 0.7531 GB, free: 32.26 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005161/1.547, allocations: 99.11 kB / 0.7532 GB, free: 32.16 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003143/1.551, allocations: 47.94 kB / 0.7532 GB, free: 32.12 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003093/1.554, allocations: 1.647 MB / 0.7548 GB, free: 30.48 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1216/1.675, allocations: 71.21 MB / 0.8244 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01202/1.687, allocations: 5.068 MB / 0.8293 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1855/1.873, allocations: 3.421 MB / 0.8327 GB, free: 182.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02609/1.899, allocations: 9.797 MB / 0.8422 GB, free: 180.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.601e-05/1.899, allocations: 63.22 kB / 0.8423 GB, free: 180.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=243): time 6.171e-06/1.899, allocations: 0 / 0.8423 GB, free: 180.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=263): time 0.07833/1.978, allocations: 23.32 MB / 0.8651 GB, free: 175.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/1.978, allocations: 257.6 kB / 0.8653 GB, free: 175.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01385/1.992, allocations: 5.009 MB / 0.8702 GB, free: 174.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007758/1.993, allocations: 25.7 kB / 0.8702 GB, free: 174.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00359/1.996, allocations: 4.488 MB / 0.8746 GB, free: 171 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001889/1.998, allocations: 0.9931 MB / 0.8756 GB, free: 170.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/1.999, allocations: 1.031 kB / 0.8756 GB, free: 170.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000738/2, allocations: 0.6902 MB / 0.8763 GB, free: 169.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007736/2.008, allocations: 2.862 MB / 0.8791 GB, free: 168.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01126/2.019, allocations: 8.339 MB / 0.8872 GB, free: 160.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/2.03, allocations: 4.862 MB / 0.892 GB, free: 159 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001835/2.03, allocations: 63.09 kB / 0.892 GB, free: 159 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1163) (initialization): time 0.02998/2.06, allocations: 10.32 MB / 0.9021 GB, free: 156 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/2.061, allocations: 5.75 kB / 0.9021 GB, free: 156 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004394/2.061, allocations: 194.9 kB / 0.9023 GB, free: 156 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003491/2.065, allocations: 0.8221 MB / 0.9031 GB, free: 155.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01444/2.079, allocations: 2.053 MB / 0.9051 GB, free: 155.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01451/2.094, allocations: 8.102 MB / 0.913 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008959/2.103, allocations: 269.2 kB / 0.9133 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002532/2.105, allocations: 0.5362 MB / 0.9138 GB, free: 150 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 894 * Number of states: 0 () * Number of discrete variables: 57 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1097): * Single equations (assignments): 1091 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003257/2.108, allocations: 0.5211 MB / 0.9143 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001528/2.11, allocations: 0.5163 MB / 0.9148 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01367/2.124, allocations: 4.359 MB / 0.9191 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001112/2.124, allocations: 24 kB / 0.9191 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.951e-05/2.124, allocations: 8 kB / 0.9191 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.594e-05/2.124, allocations: 13.27 kB / 0.9191 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03179/2.156, allocations: 10.15 MB / 0.929 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.934e-05/2.156, allocations: 8 kB / 0.929 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004998/2.161, allocations: 414 kB / 0.9294 GB, free: 137 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002893/2.164, allocations: 0.5245 MB / 0.9299 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007105/2.165, allocations: 10.58 kB / 0.9299 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/2.176, allocations: 7.145 MB / 0.9369 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/2.176, allocations: 0 / 0.9369 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01869/2.195, allocations: 7.812 MB / 0.9445 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003666/2.199, allocations: 0.8871 MB / 0.9454 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002023/2.201, allocations: 14.41 kB / 0.9454 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005081/2.206, allocations: 96.12 kB / 0.9455 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009294/2.207, allocations: 121.5 kB / 0.9456 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003155/2.207, allocations: 67.56 kB / 0.9457 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.009233/2.217, allocations: 3.409 MB / 0.949 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01196/2.229, allocations: 1.331 MB / 0.9503 GB, free: 117.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 209 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001001/2.23, allocations: 160.8 kB / 0.9505 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01632/2.246, allocations: 7.094 MB / 0.9574 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/2.246, allocations: 0 / 0.9574 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005363/2.251, allocations: 2.398 MB / 0.9597 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00569/2.257, allocations: 0.5822 MB / 0.9603 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04224/2.299, allocations: 13.17 MB / 0.9732 GB, free: 96.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01664/2.316, allocations: 5.646 MB / 0.9787 GB, free: 91.96 MB / 0.5105 GB Notification: Performance of SimCode: time 1.533e-06/2.316, allocations: 0 / 0.9787 GB, free: 91.96 MB / 0.5105 GB Notification: Performance of Templates: time 0.4999/2.816, allocations: 173.9 MB / 1.148 GB, free: 113.8 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches