Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.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.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2") [: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.001635/0.001635, allocations: 179 kB / 8.151 MB, free: 2.199 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.719/1.719, 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.001247/0.001247, allocations: 88.56 kB / 261.8 MB, free: 13.62 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.261/0.261, allocations: 43.49 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.657e-06/8.806e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2646, allocations: 58.85 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.177/0.4417, allocations: 101.2 MB / 0.5642 GB, free: 13.85 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.442, allocations: 75.97 kB / 0.5643 GB, free: 13.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2289/0.6709, allocations: 53.22 MB / 0.6162 GB, free: 8.141 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000146/0.6711, allocations: 59.94 kB / 0.6163 GB, free: 8.082 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: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.008936/0.6801, allocations: 2.617 MB / 0.6188 GB, free: 5.406 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.6801, allocations: 12.03 kB / 0.6189 GB, free: 5.395 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01387/0.694, allocations: 1.497 MB / 0.6203 GB, free: 3.891 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006155/0.7002, allocations: 1.723 MB / 0.622 GB, free: 2.117 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001835/0.7004, allocations: 92 kB / 0.6221 GB, free: 2.027 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00138/0.7018, allocations: 168 kB / 0.6222 GB, free: 1.863 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01262/0.7145, allocations: 4.461 MB / 0.6266 GB, free: 13.39 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01781/0.7323, allocations: 6.139 MB / 0.6326 GB, free: 6.871 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.153e-05/0.7325, allocations: 15.81 kB / 0.6326 GB, free: 6.855 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006989/0.7332, allocations: 16 kB / 0.6326 GB, free: 6.84 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00134/0.7346, allocations: 0.7239 MB / 0.6333 GB, free: 6.113 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1869/0.9215, allocations: 22.53 MB / 0.6553 GB, free: 164.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002799/0.9243, allocations: 1.55 MB / 0.6569 GB, free: 164.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.9256, allocations: 0.5915 MB / 0.6574 GB, free: 164.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.319e-05/0.9257, allocations: 14.52 kB / 0.6574 GB, free: 164.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.9257, allocations: 42.09 kB / 0.6575 GB, free: 164.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=108): time 4.068e-06/0.9258, allocations: 0 / 0.6575 GB, free: 164.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.005966/0.9317, allocations: 1.634 MB / 0.6591 GB, free: 164 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.9318, allocations: 66.91 kB / 0.6591 GB, free: 164 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003288/0.9351, allocations: 1.627 MB / 0.6607 GB, free: 163.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001852/0.9353, allocations: 25.7 kB / 0.6608 GB, free: 163.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001167/0.9365, allocations: 1.907 MB / 0.6626 GB, free: 162.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005224/0.9371, allocations: 405.4 kB / 0.663 GB, free: 162.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.9373, allocations: 0 / 0.663 GB, free: 162.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002365/0.9375, allocations: 460 kB / 0.6634 GB, free: 162.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002171/0.9397, allocations: 0.9388 MB / 0.6644 GB, free: 162.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003312/0.9431, allocations: 2.987 MB / 0.6673 GB, free: 159.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003616/0.9467, allocations: 1.736 MB / 0.669 GB, free: 159.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-05/0.9468, allocations: 30.31 kB / 0.669 GB, free: 159.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=443) (initialization): time 0.008826/0.9557, allocations: 3.431 MB / 0.6724 GB, free: 159.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.9557, allocations: 3.969 kB / 0.6724 GB, free: 159.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000101/0.9558, allocations: 74.38 kB / 0.6724 GB, free: 159.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000128/0.956, allocations: 112.4 kB / 0.6725 GB, free: 159.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00463/0.9606, allocations: 0.765 MB / 0.6733 GB, free: 159.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001057/0.9608, allocations: 147.3 kB / 0.6734 GB, free: 159.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00277/0.9635, allocations: 242.1 kB / 0.6737 GB, free: 159 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005888/0.9642, allocations: 210.4 kB / 0.6739 GB, free: 159 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 337 * Number of states: 0 () * Number of discrete variables: 24 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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 (419): * Single equations (assignments): 416 * 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.0005775/0.9648, allocations: 219.5 kB / 0.6741 GB, free: 158.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003935/0.9652, allocations: 164.8 kB / 0.6742 GB, free: 158.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003333/0.9685, allocations: 1.375 MB / 0.6756 GB, free: 158.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.073e-05/0.9686, allocations: 7 kB / 0.6756 GB, free: 158.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.9686, allocations: 3.281 kB / 0.6756 GB, free: 158.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.9686, allocations: 5.578 kB / 0.6756 GB, free: 158.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/0.981, allocations: 5.379 MB / 0.6808 GB, free: 156.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/0.981, allocations: 10.75 kB / 0.6808 GB, free: 156.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/0.9823, allocations: 163.2 kB / 0.681 GB, free: 156.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.373e-05/0.9824, allocations: 22.03 kB / 0.681 GB, free: 156.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.481e-05/0.9825, allocations: 21.23 kB / 0.681 GB, free: 156.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.617e-05/0.9825, allocations: 20.72 kB / 0.6811 GB, free: 156.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.381e-05/0.9825, allocations: 17.09 kB / 0.6811 GB, free: 156.4 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003149/0.9857, allocations: 2.452 MB / 0.6835 GB, free: 154.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004961/0.9862, allocations: 307.6 kB / 0.6838 GB, free: 154.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004089/0.9866, allocations: 16.52 kB / 0.6838 GB, free: 154.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.9878, allocations: 25.06 kB / 0.6838 GB, free: 154.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.988, allocations: 82.28 kB / 0.6839 GB, free: 154.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.9881, allocations: 44.58 kB / 0.6839 GB, free: 154.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.002155/0.9903, allocations: 1.088 MB / 0.685 GB, free: 153.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00394/0.9942, allocations: 0.7054 MB / 0.6857 GB, free: 153.5 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.0005029/0.9948, allocations: 158.3 kB / 0.6858 GB, free: 153.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005207/1, allocations: 2.221 MB / 0.688 GB, free: 152.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.681e-05/1, allocations: 5.938 kB / 0.688 GB, free: 152.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001463/1.002, allocations: 0.6187 MB / 0.6886 GB, free: 152.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/1.003, allocations: 175.2 kB / 0.6888 GB, free: 152.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/1.019, allocations: 5.112 MB / 0.6938 GB, free: 150.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006452/1.025, allocations: 2.644 MB / 0.6964 GB, free: 149.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.733e-06/1.025, allocations: 0 / 0.6964 GB, free: 149.1 MB / 474.7 MB Notification: Performance of Templates: time 0.06071/1.086, allocations: 30.83 MB / 0.7265 GB, free: 126.8 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches