Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce") [: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.001037/0.001037, 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.202/1.202, allocations: 221.4 MB / 230.3 MB, free: 7.637 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.0009519/0.0009516, allocations: 89.42 kB / 281.2 MB, free: 5.457 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.1639/0.1639, allocations: 44.15 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.451e-06/5.491e-06, allocations: 224 / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1093, allocations: 61.91 MB / 0.4941 GB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3603/0.4697, allocations: 105.2 MB / 0.5968 GB, free: 7.562 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.4699, allocations: 76.61 kB / 0.5969 GB, free: 7.488 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.5338/1.004, allocations: 145.9 MB / 0.7394 GB, free: 85.35 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002499/1.004, allocations: 146.8 kB / 0.7395 GB, free: 85.35 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.01837/1.022, allocations: 7.235 MB / 0.7466 GB, free: 82.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/1.022, allocations: 13.72 kB / 0.7466 GB, free: 82.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01485/1.037, allocations: 2.902 MB / 0.7494 GB, free: 81.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01858/1.056, allocations: 8.859 MB / 0.7581 GB, free: 80.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002711/1.056, allocations: 253.6 kB / 0.7583 GB, free: 80.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002145/1.058, allocations: 443.9 kB / 0.7588 GB, free: 80.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01873/1.077, allocations: 10.69 MB / 0.7692 GB, free: 80.85 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02695/1.104, allocations: 15.61 MB / 0.7845 GB, free: 74.29 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001995/1.104, allocations: 102.9 kB / 0.7846 GB, free: 74.19 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008124/1.105, allocations: 44 kB / 0.7846 GB, free: 74.15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001962/1.107, allocations: 1.713 MB / 0.7863 GB, free: 72.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07756/1.185, allocations: 77.67 MB / 0.8621 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003314/1.188, allocations: 2.459 MB / 0.8645 GB, free: 8.676 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/1.19, allocations: 1.342 MB / 0.8658 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01202/1.202, allocations: 6.725 MB / 0.8724 GB, free: 392 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/1.202, allocations: 55.2 kB / 0.8724 GB, free: 328 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=134): time 4.689e-06/1.202, allocations: 4 kB / 0.8724 GB, free: 324 kB / 0.5105 GB Notification: Performance of matching and sorting (n=134): time 0.01262/1.215, allocations: 3.91 MB / 0.8763 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.454e-05/1.215, allocations: 145.2 kB / 0.8764 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008485/1.223, allocations: 5.018 MB / 0.8813 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002207/1.223, allocations: 29.7 kB / 0.8813 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003705/1.227, allocations: 4.96 MB / 0.8862 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007936/1.228, allocations: 0.5755 MB / 0.8867 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000339/1.228, allocations: 0 / 0.8867 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000465/1.229, allocations: 0.6451 MB / 0.8874 GB, free: 0.8945 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002859/1.232, allocations: 1.961 MB / 0.8893 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006724/1.238, allocations: 7.425 MB / 0.8965 GB, free: 4.707 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005471/1.244, allocations: 3.786 MB / 0.9002 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001085/1.244, allocations: 56 kB / 0.9003 GB, free: 0.8672 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.1704/1.414, allocations: 7.993 MB / 0.9081 GB, free: 190.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/1.414, allocations: 9.828 kB / 0.9081 GB, free: 190.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000179/1.415, allocations: 197 kB / 0.9083 GB, free: 190.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002323/1.415, allocations: 298.9 kB / 0.9086 GB, free: 190.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005755/1.421, allocations: 1.971 MB / 0.9105 GB, free: 190.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001808/1.421, allocations: 391.9 kB / 0.9109 GB, free: 190.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006595/1.427, allocations: 1.067 MB / 0.9119 GB, free: 190.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007901/1.428, allocations: 0.5083 MB / 0.9124 GB, free: 190.3 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 907 * Number of states: 0 () * Number of discrete variables: 68 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1031): * Single equations (assignments): 1028 * 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.0007478/1.429, allocations: 0.5897 MB / 0.913 GB, free: 190 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006776/1.43, allocations: 0.4916 MB / 0.9135 GB, free: 190 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/1.431, allocations: 0.5686 MB / 0.914 GB, free: 190 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.158e-05/1.431, allocations: 12.19 kB / 0.914 GB, free: 190 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/1.431, allocations: 5.578 kB / 0.914 GB, free: 190 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/1.431, allocations: 3.562 kB / 0.914 GB, free: 190 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01756/1.448, allocations: 12.95 MB / 0.9267 GB, free: 188.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.31e-05/1.448, allocations: 19.31 kB / 0.9267 GB, free: 188.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008963/1.449, allocations: 211 kB / 0.9269 GB, free: 188.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-05/1.449, allocations: 27.72 kB / 0.9269 GB, free: 188.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-05/1.449, allocations: 27.16 kB / 0.927 GB, free: 188.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.725e-05/1.45, allocations: 35.06 kB / 0.927 GB, free: 188.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.365e-05/1.45, allocations: 29.25 kB / 0.927 GB, free: 188.8 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003269/1.453, allocations: 5.797 MB / 0.9327 GB, free: 183.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009132/1.454, allocations: 0.5441 MB / 0.9332 GB, free: 183.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005935/1.454, allocations: 26.95 kB / 0.9332 GB, free: 183.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/1.456, allocations: 117.7 kB / 0.9334 GB, free: 183.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/1.456, allocations: 109.2 kB / 0.9335 GB, free: 183.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.592e-05/1.456, allocations: 64.88 kB / 0.9335 GB, free: 183.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.004889/1.461, allocations: 3.389 MB / 0.9368 GB, free: 183.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007394/1.469, allocations: 1.733 MB / 0.9385 GB, free: 183.1 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 107 * 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.0004609/1.469, allocations: 172.8 kB / 0.9387 GB, free: 183 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006278/1.475, allocations: 4.559 MB / 0.9431 GB, free: 182.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.846e-05/1.476, allocations: 5.594 kB / 0.9431 GB, free: 182.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/1.477, allocations: 0.8405 MB / 0.944 GB, free: 182.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003124/1.48, allocations: 0.6524 MB / 0.9446 GB, free: 182.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01888/1.499, allocations: 11.43 MB / 0.9558 GB, free: 179.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006001/1.505, allocations: 5.67 MB / 0.9613 GB, free: 177.4 MB / 0.5417 GB Notification: Performance of SimCode: time 8.41e-07/1.505, allocations: 0 / 0.9613 GB, free: 177.4 MB / 0.5417 GB Notification: Performance of Templates: time 0.0775/1.582, allocations: 39.42 MB / 0.9998 GB, free: 161 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches