Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.001898/0.001898, allocations: 102 kB / 21.22 MB, free: 0.6562 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.001869/0.001869, allocations: 185.2 kB / 24.51 MB, free: 4.016 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.558/1.558, allocations: 225.6 MB / 253.3 MB, free: 13.05 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.2469/0.2469, allocations: 44.91 MB / 353.5 MB, free: 11.9 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.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_4.0.0_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.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 67.88 kB / 497.7 MB, free: 1.008 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.4013, allocations: 64.29 MB / 0.5488 GB, free: 13.13 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01713/0.4185, allocations: 12.15 MB / 0.5607 GB, free: 3.219 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01051/0.429, allocations: 4.078 MB / 0.5647 GB, free: 15.13 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003737/0.4327, allocations: 87.69 kB / 0.5647 GB, free: 15.04 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.004112/0.4368, allocations: 1.701 MB / 0.5664 GB, free: 13.34 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004825/0.4417, allocations: 1.596 MB / 0.568 GB, free: 11.73 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002905/0.4446, allocations: 1.219 MB / 0.5692 GB, free: 10.51 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.006551/0.4511, allocations: 3.518 MB / 0.5726 GB, free: 6.988 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.00284/0.454, allocations: 1.817 MB / 0.5744 GB, free: 5.125 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.4561, allocations: 1.195 MB / 0.5755 GB, free: 3.926 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002805/0.4589, allocations: 1.764 MB / 0.5773 GB, free: 2.156 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001051/0.46, allocations: 240 kB / 0.5775 GB, free: 1.922 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.00196/0.4619, allocations: 0.745 MB / 0.5782 GB, free: 1.176 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002021/0.464, allocations: 1.632 MB / 0.5798 GB, free: 15.54 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002746/0.4667, allocations: 1.921 MB / 0.5817 GB, free: 13.61 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.009606/0.4763, allocations: 6.321 MB / 0.5879 GB, free: 7.258 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.4763, allocations: 0 / 0.5879 GB, free: 7.258 MB / 430.1 MB
Notification: Performance of FrontEnd: time 2.254e-06/0.4763, allocations: 0 / 0.5879 GB, free: 7.258 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 0.0002771/0.4766, allocations: 0 / 0.5879 GB, free: 7.258 MB / 430.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1568
 * Number of variables: 1568
Notification: Performance of Generate backend data structure: time 0.01075/0.4874, allocations: 4.115 MB / 0.5919 GB, free: 3.086 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.4874, allocations: 15.97 kB / 0.5919 GB, free: 3.07 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01107/0.4985, allocations: 3.012 MB / 0.5948 GB, free: 52 kB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.006202/0.5047, allocations: 1.786 MB / 0.5966 GB, free: 14.23 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.5049, allocations: 193.2 kB / 0.5968 GB, free: 14.04 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009731/0.5059, allocations: 255.8 kB / 0.597 GB, free: 13.79 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01825/0.5241, allocations: 10.24 MB / 0.607 GB, free: 2.895 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 6.972e-05/0.5242, allocations: 27.75 kB / 0.607 GB, free: 2.867 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004256/0.5246, allocations: 127.8 kB / 0.6071 GB, free: 2.742 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004244/0.5288, allocations: 2.372 MB / 0.6095 GB, free: 372 kB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01842/0.5473, allocations: 9.082 MB / 0.6183 GB, free: 7.273 MB / 462.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05579/0.6031, allocations: 37.91 MB / 0.6553 GB, free: 204 kB / 494.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.005906/0.609, allocations: 2.351 MB / 0.6576 GB, free: 13.79 MB / 0.4981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001973/0.6109, allocations: 1.125 MB / 0.6587 GB, free: 12.65 MB / 0.4981 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.009631/0.6206, allocations: 4.739 MB / 0.6634 GB, free: 7.883 MB / 0.4981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.482e-05/0.6206, allocations: 47.16 kB / 0.6634 GB, free: 7.828 MB / 0.4981 GB
Notification: Performance of pre-optimization done (n=150): time 4.028e-06/0.6206, allocations: 0 / 0.6634 GB, free: 7.828 MB / 0.4981 GB
Notification: Performance of matching and sorting (n=150): time 0.007496/0.6281, allocations: 3.344 MB / 0.6667 GB, free: 4.48 MB / 0.4981 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.6283, allocations: 170.8 kB / 0.6668 GB, free: 4.277 MB / 0.4981 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006216/0.6345, allocations: 3.874 MB / 0.6706 GB, free: 420 kB / 0.4981 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002464/0.6347, allocations: 49.67 kB / 0.6707 GB, free: 364 kB / 0.4981 GB
Notification: Performance of collectInitialEqns (initialization): time 0.003021/0.6377, allocations: 3.372 MB / 0.674 GB, free: 12.95 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001031/0.6388, allocations: 0.6282 MB / 0.6746 GB, free: 12.31 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001925/0.6407, allocations: 1.329 MB / 0.6759 GB, free: 10.97 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001473/0.6408, allocations: 304.9 kB / 0.6762 GB, free: 10.68 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003028/0.6439, allocations: 1.965 MB / 0.6781 GB, free: 8.707 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.006746/0.6506, allocations: 6.148 MB / 0.6841 GB, free: 476 kB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01368/0.6643, allocations: 8.856 MB / 0.6927 GB, free: 5.52 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001798/0.6645, allocations: 40 kB / 0.6928 GB, free: 5.48 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=855) (initialization): time 0.01954/0.684, allocations: 7.775 MB / 0.7004 GB, free: 13.7 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.6842, allocations: 68 kB / 0.7004 GB, free: 13.64 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002963/0.6845, allocations: 152 kB / 0.7006 GB, free: 13.49 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002401/0.6847, allocations: 196 kB / 0.7008 GB, free: 13.3 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005405/0.6901, allocations: 1.462 MB / 0.7022 GB, free: 11.83 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002531/0.6903, allocations: 290.9 kB / 0.7025 GB, free: 11.55 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006108/0.6965, allocations: 0.9469 MB / 0.7034 GB, free: 10.59 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001137/0.6976, allocations: 396 kB / 0.7038 GB, free: 10.21 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 679
 * Number of states: 0 ()
 * Number of discrete variables: 23 (freeMotion.arrow.arrowLine.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 (797):
 * Single equations (assignments): 789
 * 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.005017/0.7026, allocations: 2.242 MB / 0.706 GB, free: 7.953 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008688/0.7035, allocations: 333.7 kB / 0.7063 GB, free: 7.625 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.7047, allocations: 411.4 kB / 0.7067 GB, free: 7.219 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.037e-05/0.7048, allocations: 35.98 kB / 0.7067 GB, free: 7.184 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.948e-05/0.7048, allocations: 4 kB / 0.7067 GB, free: 7.18 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/0.7048, allocations: 11.97 kB / 0.7067 GB, free: 7.168 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/0.7176, allocations: 5.511 MB / 0.7121 GB, free: 1.543 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.363e-05/0.7176, allocations: 8 kB / 0.7121 GB, free: 1.535 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.7186, allocations: 207.7 kB / 0.7123 GB, free: 1.332 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.068e-05/0.7186, allocations: 12 kB / 0.7123 GB, free: 1.32 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/0.7188, allocations: 24 kB / 0.7123 GB, free: 1.297 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.686e-05/0.7188, allocations: 15.94 kB / 0.7124 GB, free: 1.281 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.7188, allocations: 4 kB / 0.7124 GB, free: 1.277 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003476/0.7223, allocations: 2.558 MB / 0.7149 GB, free: 14.62 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0009055/0.7232, allocations: 313.4 kB / 0.7152 GB, free: 14.32 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006105/0.7238, allocations: 23.98 kB / 0.7152 GB, free: 14.29 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/0.7251, allocations: 67.92 kB / 0.7153 GB, free: 14.23 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.7253, allocations: 80.25 kB / 0.7153 GB, free: 14.15 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.7254, allocations: 51.97 kB / 0.7154 GB, free: 14.1 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.004731/0.7302, allocations: 2.358 MB / 0.7177 GB, free: 11.75 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 9e-08/0.7302, allocations: 192 / 0.7177 GB, free: 11.75 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.006352/0.7365, allocations: 1.114 MB / 0.7188 GB, free: 10.64 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.0006339/0.7372, allocations: 158.8 kB / 0.7189 GB, free: 10.47 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.009477/0.7466, allocations: 4.275 MB / 0.7231 GB, free: 6.23 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 1.071e-05/0.7466, allocations: 0 / 0.7231 GB, free: 6.23 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.001586/0.7482, allocations: 0.8761 MB / 0.724 GB, free: 5.359 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00308/0.7513, allocations: 367.1 kB / 0.7243 GB, free: 5.008 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3307/1.082, allocations: 8.493 MB / 0.7326 GB, free: 160.6 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0053/1.087, allocations: 3.216 MB / 0.7357 GB, free: 159.8 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.005057/1.092, allocations: 2.245 MB / 0.7379 GB, free: 159.7 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005536/1.093, allocations: 223.5 kB / 0.7381 GB, free: 159.7 MB / 0.5606 GB
Notification: Performance of SimCode: time 1.713e-06/1.093, allocations: 0 / 0.7381 GB, free: 159.7 MB / 0.5606 GB
Notification: Performance of Templates: time 0.05331/1.146, allocations: 26.82 MB / 0.7643 GB, free: 139.4 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.329841072671115]