Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001573/0.001573, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001892/0.001892, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 230.3 MB / 258 MB, free: 8.234 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2388/0.2388, allocations: 46.88 MB / 361.3 MB, free: 4.465 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2")
translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 75.88 kB / 0.497 GB, free: 7.621 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3925, allocations: 66.01 MB / 0.5615 GB, free: 4.648 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01493/0.4074, allocations: 12.02 MB / 0.5733 GB, free: 8.57 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01017/0.4176, allocations: 4.094 MB / 0.5772 GB, free: 4.465 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0031/0.4207, allocations: 87.69 kB / 0.5773 GB, free: 4.379 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.004134/0.4248, allocations: 1.705 MB / 0.579 GB, free: 2.668 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.00465/0.4294, allocations: 1.576 MB / 0.5805 GB, free: 1.086 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.003034/0.4325, allocations: 1.192 MB / 0.5817 GB, free: 15.89 MB / 430.1 MB
Notification: Performance of NFFlatten.flatten: time 0.006969/0.4394, allocations: 3.509 MB / 0.5851 GB, free: 12.38 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.004317/0.4438, allocations: 1.805 MB / 0.5869 GB, free: 10.52 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002822/0.4466, allocations: 1.172 MB / 0.588 GB, free: 9.344 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003387/0.45, allocations: 1.736 MB / 0.5897 GB, free: 7.602 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001145/0.4511, allocations: 236 kB / 0.59 GB, free: 7.371 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.4534, allocations: 0.7372 MB / 0.5907 GB, free: 6.633 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002337/0.4557, allocations: 1.589 MB / 0.5922 GB, free: 5.039 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002532/0.4583, allocations: 1.863 MB / 0.594 GB, free: 3.164 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.008297/0.4666, allocations: 6.146 MB / 0.6 GB, free: 12.99 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.4666, allocations: 0 / 0.6 GB, free: 12.99 MB / 446.1 MB
Notification: Performance of FrontEnd: time 3.106e-06/0.4666, allocations: 0 / 0.6 GB, free: 12.99 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 0.0002246/0.4668, allocations: 0 / 0.6 GB, free: 12.99 MB / 446.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1539
 * Number of variables: 1539
Notification: Performance of Generate backend data structure: time 0.008827/0.4756, allocations: 4.011 MB / 0.604 GB, free: 8.922 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.4757, allocations: 12.03 kB / 0.604 GB, free: 8.91 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/0.4862, allocations: 2.997 MB / 0.6069 GB, free: 5.906 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.005217/0.4914, allocations: 1.767 MB / 0.6086 GB, free: 4.105 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.4916, allocations: 193.1 kB / 0.6088 GB, free: 3.914 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008566/0.4925, allocations: 251.8 kB / 0.6091 GB, free: 3.668 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01856/0.511, allocations: 10.03 MB / 0.6189 GB, free: 8.977 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 6.985e-05/0.5111, allocations: 27.75 kB / 0.6189 GB, free: 8.949 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004325/0.5115, allocations: 127.8 kB / 0.619 GB, free: 8.824 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004203/0.5157, allocations: 2.317 MB / 0.6213 GB, free: 6.504 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0177/0.5334, allocations: 8.919 MB / 0.63 GB, free: 13.58 MB / 478.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05842/0.5918, allocations: 37.48 MB / 0.6666 GB, free: 6.949 MB / 0.4981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.005512/0.5973, allocations: 2.349 MB / 0.6689 GB, free: 4.547 MB / 0.4981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/0.5991, allocations: 1.128 MB / 0.67 GB, free: 3.402 MB / 0.4981 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.008598/0.6077, allocations: 4.716 MB / 0.6746 GB, free: 14.65 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/0.6077, allocations: 59.08 kB / 0.6746 GB, free: 14.59 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=150): time 3.867e-06/0.6077, allocations: 0 / 0.6746 GB, free: 14.59 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=150): time 0.007564/0.6153, allocations: 3.333 MB / 0.6779 GB, free: 11.25 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.6154, allocations: 170.9 kB / 0.6781 GB, free: 11.05 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006137/0.6216, allocations: 3.834 MB / 0.6818 GB, free: 7.219 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001708/0.6217, allocations: 45.64 kB / 0.6818 GB, free: 7.168 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 0.002835/0.6246, allocations: 3.321 MB / 0.6851 GB, free: 3.812 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0007662/0.6253, allocations: 0.6321 MB / 0.6857 GB, free: 3.176 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001783/0.6271, allocations: 1.31 MB / 0.687 GB, free: 1.855 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001483/0.6273, allocations: 301.1 kB / 0.6873 GB, free: 1.559 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002835/0.6301, allocations: 1.957 MB / 0.6892 GB, free: 15.6 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00654/0.6366, allocations: 6.108 MB / 0.6951 GB, free: 7.414 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/0.6477, allocations: 8.792 MB / 0.7037 GB, free: 12.55 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001266/0.6478, allocations: 44 kB / 0.7038 GB, free: 12.51 MB / 0.545 GB
Notification: Performance of matching and sorting (n=849) (initialization): time 0.01463/0.6625, allocations: 7.715 MB / 0.7113 GB, free: 4.785 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.6626, allocations: 74.12 kB / 0.7114 GB, free: 4.715 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002553/0.6629, allocations: 148 kB / 0.7115 GB, free: 4.57 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002271/0.6631, allocations: 192.8 kB / 0.7117 GB, free: 4.383 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004514/0.6676, allocations: 1.462 MB / 0.7131 GB, free: 2.918 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002847/0.6679, allocations: 290.9 kB / 0.7134 GB, free: 2.633 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004594/0.6725, allocations: 0.9306 MB / 0.7143 GB, free: 1.695 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007087/0.6732, allocations: 404 kB / 0.7147 GB, free: 1.301 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 673
 * Number of states: 0 ()
 * Number of discrete variables: 23 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (791):
 * Single equations (assignments): 783
 * Array equations: 8
 * 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.003606/0.6768, allocations: 2.2 MB / 0.7168 GB, free: 15.08 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006166/0.6774, allocations: 329.7 kB / 0.7172 GB, free: 14.76 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009042/0.6783, allocations: 411.1 kB / 0.7176 GB, free: 14.35 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.067e-05/0.6784, allocations: 39.98 kB / 0.7176 GB, free: 14.31 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.6784, allocations: 0 / 0.7176 GB, free: 14.31 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.6784, allocations: 7.984 kB / 0.7176 GB, free: 14.3 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00919/0.6876, allocations: 5.446 MB / 0.7229 GB, free: 8.738 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.6876, allocations: 4 kB / 0.7229 GB, free: 8.734 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009416/0.6885, allocations: 211.7 kB / 0.7231 GB, free: 8.527 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.464e-05/0.6886, allocations: 11.94 kB / 0.7231 GB, free: 8.516 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.281e-05/0.6886, allocations: 24 kB / 0.7232 GB, free: 8.492 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-05/0.6887, allocations: 16.5 kB / 0.7232 GB, free: 8.477 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.6887, allocations: 4 kB / 0.7232 GB, free: 8.473 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003049/0.6917, allocations: 2.554 MB / 0.7257 GB, free: 5.836 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0006815/0.6924, allocations: 309.5 kB / 0.726 GB, free: 5.531 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002834/0.6927, allocations: 35.92 kB / 0.726 GB, free: 5.496 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009413/0.6936, allocations: 63.91 kB / 0.7261 GB, free: 5.434 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.6938, allocations: 84.25 kB / 0.7261 GB, free: 5.352 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.961e-05/0.6939, allocations: 48.05 kB / 0.7262 GB, free: 5.305 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.003284/0.6972, allocations: 2.338 MB / 0.7285 GB, free: 2.98 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 9e-08/0.6972, allocations: 0 / 0.7285 GB, free: 2.98 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.004496/0.7017, allocations: 1.079 MB / 0.7295 GB, free: 1.898 MB / 0.5606 GB
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 (108):
 * Single equations (assignments): 102
 * Array equations: 6
 * 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.0003505/0.702, allocations: 146.9 kB / 0.7297 GB, free: 1.742 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.2898/0.9918, allocations: 4.255 MB / 0.7338 GB, free: 155.8 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.9918, allocations: 0 / 0.7338 GB, free: 155.8 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.001072/0.9928, allocations: 0.8829 MB / 0.7347 GB, free: 155.5 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.9949, allocations: 354.3 kB / 0.735 GB, free: 155.4 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/1.007, allocations: 8.384 MB / 0.7432 GB, free: 151.7 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002717/1.009, allocations: 3.161 MB / 0.7463 GB, free: 150.4 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.003943/1.013, allocations: 2.224 MB / 0.7485 GB, free: 149.2 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004734/1.014, allocations: 222.4 kB / 0.7487 GB, free: 149 MB / 0.5606 GB
Notification: Performance of SimCode: time 1.232e-06/1.014, allocations: 0 / 0.7487 GB, free: 149 MB / 0.5606 GB
Notification: Performance of Templates: time 0.04805/1.062, allocations: 26.39 MB / 0.7744 GB, free: 123.1 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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: 7.013429921120405]