Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 177.2 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.367/0.367, allocations: 43.55 MB / 314.5 MB, free: 8.785 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005183/0.0005183, allocations: 12 kB / 383.9 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1205, allocations: 58.86 MB / 442.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.272/0.3925, allocations: 86.58 MB / 0.5169 GB, free: 9.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04854/0.4411, allocations: 19.21 MB / 0.5357 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02475/0.4659, allocations: 445.2 kB / 0.5361 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01898/0.485, allocations: 4.396 MB / 0.5404 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04428/0.5293, allocations: 12.42 MB / 0.5525 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0065/0.5358, allocations: 1.232 MB / 0.5537 GB, free: 14.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009014/0.5449, allocations: 4.563 MB / 0.5582 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01345/0.5584, allocations: 9.137 MB / 0.5671 GB, free: 500 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004845/0.5633, allocations: 2.083 MB / 0.5692 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00557/0.5689, allocations: 2.679 MB / 0.5718 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002055/0.571, allocations: 284 kB / 0.572 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003771/0.5748, allocations: 0.9442 MB / 0.573 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004651/0.5795, allocations: 3.129 MB / 0.576 GB, free: 7.352 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002764/0.5822, allocations: 1.54 MB / 0.5775 GB, free: 5.801 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01259/0.5949, allocations: 10.06 MB / 0.5873 GB, free: 11.72 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.5949, allocations: 0 / 0.5873 GB, free: 11.72 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.5949, allocations: 0 / 0.5873 GB, free: 11.72 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005448/0.5954, allocations: 0 / 0.5873 GB, free: 11.72 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.01692/0.6124, allocations: 7.943 MB / 0.5951 GB, free: 3.691 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.6124, allocations: 8.031 kB / 0.5951 GB, free: 3.684 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01259/0.625, allocations: 3.085 MB / 0.5981 GB, free: 0.582 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01223/0.6373, allocations: 5.654 MB / 0.6036 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004468/0.6378, allocations: 467.5 kB / 0.6041 GB, free: 10.4 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001913/0.6397, allocations: 0.5934 MB / 0.6047 GB, free: 9.805 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03659/0.6763, allocations: 18.88 MB / 0.6231 GB, free: 5.766 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003104/0.6767, allocations: 71.33 kB / 0.6232 GB, free: 5.695 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002134/0.6788, allocations: 287.7 kB / 0.6234 GB, free: 5.414 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005905/0.6847, allocations: 3.449 MB / 0.6268 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.422/1.107, allocations: 14.75 MB / 0.6412 GB, free: 132.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09356/1.2, allocations: 70.75 MB / 0.7103 GB, free: 84.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01532/1.216, allocations: 6.145 MB / 0.7163 GB, free: 81.33 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01855/1.234, allocations: 10.99 MB / 0.727 GB, free: 71.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.547e-05/1.234, allocations: 64.5 kB / 0.7271 GB, free: 71.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=238): time 7.824e-06/1.234, allocations: 0 / 0.7271 GB, free: 71.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.04023/1.275, allocations: 16.41 MB / 0.7431 GB, free: 55.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/1.275, allocations: 158.5 kB / 0.7433 GB, free: 54.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009684/1.285, allocations: 7.093 MB / 0.7502 GB, free: 47.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006439/1.285, allocations: 61.7 kB / 0.7503 GB, free: 47.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003009/1.288, allocations: 5.554 MB / 0.7557 GB, free: 42.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001216/1.289, allocations: 1.009 MB / 0.7567 GB, free: 41.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003897/1.29, allocations: 182.6 kB / 0.7569 GB, free: 41.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003654/1.29, allocations: 0.6907 MB / 0.7575 GB, free: 40.33 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004009/1.294, allocations: 2.59 MB / 0.7601 GB, free: 37.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006698/1.301, allocations: 8.266 MB / 0.7681 GB, free: 26.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006396/1.307, allocations: 4.463 MB / 0.7725 GB, free: 22.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001258/1.308, allocations: 64 kB / 0.7726 GB, free: 22.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.01771/1.325, allocations: 10.56 MB / 0.7829 GB, free: 11.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001193/1.325, allocations: 94.66 kB / 0.783 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001954/1.326, allocations: 200.9 kB / 0.7831 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/1.326, allocations: 296 kB / 0.7834 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006217/1.332, allocations: 2.121 MB / 0.7855 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002549/1.332, allocations: 394.5 kB / 0.7859 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006821/1.339, allocations: 458.3 kB / 0.7863 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/1.34, allocations: 0.5534 MB / 0.7869 GB, free: 7.453 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 60 (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.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.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.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.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1139): * Single equations (assignments): 1128 * Array equations: 11 * 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.006417/1.347, allocations: 3.618 MB / 0.7904 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/1.348, allocations: 0.5745 MB / 0.7909 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004151/1.352, allocations: 2.791 MB / 0.7937 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.113e-05/1.352, allocations: 28 kB / 0.7937 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.227e-05/1.352, allocations: 4 kB / 0.7937 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-05/1.352, allocations: 15.95 kB / 0.7937 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03923/1.392, allocations: 26.57 MB / 0.8197 GB, free: 5.07 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001189/1.392, allocations: 52 kB / 0.8197 GB, free: 5.02 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002013/1.394, allocations: 0.5193 MB / 0.8202 GB, free: 4.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.203e-05/1.394, allocations: 80 kB / 0.8203 GB, free: 4.422 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002733/1.394, allocations: 122.3 kB / 0.8204 GB, free: 4.305 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.085e-05/1.394, allocations: 103.6 kB / 0.8205 GB, free: 4.203 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.892e-05/1.394, allocations: 83.62 kB / 0.8206 GB, free: 4.121 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2232/1.618, allocations: 14.81 MB / 0.8351 GB, free: 138.8 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/1.619, allocations: 0.7018 MB / 0.8357 GB, free: 138.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006645/1.62, allocations: 122.6 kB / 0.8359 GB, free: 138.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002264/1.622, allocations: 142.9 kB / 0.836 GB, free: 138.7 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003244/1.622, allocations: 358.6 kB / 0.8363 GB, free: 138.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001706/1.623, allocations: 152 kB / 0.8365 GB, free: 138.6 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006883/1.629, allocations: 4.496 MB / 0.8409 GB, free: 138.4 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.31e-07/1.629, allocations: 0 / 0.8409 GB, free: 138.4 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008796/1.638, allocations: 1.517 MB / 0.8424 GB, free: 138.4 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.0008789/1.639, allocations: 318.9 kB / 0.8427 GB, free: 138.3 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.009027/1.648, allocations: 6.053 MB / 0.8486 GB, free: 137.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-05/1.648, allocations: 7.219 kB / 0.8486 GB, free: 137.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002041/1.65, allocations: 1.491 MB / 0.85 GB, free: 136.6 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005335/1.656, allocations: 0.8559 MB / 0.8509 GB, free: 136.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03148/1.687, allocations: 20.1 MB / 0.8705 GB, free: 124.7 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01152/1.699, allocations: 5.737 MB / 0.8761 GB, free: 122.9 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01037/1.709, allocations: 2.787 MB / 0.8788 GB, free: 122.6 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001608/1.711, allocations: 408.4 kB / 0.8792 GB, free: 122.6 MB / 0.5138 GB Notification: Performance of SimCode: time 1.092e-06/1.711, allocations: 0 / 0.8792 GB, free: 122.6 MB / 0.5138 GB Notification: Performance of Templates: time 0.08424/1.795, allocations: 46.63 MB / 0.9247 GB, free: 90.02 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches