Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009668/0.0009668, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001024/0.001024, allocations: 168.8 kB / 24.91 MB, free: 9.191 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.9643/0.9643, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2743/0.2743, allocations: 34.26 MB / 296.1 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026e-05/1.146e-05, allocations: 3.016 kB / 325.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.009796/0.009807, allocations: 14.14 MB / 339.4 MB, free: 9.461 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006316/0.01612, allocations: 5.143 MB / 344.6 MB, free: 4.301 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007641/0.01689, allocations: 139.3 kB / 344.7 MB, free: 4.164 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005403/0.02229, allocations: 6.327 MB / 351 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003377/0.02567, allocations: 2.888 MB / 353.9 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.02751, allocations: 1.797 MB / 355.7 MB, free: 9.113 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005795/0.0333, allocations: 9.085 MB / 364.8 MB, free: 20 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004504/0.0378, allocations: 6.315 MB / 371.1 MB, free: 9.574 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003725/0.04153, allocations: 4.448 MB / 375.6 MB, free: 5.117 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003534/0.04506, allocations: 4.256 MB / 379.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005905/0.04565, allocations: 0.5859 MB / 380.4 MB, free: 272 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002015/0.04767, allocations: 1.393 MB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002155/0.04982, allocations: 3.818 MB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00164/0.05146, allocations: 2.294 MB / 387.9 MB, free: 8.742 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006127/0.05759, allocations: 7.582 MB / 395.5 MB, free: 1.133 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.0576, allocations: 0 / 395.5 MB, free: 1.133 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.0576, allocations: 0 / 395.5 MB, free: 1.133 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.542e-05/0.05767, allocations: 0 / 395.5 MB, free: 1.133 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.00726/0.06493, allocations: 7.819 MB / 403.3 MB, free: 9.238 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.06497, allocations: 8.031 kB / 403.3 MB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00359/0.06856, allocations: 1.651 MB / 405 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003393/0.07195, allocations: 3.646 MB / 408.6 MB, free: 3.832 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.07214, allocations: 419 kB / 409 MB, free: 3.422 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005241/0.07266, allocations: 0.543 MB / 409.6 MB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008112/0.08077, allocations: 8.285 MB / 417.9 MB, free: 9.457 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001062/0.08088, allocations: 67.39 kB / 417.9 MB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003758/0.08126, allocations: 267.8 kB / 418.2 MB, free: 9.129 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002008/0.08326, allocations: 2.678 MB / 420.9 MB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006308/0.08957, allocations: 4.074 MB / 424.9 MB, free: 2.336 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3082/0.3978, allocations: 51.07 MB / 476 MB, free: 71.35 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006902/0.4047, allocations: 3.136 MB / 479.1 MB, free: 70.72 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008709/0.4055, allocations: 0.5249 MB / 479.7 MB, free: 70.2 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007998/0.4135, allocations: 5.675 MB / 485.3 MB, free: 64.8 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.4136, allocations: 51.88 kB / 485.4 MB, free: 64.74 MB / 410.8 MB Notification: Performance of pre-optimization done (n=182): time 4.849e-06/0.4136, allocations: 3.031 kB / 485.4 MB, free: 64.74 MB / 410.8 MB Notification: Performance of matching and sorting (n=206): time 0.01642/0.43, allocations: 7.205 MB / 492.6 MB, free: 58.24 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.43, allocations: 149.8 kB / 492.7 MB, free: 58.06 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003779/0.4338, allocations: 4.943 MB / 497.7 MB, free: 53.62 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000286/0.4341, allocations: 61.69 kB / 497.7 MB, free: 53.55 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00155/0.4356, allocations: 4.828 MB / 0.4908 GB, free: 48.9 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006923/0.4363, allocations: 0.8451 MB / 0.4916 GB, free: 48.05 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/0.4374, allocations: 1.593 MB / 0.4932 GB, free: 46.44 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.098e-05/0.4374, allocations: 301.1 kB / 0.4935 GB, free: 46.14 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.4386, allocations: 0.9615 MB / 0.4944 GB, free: 45.17 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002188/0.4408, allocations: 6.129 MB / 0.5004 GB, free: 36.47 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004743/0.4456, allocations: 7.959 MB / 0.5082 GB, free: 26.13 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001036/0.4457, allocations: 55.06 kB / 0.5082 GB, free: 26.08 MB / 410.8 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.006941/0.4526, allocations: 5.669 MB / 0.5137 GB, free: 20.38 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.428e-05/0.4527, allocations: 91.83 kB / 0.5138 GB, free: 20.29 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00011/0.4528, allocations: 188 kB / 0.514 GB, free: 20.11 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001151/0.4529, allocations: 252 kB / 0.5143 GB, free: 19.86 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00331/0.4562, allocations: 1.985 MB / 0.5162 GB, free: 17.87 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001204/0.4563, allocations: 374.5 kB / 0.5166 GB, free: 17.5 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004017/0.4603, allocations: 367.7 kB / 0.5169 GB, free: 17.14 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004574/0.4608, allocations: 456 kB / 0.5173 GB, free: 16.7 MB / 410.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.001834/0.4626, allocations: 0.8357 MB / 0.5182 GB, free: 15.85 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006859/0.4633, allocations: 315.6 kB / 0.5185 GB, free: 15.54 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004514/0.4638, allocations: 498 kB / 0.5189 GB, free: 15.04 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/0.4638, allocations: 20 kB / 0.5189 GB, free: 15.02 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.4638, allocations: 4 kB / 0.519 GB, free: 15.02 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.4638, allocations: 7.969 kB / 0.519 GB, free: 15.01 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009498/0.4733, allocations: 7.934 MB / 0.5267 GB, free: 6.387 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.52e-05/0.4733, allocations: 36 kB / 0.5267 GB, free: 6.352 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006958/0.474, allocations: 383.3 kB / 0.5271 GB, free: 5.977 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.137e-05/0.4741, allocations: 48 kB / 0.5272 GB, free: 5.93 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.623e-05/0.4741, allocations: 80 kB / 0.5272 GB, free: 5.852 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.193e-05/0.4742, allocations: 75.72 kB / 0.5273 GB, free: 5.777 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.867e-05/0.4742, allocations: 59.73 kB / 0.5274 GB, free: 5.719 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.4763, allocations: 2.933 MB / 0.5302 GB, free: 2.121 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.4773, allocations: 0.5393 MB / 0.5307 GB, free: 1.578 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004547/0.4778, allocations: 91.97 kB / 0.5308 GB, free: 1.488 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.4789, allocations: 72 kB / 0.5309 GB, free: 1.418 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.479, allocations: 262.7 kB / 0.5312 GB, free: 1.16 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.517e-05/0.4791, allocations: 96 kB / 0.5312 GB, free: 1.066 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002244/0.4813, allocations: 2.156 MB / 0.5334 GB, free: 14.93 MB / 426.8 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4813, allocations: 4 kB / 0.5334 GB, free: 14.93 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.00535/0.4867, allocations: 1.492 MB / 0.5348 GB, free: 13.44 MB / 426.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.0004792/0.4872, allocations: 235.4 kB / 0.535 GB, free: 13.2 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.004181/0.4914, allocations: 3.212 MB / 0.5382 GB, free: 10.01 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.000255/0.4916, allocations: 136.8 kB / 0.5383 GB, free: 9.875 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006924/0.4923, allocations: 0.5615 MB / 0.5389 GB, free: 9.32 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003389/0.4957, allocations: 0.8007 MB / 0.5396 GB, free: 8.551 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02042/0.5161, allocations: 13.44 MB / 0.5528 GB, free: 10.38 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002874/0.519, allocations: 2.075 MB / 0.5548 GB, free: 8.273 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.002471/0.5215, allocations: 0.7507 MB / 0.5555 GB, free: 7.52 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001188/0.5226, allocations: 0.7979 MB / 0.5563 GB, free: 6.719 MB / 442.8 MB Notification: Performance of SimCode: time 2.825e-06/0.5226, allocations: 0 / 0.5563 GB, free: 6.719 MB / 442.8 MB Notification: Performance of Templates: time 0.07712/0.5998, allocations: 37.37 MB / 0.5928 GB, free: 1.844 MB / 474.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 4.459969975054264]