Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") [: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 3.2.3+maint.om/package.mo): time 0.0009563/0.0009565, allocations: 187.5 kB / 7.806 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9886/0.9886, allocations: 205.2 MB / 213.4 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000816/0.0008157, allocations: 90.88 kB / 261.4 MB, free: 13.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1479/0.1479, allocations: 43.49 MB / 352.8 MB, free: 1.996 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.799e-06/4.819e-06, allocations: 0 / 417.7 MB, free: 40.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.218, allocations: 58.85 MB / 476.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.108/0.326, allocations: 101.3 MB / 0.5643 GB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.3263, allocations: 79.95 kB / 0.5644 GB, free: 13.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1232/0.4495, allocations: 54.97 MB / 0.6181 GB, free: 6.102 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.99e-05/0.4496, allocations: 56 kB / 0.6182 GB, free: 6.047 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.003649/0.4532, allocations: 2.677 MB / 0.6208 GB, free: 3.312 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.4533, allocations: 12.03 kB / 0.6208 GB, free: 3.301 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006306/0.4596, allocations: 1.513 MB / 0.6223 GB, free: 1.781 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/0.4624, allocations: 1.758 MB / 0.624 GB, free: 15.97 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.947e-05/0.4625, allocations: 96 kB / 0.6241 GB, free: 15.88 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004027/0.4629, allocations: 172 kB / 0.6242 GB, free: 15.71 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005505/0.4684, allocations: 4.567 MB / 0.6287 GB, free: 11.13 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007465/0.4759, allocations: 6.312 MB / 0.6349 GB, free: 4.426 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.607e-05/0.476, allocations: 15.81 kB / 0.6349 GB, free: 4.41 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002971/0.4763, allocations: 15.91 kB / 0.6349 GB, free: 4.395 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006988/0.477, allocations: 0.7397 MB / 0.6356 GB, free: 3.652 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1371/0.6141, allocations: 23.68 MB / 0.6587 GB, free: 164 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.6155, allocations: 1.526 MB / 0.6602 GB, free: 163.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006493/0.6161, allocations: 0.5972 MB / 0.6608 GB, free: 163.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.7e-05/0.6162, allocations: 14.39 kB / 0.6608 GB, free: 163.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.6162, allocations: 46.03 kB / 0.6609 GB, free: 163.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=108): time 3.477e-06/0.6163, allocations: 0 / 0.6609 GB, free: 163.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.003012/0.6193, allocations: 1.568 MB / 0.6624 GB, free: 163.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.6193, allocations: 59.5 kB / 0.6624 GB, free: 163.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/0.621, allocations: 1.682 MB / 0.6641 GB, free: 163 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.623e-05/0.6211, allocations: 29.67 kB / 0.6641 GB, free: 162.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007281/0.6218, allocations: 1.955 MB / 0.666 GB, free: 162 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002246/0.622, allocations: 409.7 kB / 0.6664 GB, free: 161.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.303e-05/0.6221, allocations: 2.625 kB / 0.6664 GB, free: 161.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.6223, allocations: 0.4973 MB / 0.6669 GB, free: 161.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.6234, allocations: 0.9707 MB / 0.6679 GB, free: 161.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.625, allocations: 3.111 MB / 0.6709 GB, free: 158.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/0.6268, allocations: 1.798 MB / 0.6726 GB, free: 158.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.242e-05/0.6268, allocations: 21.81 kB / 0.6727 GB, free: 158.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=459) (initialization): time 0.004066/0.6309, allocations: 3.596 MB / 0.6762 GB, free: 157.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.6309, allocations: 6.781 kB / 0.6762 GB, free: 157.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.433e-05/0.6309, allocations: 77.56 kB / 0.6763 GB, free: 157.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.044e-05/0.631, allocations: 115.8 kB / 0.6764 GB, free: 157.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/0.633, allocations: 0.7895 MB / 0.6771 GB, free: 157.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.681e-05/0.6331, allocations: 152.7 kB / 0.6773 GB, free: 157.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.6348, allocations: 386.1 kB / 0.6777 GB, free: 157.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002081/0.6351, allocations: 216.7 kB / 0.6779 GB, free: 157.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 353 * Number of states: 0 () * Number of discrete variables: 24 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (435): * Single equations (assignments): 432 * 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.0002999/0.6354, allocations: 313 kB / 0.6782 GB, free: 157.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.6355, allocations: 172.4 kB / 0.6783 GB, free: 157.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.6372, allocations: 1.384 MB / 0.6797 GB, free: 156.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.65e-05/0.6372, allocations: 9.25 kB / 0.6797 GB, free: 156.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.6373, allocations: 0 / 0.6797 GB, free: 156.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.056e-06/0.6373, allocations: 3.75 kB / 0.6797 GB, free: 156.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005884/0.6432, allocations: 5.261 MB / 0.6848 GB, free: 154.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/0.6432, allocations: 11.66 kB / 0.6848 GB, free: 154.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005799/0.6438, allocations: 157.8 kB / 0.685 GB, free: 154.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.509e-05/0.6438, allocations: 18.12 kB / 0.685 GB, free: 154.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.647e-05/0.6439, allocations: 23.62 kB / 0.685 GB, free: 154.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-05/0.6439, allocations: 26.25 kB / 0.6851 GB, free: 154.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/0.6439, allocations: 18.97 kB / 0.6851 GB, free: 154.3 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001509/0.6454, allocations: 2.477 MB / 0.6875 GB, free: 152.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002878/0.6457, allocations: 258.9 kB / 0.6877 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002232/0.6459, allocations: 21.58 kB / 0.6878 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005715/0.6465, allocations: 18.7 kB / 0.6878 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.6466, allocations: 74.73 kB / 0.6878 GB, free: 152 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.72e-05/0.6467, allocations: 43.95 kB / 0.6879 GB, free: 152 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001291/0.648, allocations: 1.125 MB / 0.689 GB, free: 151.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002885/0.6509, allocations: 0.7255 MB / 0.6897 GB, free: 151.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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.0002936/0.6512, allocations: 145.5 kB / 0.6898 GB, free: 151.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002981/0.6542, allocations: 2.298 MB / 0.6921 GB, free: 150.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.6542, allocations: 2.188 kB / 0.6921 GB, free: 150.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006886/0.6549, allocations: 0.6211 MB / 0.6927 GB, free: 150.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007591/0.6557, allocations: 177.2 kB / 0.6929 GB, free: 150.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007344/0.663, allocations: 4.9 MB / 0.6976 GB, free: 148.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002447/0.6655, allocations: 2.688 MB / 0.7003 GB, free: 146.6 MB / 474.7 MB Notification: Performance of SimCode: time 2.996e-06/0.6655, allocations: 0 / 0.7003 GB, free: 146.6 MB / 474.7 MB Notification: Performance of Templates: time 0.02772/0.6932, allocations: 16.09 MB / 0.716 GB, free: 137.1 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches