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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 80.31 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 167.1 kB / 25.61 MB, free: 8.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9041/0.9041, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1434/0.1434, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.7 MB " [Timeout remaining time 180] 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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.432e-05, allocations: 2.312 kB / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.008061/0.008075, allocations: 14.07 MB / 391.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006157/0.01423, allocations: 4.931 MB / 396.3 MB, free: 6.531 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009253/0.01516, allocations: 139.3 kB / 396.4 MB, free: 6.395 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004277/0.01943, allocations: 6.34 MB / 402.7 MB, free: 36 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003509/0.02294, allocations: 2.923 MB / 405.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.02502, allocations: 1.782 MB / 407.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006682/0.03171, allocations: 9.141 MB / 416.6 MB, free: 2.156 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005444/0.03715, allocations: 6.592 MB / 423.2 MB, free: 11.46 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00398/0.04113, allocations: 4.546 MB / 427.7 MB, free: 6.906 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003995/0.04512, allocations: 4.455 MB / 432.2 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006068/0.04573, allocations: 0.5859 MB / 432.8 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.04737, allocations: 1.373 MB / 434.1 MB, free: 492 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002395/0.04976, allocations: 3.826 MB / 438 MB, free: 12.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001661/0.05142, allocations: 2.29 MB / 440.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00556/0.05698, allocations: 7.59 MB / 447.8 MB, free: 2.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.05699, allocations: 0 / 447.8 MB, free: 2.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.05699, allocations: 0 / 447.8 MB, free: 2.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.309e-05/0.05706, allocations: 0 / 447.8 MB, free: 2.73 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.008156/0.06522, allocations: 8.719 MB / 456.6 MB, free: 9.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.06526, allocations: 11.98 kB / 456.6 MB, free: 9.918 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004851/0.07011, allocations: 2.357 MB / 458.9 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003682/0.07379, allocations: 3.778 MB / 462.7 MB, free: 3.688 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/0.07399, allocations: 423 kB / 463.1 MB, free: 3.273 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005422/0.07454, allocations: 0.5413 MB / 463.7 MB, free: 2.734 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/0.08456, allocations: 9.27 MB / 472.9 MB, free: 7.926 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001203/0.08468, allocations: 71.38 kB / 473 MB, free: 7.855 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004001/0.08508, allocations: 263.8 kB / 473.3 MB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002169/0.08725, allocations: 2.674 MB / 475.9 MB, free: 4.918 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006732/0.09398, allocations: 3.991 MB / 479.9 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2941/0.388, allocations: 70.92 MB / 0.5379 GB, free: 52.29 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006326/0.3944, allocations: 3.265 MB / 0.5411 GB, free: 49.06 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007056/0.3951, allocations: 0.6732 MB / 0.5418 GB, free: 48.39 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006434/0.4015, allocations: 6.01 MB / 0.5477 GB, free: 42.54 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.4015, allocations: 58.17 kB / 0.5477 GB, free: 42.48 MB / 410.8 MB Notification: Performance of pre-optimization done (n=182): time 3.307e-06/0.4015, allocations: 3.906 kB / 0.5477 GB, free: 42.48 MB / 410.8 MB Notification: Performance of matching and sorting (n=206): time 0.01581/0.4174, allocations: 7.938 MB / 0.5555 GB, free: 35 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.4174, allocations: 153.3 kB / 0.5556 GB, free: 34.82 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00409/0.4215, allocations: 5.479 MB / 0.561 GB, free: 29.58 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.559e-05/0.4216, allocations: 53.7 kB / 0.561 GB, free: 29.52 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002245/0.4238, allocations: 5.549 MB / 0.5664 GB, free: 24.31 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000474/0.4243, allocations: 0.8802 MB / 0.5673 GB, free: 23.43 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001547/0.4258, allocations: 1.853 MB / 0.5691 GB, free: 21.55 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.705e-05/0.4259, allocations: 484.5 kB / 0.5696 GB, free: 21.08 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.427, allocations: 0.6994 MB / 0.5702 GB, free: 20.37 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003349/0.4304, allocations: 8.658 MB / 0.5787 GB, free: 8.137 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00675/0.4371, allocations: 10.31 MB / 0.5888 GB, free: 10.32 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.599e-05/0.4372, allocations: 52 kB / 0.5888 GB, free: 10.27 MB / 426.8 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.008998/0.4462, allocations: 6.605 MB / 0.5953 GB, free: 3.668 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.807e-05/0.4463, allocations: 87.94 kB / 0.5954 GB, free: 3.582 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001583/0.4464, allocations: 192 kB / 0.5955 GB, free: 3.395 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002012/0.4466, allocations: 252 kB / 0.5958 GB, free: 3.148 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004201/0.4508, allocations: 1.891 MB / 0.5976 GB, free: 1.254 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002454/0.4511, allocations: 370.5 kB / 0.598 GB, free: 0.8906 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004135/0.4552, allocations: 367.9 kB / 0.5983 GB, free: 0.5312 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004817/0.4557, allocations: 462.9 kB / 0.5988 GB, free: 84 kB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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 (1043): * Single equations (assignments): 1032 * Array equations: 11 * 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.001699/0.4574, allocations: 0.867 MB / 0.5996 GB, free: 15.2 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006079/0.458, allocations: 0.5591 MB / 0.6002 GB, free: 14.64 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007572/0.4588, allocations: 0.4902 MB / 0.6006 GB, free: 14.14 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-05/0.4588, allocations: 24 kB / 0.6007 GB, free: 14.11 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.4588, allocations: 0 / 0.6007 GB, free: 14.11 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.4588, allocations: 7.969 kB / 0.6007 GB, free: 14.11 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/0.4711, allocations: 9.184 MB / 0.6096 GB, free: 4.152 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.153e-05/0.4711, allocations: 36 kB / 0.6097 GB, free: 4.117 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008579/0.472, allocations: 363.3 kB / 0.61 GB, free: 3.762 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.823e-05/0.472, allocations: 52.81 kB / 0.6101 GB, free: 3.711 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.4721, allocations: 87.97 kB / 0.6102 GB, free: 3.625 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.312e-05/0.4722, allocations: 75.72 kB / 0.6102 GB, free: 3.551 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.469e-05/0.4722, allocations: 63.69 kB / 0.6103 GB, free: 3.488 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002584/0.4748, allocations: 3.524 MB / 0.6137 GB, free: 15.22 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009125/0.4757, allocations: 0.5627 MB / 0.6143 GB, free: 14.65 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004713/0.4762, allocations: 87.97 kB / 0.6144 GB, free: 14.57 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/0.4777, allocations: 76 kB / 0.6144 GB, free: 14.49 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002474/0.4779, allocations: 262.7 kB / 0.6147 GB, free: 14.23 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.478, allocations: 99.94 kB / 0.6148 GB, free: 14.14 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002326/0.4804, allocations: 2.236 MB / 0.617 GB, free: 11.93 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4804, allocations: 0 / 0.617 GB, free: 11.93 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.005166/0.4855, allocations: 1.496 MB / 0.6184 GB, free: 10.44 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.0003013/0.4858, allocations: 261.4 kB / 0.6187 GB, free: 10.17 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.003335/0.4892, allocations: 3.42 MB / 0.622 GB, free: 6.773 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/0.4892, allocations: 13.92 kB / 0.622 GB, free: 6.762 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005289/0.4897, allocations: 0.5984 MB / 0.6226 GB, free: 6.168 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002383/0.4921, allocations: 0.8044 MB / 0.6234 GB, free: 5.395 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.5039, allocations: 13.34 MB / 0.6364 GB, free: 7.211 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/0.5054, allocations: 2.09 MB / 0.6385 GB, free: 5.086 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.001515/0.5069, allocations: 0.7451 MB / 0.6392 GB, free: 4.336 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009687/0.5079, allocations: 0.8612 MB / 0.64 GB, free: 3.473 MB / 474.8 MB Notification: Performance of SimCode: time 9.02e-07/0.5079, allocations: 4 kB / 0.64 GB, free: 3.469 MB / 474.8 MB Notification: Performance of Templates: time 0.1873/0.6952, allocations: 38.23 MB / 0.6774 GB, free: 164 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0210299086757]