Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") [: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 trunk/package.mo): time 0.001489/0.001489, allocations: 197 kB / 8.539 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 225.5 MB / 234.4 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008675/0.0008675, allocations: 92.06 kB / 286.3 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1696/0.1696, allocations: 45.14 MB / 383.3 MB, free: 480 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.764e-06/7.985e-06, allocations: 0 / 452.6 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09023/0.09026, allocations: 63.24 MB / 0.5038 GB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2908/0.3811, allocations: 103.1 MB / 0.6045 GB, free: 15.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.3814, allocations: 80.7 kB / 0.6046 GB, free: 15.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1311/0.5125, allocations: 53.15 MB / 0.6565 GB, free: 2.781 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001145/0.5127, allocations: 48 kB / 0.6565 GB, free: 2.734 MB / 442.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.006454/0.5191, allocations: 2.527 MB / 0.659 GB, free: 368 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.5192, allocations: 12.02 kB / 0.659 GB, free: 356 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007564/0.5268, allocations: 1.47 MB / 0.6604 GB, free: 14.88 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004052/0.5308, allocations: 1.661 MB / 0.662 GB, free: 13.45 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.531, allocations: 92 kB / 0.6621 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001007/0.532, allocations: 160 kB / 0.6623 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007382/0.5394, allocations: 4.219 MB / 0.6664 GB, free: 8.984 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/0.5503, allocations: 5.849 MB / 0.6721 GB, free: 2.785 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.135e-05/0.5504, allocations: 15.81 kB / 0.6721 GB, free: 2.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003419/0.5507, allocations: 12 kB / 0.6721 GB, free: 2.758 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007786/0.5515, allocations: 0.6729 MB / 0.6728 GB, free: 2.082 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02488/0.5764, allocations: 21.66 MB / 0.694 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.578, allocations: 1.434 MB / 0.6954 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006471/0.5787, allocations: 0.5067 MB / 0.6958 GB, free: 9.676 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.648e-05/0.5788, allocations: 16.62 kB / 0.6959 GB, free: 9.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.5788, allocations: 39.22 kB / 0.6959 GB, free: 9.609 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 3.035e-06/0.5788, allocations: 0 / 0.6959 GB, free: 9.609 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.003419/0.5823, allocations: 1.499 MB / 0.6974 GB, free: 8.105 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.5823, allocations: 60.06 kB / 0.6974 GB, free: 8.035 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/0.5845, allocations: 1.583 MB / 0.699 GB, free: 6.449 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/0.5846, allocations: 29.64 kB / 0.699 GB, free: 6.414 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.5857, allocations: 1.801 MB / 0.7008 GB, free: 4.582 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003225/0.586, allocations: 359.5 kB / 0.7011 GB, free: 4.227 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.457e-05/0.5861, allocations: 0 / 0.7011 GB, free: 4.227 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003117/0.5864, allocations: 493.5 kB / 0.7016 GB, free: 3.734 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.5876, allocations: 0.8691 MB / 0.7024 GB, free: 2.863 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002284/0.5899, allocations: 2.825 MB / 0.7052 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/0.592, allocations: 1.62 MB / 0.7068 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-05/0.5921, allocations: 20 kB / 0.7068 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.004954/0.5971, allocations: 3.258 MB / 0.71 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.5971, allocations: 7.938 kB / 0.71 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-05/0.5972, allocations: 79.98 kB / 0.71 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001022/0.5973, allocations: 104 kB / 0.7101 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/0.5993, allocations: 0.7057 MB / 0.7108 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.751e-05/0.5995, allocations: 139.4 kB / 0.711 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/0.6012, allocations: 355.8 kB / 0.7113 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002284/0.6015, allocations: 200 kB / 0.7115 GB, free: 8.559 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 323 * Number of states: 0 () * Number of discrete variables: 26 (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.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 (390): * Single equations (assignments): 387 * 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.0003205/0.6018, allocations: 277.8 kB / 0.7118 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.602, allocations: 157.8 kB / 0.7119 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.6036, allocations: 1.212 MB / 0.7131 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.748e-05/0.6037, allocations: 8 kB / 0.7131 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6037, allocations: 0 / 0.7131 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.6037, allocations: 3.984 kB / 0.7131 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006014/0.6097, allocations: 4.124 MB / 0.7171 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.6097, allocations: 8 kB / 0.7171 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004875/0.6102, allocations: 123.8 kB / 0.7173 GB, free: 2.441 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.529e-05/0.6103, allocations: 12 kB / 0.7173 GB, free: 2.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.724e-05/0.6103, allocations: 12 kB / 0.7173 GB, free: 2.418 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.177e-06/0.6103, allocations: 11.98 kB / 0.7173 GB, free: 2.406 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.6103, allocations: 15.88 kB / 0.7173 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001774/0.6121, allocations: 1.933 MB / 0.7192 GB, free: 144 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/0.6125, allocations: 234.9 kB / 0.7194 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.6126, allocations: 15.98 kB / 0.7194 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004855/0.6131, allocations: 15.98 kB / 0.7194 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.6132, allocations: 59.8 kB / 0.7195 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.827e-05/0.6133, allocations: 39.98 kB / 0.7195 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001322/0.6146, allocations: 1.054 MB / 0.7206 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002509/0.6172, allocations: 0.6683 MB / 0.7212 GB, free: 14.04 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 65 * 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.000299/0.6175, allocations: 147 kB / 0.7214 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002619/0.6201, allocations: 2.047 MB / 0.7234 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.6201, allocations: 4 kB / 0.7234 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000604/0.6207, allocations: 0.5385 MB / 0.7239 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007463/0.6215, allocations: 184.2 kB / 0.7241 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007858/0.6294, allocations: 4.398 MB / 0.7284 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002779/0.6322, allocations: 2.522 MB / 0.7308 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of SimCode: time 8.42e-07/0.6322, allocations: 0 / 0.7308 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of Templates: time 0.02903/0.6612, allocations: 14.52 MB / 0.745 GB, free: 5.527 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches