Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001944/0.001944, allocations: 109 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.002529/0.002529, allocations: 213.9 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.503/1.503, allocations: 230.3 MB / 258 MB, free: 8.199 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2439/0.2439, allocations: 46.94 MB / 361.4 MB, free: 4.363 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002825/0.002825, allocations: 80.14 kB / 0.4971 GB, free: 7.508 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3979, allocations: 66.06 MB / 0.5617 GB, free: 4.668 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01654/0.4145, allocations: 12 MB / 0.5734 GB, free: 8.609 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01145/0.4259, allocations: 4.117 MB / 0.5774 GB, free: 4.48 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002856/0.4288, allocations: 87.69 kB / 0.5775 GB, free: 4.395 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003952/0.4327, allocations: 1.697 MB / 0.5791 GB, free: 2.691 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004717/0.4375, allocations: 1.561 MB / 0.5807 GB, free: 1.125 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002701/0.4402, allocations: 1.196 MB / 0.5818 GB, free: 15.93 MB / 430.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0059/0.4461, allocations: 3.51 MB / 0.5853 GB, free: 12.41 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002791/0.4489, allocations: 1.802 MB / 0.587 GB, free: 10.55 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.4508, allocations: 1.172 MB / 0.5882 GB, free: 9.375 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002783/0.4536, allocations: 1.736 MB / 0.5899 GB, free: 7.633 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0007244/0.4543, allocations: 240 kB / 0.5901 GB, free: 7.398 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.456, allocations: 0.7334 MB / 0.5908 GB, free: 6.664 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001783/0.4578, allocations: 1.593 MB / 0.5924 GB, free: 5.066 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002116/0.4599, allocations: 1.863 MB / 0.5942 GB, free: 3.191 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.008001/0.4679, allocations: 6.146 MB / 0.6002 GB, free: 13.02 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4679, allocations: 0 / 0.6002 GB, free: 13.02 MB / 446.1 MB
Notification: Performance of FrontEnd: time 1.904e-06/0.4679, allocations: 0 / 0.6002 GB, free: 13.02 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 0.0001758/0.4681, allocations: 0 / 0.6002 GB, free: 13.02 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.009184/0.4772, allocations: 4.015 MB / 0.6041 GB, free: 8.945 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.4773, allocations: 12.03 kB / 0.6041 GB, free: 8.934 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.4877, allocations: 2.993 MB / 0.607 GB, free: 5.934 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.005109/0.4928, allocations: 1.759 MB / 0.6087 GB, free: 4.141 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.493, allocations: 197.1 kB / 0.6089 GB, free: 3.945 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008624/0.4939, allocations: 247.8 kB / 0.6092 GB, free: 3.703 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01995/0.5138, allocations: 10.03 MB / 0.619 GB, free: 9.012 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.62e-05/0.5139, allocations: 31.69 kB / 0.619 GB, free: 8.98 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004325/0.5143, allocations: 131.8 kB / 0.6191 GB, free: 8.852 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004064/0.5184, allocations: 2.31 MB / 0.6214 GB, free: 6.539 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01821/0.5366, allocations: 8.929 MB / 0.6301 GB, free: 13.6 MB / 478.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05215/0.5887, allocations: 37.47 MB / 0.6667 GB, free: 6.984 MB / 0.4981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.005667/0.5944, allocations: 2.353 MB / 0.669 GB, free: 4.578 MB / 0.4981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/0.5962, allocations: 1.132 MB / 0.6701 GB, free: 3.43 MB / 0.4981 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.009033/0.6052, allocations: 4.716 MB / 0.6747 GB, free: 14.68 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.855e-05/0.6053, allocations: 59.14 kB / 0.6748 GB, free: 14.61 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=150): time 3.406e-06/0.6053, allocations: 0 / 0.6748 GB, free: 14.61 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=150): time 0.00779/0.6131, allocations: 3.341 MB / 0.678 GB, free: 11.27 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/0.6132, allocations: 162.9 kB / 0.6782 GB, free: 11.07 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006486/0.6197, allocations: 3.838 MB / 0.6819 GB, free: 7.242 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002547/0.62, allocations: 49.62 kB / 0.682 GB, free: 7.188 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 0.00288/0.6228, allocations: 3.317 MB / 0.6852 GB, free: 3.836 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0009745/0.6238, allocations: 0.636 MB / 0.6858 GB, free: 3.195 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001882/0.6257, allocations: 1.314 MB / 0.6871 GB, free: 1.871 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001737/0.6259, allocations: 305.1 kB / 0.6874 GB, free: 1.57 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003027/0.6289, allocations: 1.953 MB / 0.6893 GB, free: 15.61 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.006845/0.6357, allocations: 6.104 MB / 0.6953 GB, free: 7.43 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01174/0.6475, allocations: 8.791 MB / 0.7039 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001352/0.6476, allocations: 40 kB / 0.7039 GB, free: 12.53 MB / 0.545 GB
Notification: Performance of matching and sorting (n=849) (initialization): time 0.01567/0.6633, allocations: 7.712 MB / 0.7114 GB, free: 4.809 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.6634, allocations: 71.94 kB / 0.7115 GB, free: 4.738 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001975/0.6636, allocations: 156.1 kB / 0.7116 GB, free: 4.586 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/0.6638, allocations: 192 kB / 0.7118 GB, free: 4.398 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004853/0.6687, allocations: 1.458 MB / 0.7133 GB, free: 2.938 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002746/0.6689, allocations: 286.9 kB / 0.7135 GB, free: 2.656 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004755/0.6737, allocations: 0.9383 MB / 0.7144 GB, free: 1.715 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008729/0.6746, allocations: 400 kB / 0.7148 GB, free: 1.324 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.003536/0.6781, allocations: 2.207 MB / 0.717 GB, free: 15.1 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005488/0.6787, allocations: 325.7 kB / 0.7173 GB, free: 14.78 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008139/0.6795, allocations: 407.5 kB / 0.7177 GB, free: 14.38 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.237e-05/0.6795, allocations: 35.98 kB / 0.7177 GB, free: 14.34 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.6795, allocations: 0 / 0.7177 GB, free: 14.34 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.6796, allocations: 7.984 kB / 0.7177 GB, free: 14.34 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009632/0.6892, allocations: 5.446 MB / 0.723 GB, free: 8.766 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/0.6892, allocations: 11.94 kB / 0.723 GB, free: 8.754 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.6903, allocations: 207.7 kB / 0.7232 GB, free: 8.551 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.608e-05/0.6903, allocations: 12.59 kB / 0.7233 GB, free: 8.539 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.573e-05/0.6904, allocations: 32 kB / 0.7233 GB, free: 8.508 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-05/0.6904, allocations: 15.94 kB / 0.7233 GB, free: 8.492 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.6904, allocations: 11.94 kB / 0.7233 GB, free: 8.48 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003278/0.6937, allocations: 2.549 MB / 0.7258 GB, free: 5.852 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0007897/0.6945, allocations: 313.4 kB / 0.7261 GB, free: 5.543 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003058/0.6948, allocations: 31.92 kB / 0.7261 GB, free: 5.512 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.6958, allocations: 63.92 kB / 0.7262 GB, free: 5.449 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.696, allocations: 88.19 kB / 0.7263 GB, free: 5.363 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.6961, allocations: 43.98 kB / 0.7263 GB, free: 5.32 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.00392/0.7, allocations: 2.334 MB / 0.7286 GB, free: 3 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 3.21e-07/0.7, allocations: 0 / 0.7286 GB, free: 3 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.005168/0.7052, allocations: 1.076 MB / 0.7297 GB, free: 1.922 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.0004287/0.7056, allocations: 150.9 kB / 0.7298 GB, free: 1.762 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.3061/1.012, allocations: 4.249 MB / 0.7339 GB, free: 155.8 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 1.036e-05/1.012, allocations: 1.25 kB / 0.7339 GB, free: 155.8 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.001112/1.013, allocations: 0.875 MB / 0.7348 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.002206/1.015, allocations: 355 kB / 0.7351 GB, free: 155.4 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/1.028, allocations: 8.387 MB / 0.7433 GB, free: 151.7 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002885/1.031, allocations: 3.166 MB / 0.7464 GB, free: 150.4 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.00422/1.035, allocations: 2.216 MB / 0.7486 GB, free: 149.3 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005742/1.036, allocations: 222.4 kB / 0.7488 GB, free: 149.1 MB / 0.5606 GB
Notification: Performance of SimCode: time 1.433e-06/1.036, allocations: 0 / 0.7488 GB, free: 149.1 MB / 0.5606 GB
Notification: Performance of Templates: time 0.04767/1.083, allocations: 26.38 MB / 0.7746 GB, free: 123.2 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.264552255161107]