Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.001329, allocations: 183.4 kB / 8.52 MB, free: 0.4922 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 221.4 MB / 230.3 MB, free: 13.5 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009475/0.0009476, allocations: 91.61 kB / 281.2 MB, free: 10.53 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1777/0.1777, allocations: 44.14 MB / 376.1 MB, free: 11.68 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 6.222e-06/6.242e-06, allocations: 0 / 444 MB, free: 54.39 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1077, allocations: 61.91 MB / 0.4941 GB, free: 8.41 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3051/0.4129, allocations: 102.3 MB / 0.594 GB, free: 12.46 MB / 418.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.4131, allocations: 70.75 kB / 0.594 GB, free: 12.39 MB / 418.8 MB Notification: Performance of FrontEnd: time 0.1534/0.5665, allocations: 57.6 MB / 0.6503 GB, free: 2.336 MB / 466.8 MB Notification: Performance of Transformations before backend: time 7.821e-05/0.5666, allocations: 44 kB / 0.6503 GB, free: 2.293 MB / 466.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.004617/0.5712, allocations: 2.556 MB / 0.6528 GB, free: 15.68 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.5713, allocations: 15.97 kB / 0.6528 GB, free: 15.66 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00749/0.5788, allocations: 1.572 MB / 0.6544 GB, free: 14.09 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008661/0.5874, allocations: 3.255 MB / 0.6575 GB, free: 10.78 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.5876, allocations: 80 kB / 0.6576 GB, free: 10.7 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006531/0.5882, allocations: 139.9 kB / 0.6578 GB, free: 10.57 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006399/0.5946, allocations: 4.096 MB / 0.6618 GB, free: 6.461 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009937/0.6046, allocations: 6.383 MB / 0.668 GB, free: 15.27 MB / 498.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001091/0.6048, allocations: 51.61 kB / 0.668 GB, free: 15.22 MB / 498.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003511/0.6051, allocations: 31.84 kB / 0.6681 GB, free: 15.19 MB / 498.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001018/0.6061, allocations: 0.7654 MB / 0.6688 GB, free: 14.42 MB / 498.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1808/0.787, allocations: 32.81 MB / 0.7009 GB, free: 178.1 MB / 0.5027 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.789, allocations: 2.069 MB / 0.7029 GB, free: 177.5 MB / 0.5027 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.7902, allocations: 1.136 MB / 0.704 GB, free: 177.4 MB / 0.5027 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00501/0.7952, allocations: 3.815 MB / 0.7077 GB, free: 176.1 MB / 0.5027 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.7953, allocations: 41.92 kB / 0.7078 GB, free: 176 MB / 0.5027 GB Notification: Performance of pre-optimization done (n=94): time 3.556e-06/0.7953, allocations: 2.969 kB / 0.7078 GB, free: 176 MB / 0.5027 GB Notification: Performance of matching and sorting (n=106): time 0.01012/0.8054, allocations: 6.172 MB / 0.7138 GB, free: 174.7 MB / 0.5027 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.8055, allocations: 136.5 kB / 0.7139 GB, free: 174.6 MB / 0.5027 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/0.8079, allocations: 2.206 MB / 0.7161 GB, free: 174.3 MB / 0.5027 GB Notification: Performance of collectPreVariables (initialization): time 6.751e-05/0.808, allocations: 28.66 kB / 0.7161 GB, free: 174.3 MB / 0.5027 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008219/0.8088, allocations: 2.077 MB / 0.7181 GB, free: 173.1 MB / 0.5027 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/0.8091, allocations: 426.1 kB / 0.7185 GB, free: 172.9 MB / 0.5027 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.8092, allocations: 0 / 0.7185 GB, free: 172.9 MB / 0.5027 GB Notification: Performance of setup shared object (initialization): time 0.0002135/0.8094, allocations: 0.547 MB / 0.7191 GB, free: 172.5 MB / 0.5027 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.8109, allocations: 1.328 MB / 0.7204 GB, free: 172.5 MB / 0.5027 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002539/0.8134, allocations: 4.294 MB / 0.7246 GB, free: 168.6 MB / 0.5027 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002617/0.8161, allocations: 2.394 MB / 0.7269 GB, free: 168.6 MB / 0.5027 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.701e-05/0.8161, allocations: 32.5 kB / 0.7269 GB, free: 168.6 MB / 0.5027 GB Notification: Performance of matching and sorting (n=593) (initialization): time 0.007363/0.8235, allocations: 4.881 MB / 0.7317 GB, free: 168.2 MB / 0.5027 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.8235, allocations: 11.91 kB / 0.7317 GB, free: 168.2 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-05/0.8236, allocations: 107.6 kB / 0.7318 GB, free: 168.2 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001175/0.8237, allocations: 158.2 kB / 0.732 GB, free: 168.2 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003263/0.827, allocations: 1.092 MB / 0.733 GB, free: 168.1 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-05/0.8271, allocations: 211.1 kB / 0.7332 GB, free: 168 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002951/0.8301, allocations: 180.6 kB / 0.7334 GB, free: 168 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003239/0.8304, allocations: 293.9 kB / 0.7337 GB, free: 168 MB / 0.5027 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * Number of states: 0 () * Number of discrete variables: 18 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (569): * Single equations (assignments): 566 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004437/0.8309, allocations: 365.3 kB / 0.734 GB, free: 167.6 MB / 0.5027 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002899/0.8312, allocations: 212.7 kB / 0.7342 GB, free: 167.5 MB / 0.5027 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/0.8328, allocations: 1.176 MB / 0.7354 GB, free: 167.1 MB / 0.5027 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.758e-05/0.8329, allocations: 11.5 kB / 0.7354 GB, free: 167.1 MB / 0.5027 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.8329, allocations: 2.75 kB / 0.7354 GB, free: 167.1 MB / 0.5027 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.8329, allocations: 10.89 kB / 0.7354 GB, free: 167.1 MB / 0.5027 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005573/0.8385, allocations: 3.971 MB / 0.7393 GB, free: 165.6 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.8385, allocations: 7.875 kB / 0.7393 GB, free: 165.6 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008866/0.8394, allocations: 185 kB / 0.7395 GB, free: 165.6 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.509e-05/0.8394, allocations: 14.91 kB / 0.7395 GB, free: 165.6 MB / 0.5027 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.981e-05/0.8395, allocations: 15.16 kB / 0.7395 GB, free: 165.6 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.029e-05/0.8395, allocations: 15.66 kB / 0.7395 GB, free: 165.6 MB / 0.5027 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.8395, allocations: 11.56 kB / 0.7395 GB, free: 165.6 MB / 0.5027 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002306/0.8418, allocations: 2.653 MB / 0.7421 GB, free: 163.8 MB / 0.5027 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004561/0.8423, allocations: 284 kB / 0.7424 GB, free: 163.5 MB / 0.5027 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002778/0.8426, allocations: 7.531 kB / 0.7424 GB, free: 163.5 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009626/0.8435, allocations: 47.95 kB / 0.7424 GB, free: 163.5 MB / 0.5027 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.8437, allocations: 64.95 kB / 0.7425 GB, free: 163.5 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.368e-05/0.8438, allocations: 34.28 kB / 0.7425 GB, free: 163.5 MB / 0.5027 GB Notification: Performance of sort global known variables: time 0.001819/0.8456, allocations: 1.46 MB / 0.744 GB, free: 163 MB / 0.5027 GB Notification: Performance of remove unused functions: time 0.003592/0.8492, allocations: 0.5359 MB / 0.7445 GB, free: 162.9 MB / 0.5027 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003458/0.8496, allocations: 153.5 kB / 0.7446 GB, free: 162.8 MB / 0.5027 GB Notification: Performance of simCode: created initialization part: time 0.004781/0.8543, allocations: 3.052 MB / 0.7476 GB, free: 161.9 MB / 0.5027 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.8544, allocations: 1.406 kB / 0.7476 GB, free: 161.9 MB / 0.5027 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.8554, allocations: 0.7585 MB / 0.7483 GB, free: 161.7 MB / 0.5027 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.8566, allocations: 215.1 kB / 0.7485 GB, free: 161.6 MB / 0.5027 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009318/0.8659, allocations: 4.664 MB / 0.7531 GB, free: 159.8 MB / 0.5027 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002579/0.8685, allocations: 2.458 MB / 0.7555 GB, free: 157.9 MB / 0.5027 GB Notification: Performance of SimCode: time 1.302e-06/0.8686, allocations: 0 / 0.7555 GB, free: 157.9 MB / 0.5027 GB Notification: Performance of Templates: time 0.06484/0.9334, allocations: 21.17 MB / 0.7762 GB, free: 145.1 MB / 0.5027 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches