Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [: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.0009781/0.0009781, allocations: 183.1 kB / 8.52 MB, free: 1.859 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.166/1.166, allocations: 221.4 MB / 230.3 MB, free: 7.648 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009872/0.0009872, allocations: 87.11 kB / 281.2 MB, free: 5.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1655/0.1655, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.492e-06/6.532e-06, allocations: 4.219 kB / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.108, allocations: 61.9 MB / 0.4941 GB, free: 1.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2788/0.3868, allocations: 102.1 MB / 0.5938 GB, free: 10.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001893/0.387, allocations: 76.62 kB / 0.5938 GB, free: 10.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1266/0.5136, allocations: 51.77 MB / 0.6444 GB, free: 6.48 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.563e-05/0.5137, allocations: 56 kB / 0.6445 GB, free: 6.426 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.004925/0.5187, allocations: 2.519 MB / 0.6469 GB, free: 3.852 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.5187, allocations: 19.91 kB / 0.6469 GB, free: 3.832 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007136/0.5259, allocations: 1.474 MB / 0.6484 GB, free: 2.352 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003824/0.5297, allocations: 1.672 MB / 0.65 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.293e-05/0.5298, allocations: 88 kB / 0.6501 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005762/0.5304, allocations: 156 kB / 0.6502 GB, free: 404 kB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006366/0.5368, allocations: 4.215 MB / 0.6544 GB, free: 12.17 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008247/0.5451, allocations: 5.841 MB / 0.6601 GB, free: 5.988 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-05/0.5452, allocations: 15.88 kB / 0.6601 GB, free: 5.973 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000297/0.5455, allocations: 8 kB / 0.6601 GB, free: 5.965 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007459/0.5462, allocations: 0.6767 MB / 0.6607 GB, free: 5.289 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02455/0.5708, allocations: 22.22 MB / 0.6824 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.5723, allocations: 1.378 MB / 0.6838 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005928/0.5729, allocations: 0.5028 MB / 0.6843 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.837e-05/0.5729, allocations: 12.64 kB / 0.6843 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.573, allocations: 43.12 kB / 0.6843 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=90): time 2.705e-06/0.573, allocations: 0 / 0.6843 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=90): time 0.002934/0.5759, allocations: 1.398 MB / 0.6857 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.576, allocations: 60.06 kB / 0.6858 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/0.5779, allocations: 1.596 MB / 0.6873 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/0.578, allocations: 25.7 kB / 0.6873 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.5791, allocations: 1.832 MB / 0.6891 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003056/0.5794, allocations: 347.5 kB / 0.6895 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.665e-05/0.5795, allocations: 0 / 0.6895 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002677/0.5798, allocations: 493.6 kB / 0.6899 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.5809, allocations: 0.8652 MB / 0.6908 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002663/0.5836, allocations: 2.871 MB / 0.6936 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001963/0.5855, allocations: 1.622 MB / 0.6952 GB, free: 56 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.76e-05/0.5856, allocations: 27.91 kB / 0.6952 GB, free: 28 kB / 0.4948 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.004925/0.5905, allocations: 3.262 MB / 0.6984 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.5905, allocations: 4 kB / 0.6984 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.571e-05/0.5906, allocations: 72 kB / 0.6984 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.5908, allocations: 108 kB / 0.6985 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00229/0.5931, allocations: 0.7095 MB / 0.6992 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001351/0.5933, allocations: 143.4 kB / 0.6994 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/0.5955, allocations: 363.7 kB / 0.6997 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000286/0.5958, allocations: 200 kB / 0.6999 GB, free: 11.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * Number of states: 0 () * Number of discrete variables: 26 (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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,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 (393): * Single equations (assignments): 390 * 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.0003618/0.5962, allocations: 281.8 kB / 0.7002 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/0.5964, allocations: 162 kB / 0.7003 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001762/0.5981, allocations: 1.177 MB / 0.7015 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.083e-05/0.5982, allocations: 8 kB / 0.7015 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.5982, allocations: 0 / 0.7015 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.5982, allocations: 7.891 kB / 0.7015 GB, free: 9.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006365/0.6046, allocations: 3.918 MB / 0.7053 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/0.6047, allocations: 4 kB / 0.7053 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005641/0.6052, allocations: 111.8 kB / 0.7054 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-05/0.6053, allocations: 12 kB / 0.7055 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.449e-05/0.6053, allocations: 11.98 kB / 0.7055 GB, free: 5.285 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/0.6053, allocations: 15.94 kB / 0.7055 GB, free: 5.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/0.6054, allocations: 12.41 kB / 0.7055 GB, free: 5.258 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001978/0.6073, allocations: 1.841 MB / 0.7073 GB, free: 3.125 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004145/0.6078, allocations: 234.8 kB / 0.7075 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/0.608, allocations: 11.98 kB / 0.7075 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004881/0.6085, allocations: 12 kB / 0.7075 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.767e-05/0.6086, allocations: 55.75 kB / 0.7076 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/0.6087, allocations: 32 kB / 0.7076 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001451/0.6101, allocations: 1.074 MB / 0.7087 GB, free: 1.699 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002629/0.6128, allocations: 0.6606 MB / 0.7093 GB, free: 1.035 MB / 0.5105 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 (65): * Single equations (assignments): 62 * 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.0003598/0.6131, allocations: 150.9 kB / 0.7095 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.1473/0.7604, allocations: 2.035 MB / 0.7114 GB, free: 196.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.7605, allocations: 3.562 kB / 0.7114 GB, free: 196.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005086/0.761, allocations: 0.5154 MB / 0.712 GB, free: 196.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009535/0.762, allocations: 174.2 kB / 0.7121 GB, free: 196.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007204/0.7692, allocations: 4.363 MB / 0.7164 GB, free: 195.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002405/0.7716, allocations: 2.528 MB / 0.7188 GB, free: 194.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.022e-06/0.7716, allocations: 0 / 0.7188 GB, free: 194.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.02781/0.7995, allocations: 14.42 MB / 0.7329 GB, free: 193.8 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches