Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 186.2 kB / 24.51 MB, free: 4.031 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
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.2416/0.2416, allocations: 44.91 MB / 353.5 MB, free: 11.89 MB / 286.1 MB
"
[Timeout remaining time 179]
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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3")
translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 63.91 kB / 497.7 MB, free: 1.004 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3625, allocations: 64.29 MB / 0.5488 GB, free: 13.12 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01478/0.3772, allocations: 9.818 MB / 0.5584 GB, free: 5.465 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007915/0.3852, allocations: 2.962 MB / 0.5613 GB, free: 2.578 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002191/0.3874, allocations: 59.81 kB / 0.5614 GB, free: 2.52 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.004684/0.392, allocations: 2.021 MB / 0.5633 GB, free: 0.4922 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003651/0.3957, allocations: 1.164 MB / 0.5645 GB, free: 15.32 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0008734/0.3966, allocations: 283.5 kB / 0.5647 GB, free: 15.05 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003726/0.4003, allocations: 2.329 MB / 0.567 GB, free: 12.71 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002613/0.4029, allocations: 1.648 MB / 0.5686 GB, free: 11.02 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.4042, allocations: 0.9073 MB / 0.5695 GB, free: 10.11 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001904/0.4061, allocations: 1.281 MB / 0.5708 GB, free: 8.828 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0005057/0.4066, allocations: 200 kB / 0.5709 GB, free: 8.633 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.4082, allocations: 0.7332 MB / 0.5717 GB, free: 7.898 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001234/0.4094, allocations: 1.188 MB / 0.5728 GB, free: 6.707 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001667/0.4111, allocations: 1.351 MB / 0.5741 GB, free: 5.348 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.006101/0.4172, allocations: 4.47 MB / 0.5785 GB, free: 0.8594 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.4172, allocations: 0 / 0.5785 GB, free: 0.8594 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.433e-06/0.4172, allocations: 0 / 0.5785 GB, free: 0.8594 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 0.0001368/0.4173, allocations: 0 / 0.5785 GB, free: 0.8594 MB / 414.1 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.00613/0.4234, allocations: 2.952 MB / 0.5814 GB, free: 13.86 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.4235, allocations: 8.922 kB / 0.5814 GB, free: 13.85 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00566/0.4291, allocations: 1.602 MB / 0.583 GB, free: 12.25 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003525/0.4327, allocations: 1.286 MB / 0.5842 GB, free: 10.93 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/0.4329, allocations: 156 kB / 0.5844 GB, free: 10.78 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008009/0.4337, allocations: 191.8 kB / 0.5845 GB, free: 10.59 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01419/0.4478, allocations: 6.436 MB / 0.5908 GB, free: 3.883 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.97e-05/0.4479, allocations: 11.88 kB / 0.5908 GB, free: 3.871 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002624/0.4482, allocations: 91.91 kB / 0.5909 GB, free: 3.781 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002618/0.4508, allocations: 1.403 MB / 0.5923 GB, free: 2.375 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01127/0.462, allocations: 5.487 MB / 0.5977 GB, free: 12.88 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03404/0.4961, allocations: 20.37 MB / 0.6176 GB, free: 7.914 MB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.004551/0.5006, allocations: 1.558 MB / 0.6191 GB, free: 6.336 MB / 462.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.5018, allocations: 0.6368 MB / 0.6197 GB, free: 5.695 MB / 462.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.007168/0.509, allocations: 3.055 MB / 0.6227 GB, free: 2.613 MB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.509, allocations: 38.94 kB / 0.6227 GB, free: 2.566 MB / 462.1 MB
Notification: Performance of pre-optimization done (n=78): time 5.531e-06/0.509, allocations: 3.984 kB / 0.6227 GB, free: 2.562 MB / 462.1 MB
Notification: Performance of matching and sorting (n=78): time 0.005783/0.5148, allocations: 1.986 MB / 0.6247 GB, free: 0.5742 MB / 462.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.5149, allocations: 55.84 kB / 0.6247 GB, free: 0.5078 MB / 462.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00429/0.5192, allocations: 1.967 MB / 0.6266 GB, free: 14.54 MB / 478.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.5193, allocations: 41.67 kB / 0.6267 GB, free: 14.49 MB / 478.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001781/0.5211, allocations: 1.954 MB / 0.6286 GB, free: 12.52 MB / 478.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004932/0.5216, allocations: 329.5 kB / 0.6289 GB, free: 12.19 MB / 478.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001329/0.5229, allocations: 0.6235 MB / 0.6295 GB, free: 11.56 MB / 478.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002205/0.5231, allocations: 357.9 kB / 0.6298 GB, free: 11.2 MB / 478.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.5247, allocations: 0.8959 MB / 0.6307 GB, free: 10.3 MB / 478.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003304/0.528, allocations: 2.77 MB / 0.6334 GB, free: 6.594 MB / 478.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005122/0.5331, allocations: 4 MB / 0.6373 GB, free: 1.652 MB / 478.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.488e-05/0.5331, allocations: 20 kB / 0.6374 GB, free: 1.633 MB / 478.1 MB
Notification: Performance of matching and sorting (n=399) (initialization): time 0.006158/0.5393, allocations: 3.569 MB / 0.6408 GB, free: 14.05 MB / 494.1 MB
Notification: Performance of prepare postOptimizeDAE: time 6.037e-05/0.5393, allocations: 37.25 kB / 0.6409 GB, free: 14.02 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.221e-05/0.5394, allocations: 64 kB / 0.6409 GB, free: 13.96 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001131/0.5396, allocations: 91.94 kB / 0.641 GB, free: 13.87 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002023/0.5416, allocations: 0.6667 MB / 0.6417 GB, free: 13.2 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001309/0.5417, allocations: 127.5 kB / 0.6418 GB, free: 13.07 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.5437, allocations: 429 kB / 0.6422 GB, free: 12.65 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002951/0.544, allocations: 188 kB / 0.6424 GB, free: 12.47 MB / 494.1 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.002045/0.546, allocations: 1.377 MB / 0.6437 GB, free: 11.08 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002771/0.5463, allocations: 170.8 kB / 0.6439 GB, free: 10.91 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004166/0.5467, allocations: 201.2 kB / 0.6441 GB, free: 10.71 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/0.5467, allocations: 8 kB / 0.6441 GB, free: 10.71 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.5467, allocations: 3.938 kB / 0.6441 GB, free: 10.7 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.5467, allocations: 0 / 0.6441 GB, free: 10.7 MB / 494.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007874/0.5546, allocations: 4.113 MB / 0.6481 GB, free: 6.461 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/0.5546, allocations: 8 kB / 0.6481 GB, free: 6.453 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004268/0.555, allocations: 99.81 kB / 0.6482 GB, free: 6.355 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-05/0.5551, allocations: 8.75 kB / 0.6482 GB, free: 6.348 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-05/0.5551, allocations: 20 kB / 0.6482 GB, free: 6.328 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.296e-05/0.5551, allocations: 15.94 kB / 0.6483 GB, free: 6.312 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/0.5551, allocations: 7.938 kB / 0.6483 GB, free: 6.305 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.5569, allocations: 1.255 MB / 0.6495 GB, free: 4.953 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005051/0.5574, allocations: 178.6 kB / 0.6497 GB, free: 4.777 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002822/0.5576, allocations: 19.98 kB / 0.6497 GB, free: 4.758 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006047/0.5582, allocations: 27.97 kB / 0.6497 GB, free: 4.73 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.5583, allocations: 55.81 kB / 0.6498 GB, free: 4.676 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.445e-05/0.5584, allocations: 31.98 kB / 0.6498 GB, free: 4.645 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.002139/0.5605, allocations: 1.287 MB / 0.651 GB, free: 3.367 MB / 494.1 MB
Notification: Performance of sort global known variables: time 1.2e-07/0.5605, allocations: 3.938 kB / 0.651 GB, free: 3.363 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.002627/0.5632, allocations: 0.7202 MB / 0.6518 GB, free: 2.641 MB / 494.1 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.0003333/0.5635, allocations: 139 kB / 0.6519 GB, free: 2.492 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.003223/0.5667, allocations: 1.972 MB / 0.6538 GB, free: 0.5352 MB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.5667, allocations: 0 / 0.6538 GB, free: 0.5352 MB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005824/0.5673, allocations: 421.5 kB / 0.6542 GB, free: 128 kB / 494.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.5687, allocations: 249.5 kB / 0.6544 GB, free: 15.89 MB / 0.4981 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009083/0.5777, allocations: 5.2 MB / 0.6595 GB, free: 10.57 MB / 0.4981 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003084/0.5808, allocations: 2.32 MB / 0.6618 GB, free: 8.223 MB / 0.4981 GB
Notification: Performance of simCode: alias equations: time 0.002228/0.583, allocations: 0.9638 MB / 0.6627 GB, free: 7.254 MB / 0.4981 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003818/0.5834, allocations: 123.4 kB / 0.6629 GB, free: 7.133 MB / 0.4981 GB
Notification: Performance of SimCode: time 1.433e-06/0.5834, allocations: 0 / 0.6629 GB, free: 7.133 MB / 0.4981 GB
Notification: Performance of Templates: time 0.03732/0.6207, allocations: 17.51 MB / 0.6799 GB, free: 5.656 MB / 0.5137 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 6.01689582131803]