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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002302/0.002302, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 101.8 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3701/0.3701, allocations: 44.83 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 63.91 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3007, allocations: 62.01 MB / 0.5151 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.0238/0.3245, allocations: 37.71 MB / 0.552 GB, free: 10.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01416/0.3387, allocations: 7.618 MB / 0.5594 GB, free: 5.789 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006736/0.3455, allocations: 157 kB / 0.5596 GB, free: 5.766 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00349/0.349, allocations: 2.015 MB / 0.5615 GB, free: 4.824 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002801/0.3519, allocations: 1.068 MB / 0.5626 GB, free: 4.391 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007626/0.3527, allocations: 268.7 kB / 0.5628 GB, free: 4.273 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004559/0.3572, allocations: 3.478 MB / 0.5662 GB, free: 3.281 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002602/0.3599, allocations: 2.314 MB / 0.5685 GB, free: 2.031 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.3609, allocations: 0.8023 MB / 0.5693 GB, free: 1.609 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.3622, allocations: 1.248 MB / 0.5705 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002101/0.3624, allocations: 148 kB / 0.5706 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009835/0.3634, allocations: 0.6981 MB / 0.5713 GB, free: 15.93 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008221/0.3643, allocations: 1.11 MB / 0.5724 GB, free: 14.82 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009983/0.3653, allocations: 1.312 MB / 0.5737 GB, free: 13.5 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003378/0.3687, allocations: 4.252 MB / 0.5778 GB, free: 9.234 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3687, allocations: 0 / 0.5778 GB, free: 9.234 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.3687, allocations: 0 / 0.5778 GB, free: 9.234 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.932e-05/0.3687, allocations: 4 kB / 0.5778 GB, free: 9.23 MB / 394.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.004085/0.3728, allocations: 2.939 MB / 0.5807 GB, free: 6.234 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3729, allocations: 12.03 kB / 0.5807 GB, free: 6.223 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004791/0.3777, allocations: 1.58 MB / 0.5823 GB, free: 4.637 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002598/0.3803, allocations: 1.34 MB / 0.5836 GB, free: 3.254 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.3804, allocations: 148.1 kB / 0.5837 GB, free: 3.109 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002919/0.3807, allocations: 195.8 kB / 0.5839 GB, free: 2.918 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009447/0.3902, allocations: 6.444 MB / 0.5902 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.341e-05/0.3903, allocations: 11.88 kB / 0.5902 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002461/0.3905, allocations: 91.89 kB / 0.5903 GB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002094/0.3926, allocations: 1.407 MB / 0.5917 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009102/0.4017, allocations: 5.488 MB / 0.597 GB, free: 5.184 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02499/0.4268, allocations: 20.56 MB / 0.6171 GB, free: 44 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00382/0.4306, allocations: 2.078 MB / 0.6191 GB, free: 13.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008591/0.4315, allocations: 0.6875 MB / 0.6198 GB, free: 13.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005782/0.4373, allocations: 3.507 MB / 0.6232 GB, free: 9.496 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.4373, allocations: 50.98 kB / 0.6233 GB, free: 9.438 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 2.635e-06/0.4373, allocations: 0 / 0.6233 GB, free: 9.438 MB / 442.7 MB Notification: Performance of matching and sorting (n=78): time 0.004635/0.442, allocations: 1.981 MB / 0.6252 GB, free: 7.445 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.442, allocations: 59.84 kB / 0.6253 GB, free: 7.375 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00225/0.4443, allocations: 1.962 MB / 0.6272 GB, free: 5.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.984e-05/0.4444, allocations: 33.7 kB / 0.6272 GB, free: 5.371 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.4454, allocations: 1.879 MB / 0.6291 GB, free: 3.461 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.4457, allocations: 316 kB / 0.6294 GB, free: 3.148 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006869/0.4464, allocations: 0.623 MB / 0.63 GB, free: 2.516 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.4465, allocations: 357.9 kB / 0.6303 GB, free: 2.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.4476, allocations: 0.892 MB / 0.6312 GB, free: 1.266 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002273/0.4499, allocations: 2.77 MB / 0.6339 GB, free: 13.55 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003702/0.4536, allocations: 4.005 MB / 0.6378 GB, free: 8.605 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-05/0.4536, allocations: 20 kB / 0.6378 GB, free: 8.586 MB / 458.7 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.004964/0.4586, allocations: 3.543 MB / 0.6413 GB, free: 5.039 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.885e-05/0.4587, allocations: 36 kB / 0.6413 GB, free: 5.004 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.413e-05/0.4588, allocations: 64.88 kB / 0.6414 GB, free: 4.941 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.815e-05/0.4588, allocations: 91.94 kB / 0.6415 GB, free: 4.852 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.4606, allocations: 0.6706 MB / 0.6421 GB, free: 4.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.527e-05/0.4607, allocations: 131.5 kB / 0.6422 GB, free: 4.051 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.4623, allocations: 423.4 kB / 0.6426 GB, free: 3.633 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/0.4626, allocations: 192 kB / 0.6428 GB, free: 3.445 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (365): * Single equations (assignments): 360 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002026/0.4646, allocations: 1.377 MB / 0.6442 GB, free: 2.059 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.4649, allocations: 153.9 kB / 0.6443 GB, free: 1.906 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004131/0.4653, allocations: 201.2 kB / 0.6445 GB, free: 1.703 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/0.4653, allocations: 8 kB / 0.6445 GB, free: 1.695 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.4653, allocations: 4 kB / 0.6445 GB, free: 1.691 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4653, allocations: 0 / 0.6445 GB, free: 1.691 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006837/0.4722, allocations: 4.145 MB / 0.6486 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.4722, allocations: 4 kB / 0.6486 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003936/0.4726, allocations: 99.83 kB / 0.6487 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.4726, allocations: 8 kB / 0.6487 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.584e-05/0.4727, allocations: 23.97 kB / 0.6487 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.348e-05/0.4727, allocations: 11.94 kB / 0.6487 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.647e-05/0.4727, allocations: 8 kB / 0.6487 GB, free: 13.25 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/0.4754, allocations: 2.545 MB / 0.6512 GB, free: 10.58 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004629/0.4758, allocations: 250.7 kB / 0.6514 GB, free: 10.31 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.476, allocations: 23.98 kB / 0.6515 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004616/0.4764, allocations: 27.89 kB / 0.6515 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.4766, allocations: 55.7 kB / 0.6515 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-05/0.4766, allocations: 31.98 kB / 0.6516 GB, free: 10.18 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001731/0.4784, allocations: 1.287 MB / 0.6528 GB, free: 8.898 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4784, allocations: 0 / 0.6528 GB, free: 8.898 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002321/0.4807, allocations: 0.7076 MB / 0.6535 GB, free: 8.188 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 51 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002968/0.481, allocations: 147 kB / 0.6537 GB, free: 8.035 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002906/0.4839, allocations: 2.03 MB / 0.6556 GB, free: 6.02 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.4839, allocations: 4.375 kB / 0.6556 GB, free: 6.016 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005432/0.4845, allocations: 455.9 kB / 0.6561 GB, free: 5.57 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.4858, allocations: 245.2 kB / 0.6563 GB, free: 5.34 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009435/0.4952, allocations: 7.024 MB / 0.6632 GB, free: 14.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002209/0.4975, allocations: 2.339 MB / 0.6655 GB, free: 11.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002257/0.4997, allocations: 0.9677 MB / 0.6664 GB, free: 10.85 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.5, allocations: 123.4 kB / 0.6665 GB, free: 10.73 MB / 490.7 MB Notification: Performance of SimCode: time 9.01e-07/0.5, allocations: 0 / 0.6665 GB, free: 10.73 MB / 490.7 MB Notification: Performance of Templates: time 0.2556/0.7556, allocations: 14.39 MB / 0.6806 GB, free: 128 MB / 490.7 MB 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@2/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