Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_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_trunk_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 203.9 kB / 8.542 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.26/1.26, allocations: 225.5 MB / 234.4 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009245/0.0009245, allocations: 87.67 kB / 286.3 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1787/0.1787, allocations: 45.14 MB / 383.3 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.782e-06/6.822e-06, allocations: 4 kB / 452.6 MB, free: 76.15 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1071, allocations: 63.24 MB / 0.5038 GB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3007/0.4078, allocations: 103.1 MB / 0.6045 GB, free: 15.94 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.4081, allocations: 73.72 kB / 0.6045 GB, free: 15.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1259/0.5341, allocations: 53.13 MB / 0.6564 GB, free: 2.832 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.727e-05/0.5342, allocations: 55.98 kB / 0.6565 GB, free: 2.777 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.005104/0.5393, allocations: 2.533 MB / 0.659 GB, free: 412 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.5393, allocations: 8.031 kB / 0.659 GB, free: 404 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007225/0.5466, allocations: 1.47 MB / 0.6604 GB, free: 14.92 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003752/0.5504, allocations: 1.663 MB / 0.662 GB, free: 13.49 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.5505, allocations: 96 kB / 0.6621 GB, free: 13.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006253/0.5511, allocations: 156 kB / 0.6623 GB, free: 13.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006699/0.5578, allocations: 4.219 MB / 0.6664 GB, free: 9.023 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009194/0.567, allocations: 5.841 MB / 0.6721 GB, free: 2.84 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.234e-05/0.5671, allocations: 15.88 kB / 0.6721 GB, free: 2.824 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003306/0.5675, allocations: 8 kB / 0.6721 GB, free: 2.816 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007144/0.5682, allocations: 0.6767 MB / 0.6728 GB, free: 2.137 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02571/0.5939, allocations: 21.66 MB / 0.6939 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.5956, allocations: 1.434 MB / 0.6953 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006434/0.5962, allocations: 0.5106 MB / 0.6958 GB, free: 9.715 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.481e-05/0.5963, allocations: 16.64 kB / 0.6958 GB, free: 9.699 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.5963, allocations: 35.22 kB / 0.6959 GB, free: 9.652 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 2.866e-06/0.5964, allocations: 0 / 0.6959 GB, free: 9.652 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.003526/0.5999, allocations: 1.499 MB / 0.6973 GB, free: 8.148 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.5999, allocations: 56.06 kB / 0.6974 GB, free: 8.082 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00247/0.6024, allocations: 1.583 MB / 0.6989 GB, free: 6.496 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.176e-05/0.6025, allocations: 29.7 kB / 0.699 GB, free: 6.461 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001208/0.6037, allocations: 1.805 MB / 0.7007 GB, free: 4.625 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/0.6041, allocations: 351.6 kB / 0.7011 GB, free: 4.277 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.742e-05/0.6042, allocations: 3.938 kB / 0.7011 GB, free: 4.273 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000295/0.6045, allocations: 0.4897 MB / 0.7015 GB, free: 3.773 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.6057, allocations: 0.8691 MB / 0.7024 GB, free: 2.902 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/0.6079, allocations: 2.825 MB / 0.7051 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/0.6098, allocations: 1.62 MB / 0.7067 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.308e-05/0.6099, allocations: 20 kB / 0.7067 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.0045/0.6144, allocations: 3.25 MB / 0.7099 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.6144, allocations: 4.219 kB / 0.7099 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.066e-05/0.6145, allocations: 79.94 kB / 0.71 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-05/0.6146, allocations: 104 kB / 0.7101 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/0.6165, allocations: 0.7134 MB / 0.7108 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.992e-05/0.6166, allocations: 139.4 kB / 0.7109 GB, free: 9.148 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/0.6184, allocations: 351.7 kB / 0.7113 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/0.6186, allocations: 200 kB / 0.7115 GB, free: 8.605 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.0003068/0.6189, allocations: 281.8 kB / 0.7117 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.6191, allocations: 161.8 kB / 0.7119 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/0.6208, allocations: 1.208 MB / 0.7131 GB, free: 6.934 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.799e-05/0.6209, allocations: 12 kB / 0.7131 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.6209, allocations: 0 / 0.7131 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.6209, allocations: 3.984 kB / 0.7131 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006035/0.6269, allocations: 4.116 MB / 0.7171 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.627, allocations: 12 kB / 0.7171 GB, free: 2.605 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005011/0.6275, allocations: 127.8 kB / 0.7172 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/0.6275, allocations: 12 kB / 0.7172 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/0.6275, allocations: 15.98 kB / 0.7173 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.868e-06/0.6276, allocations: 12 kB / 0.7173 GB, free: 2.441 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.416e-05/0.6276, allocations: 11.94 kB / 0.7173 GB, free: 2.43 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001722/0.6293, allocations: 1.933 MB / 0.7192 GB, free: 184 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/0.6296, allocations: 238.8 kB / 0.7194 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/0.6298, allocations: 8 kB / 0.7194 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004776/0.6303, allocations: 15.98 kB / 0.7194 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.633e-05/0.6304, allocations: 59.78 kB / 0.7195 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.24e-05/0.6305, allocations: 36 kB / 0.7195 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001275/0.6318, allocations: 1.057 MB / 0.7205 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002425/0.6342, allocations: 0.6683 MB / 0.7212 GB, free: 14.09 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.0002936/0.6345, allocations: 147 kB / 0.7213 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002723/0.6372, allocations: 2.048 MB / 0.7233 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6373, allocations: 0 / 0.7233 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006179/0.6379, allocations: 0.5371 MB / 0.7239 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007552/0.6386, allocations: 175.7 kB / 0.724 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007412/0.6461, allocations: 4.403 MB / 0.7283 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002762/0.6489, allocations: 2.534 MB / 0.7308 GB, free: 4.074 MB / 0.5105 GB Notification: Performance of SimCode: time 8.11e-07/0.6489, allocations: 0 / 0.7308 GB, free: 4.074 MB / 0.5105 GB Notification: Performance of Templates: time 0.03229/0.6812, allocations: 14.51 MB / 0.745 GB, free: 5.582 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches