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.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.001212/0.001212, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001384/0.001384, allocations: 161 kB / 24.56 MB, free: 20 kB / 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.959/0.959, allocations: 177.2 MB / 205 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 179] 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.2459/0.2459, allocations: 32.81 MB / 294.3 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] 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.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.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.637e-06/3.637e-06, allocations: 3.984 kB / 376 MB, free: 4.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/3.096e-05, allocations: 6.25 kB / 376 MB, free: 4.703 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01288/0.01291, allocations: 11.51 MB / 387.5 MB, free: 9.137 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006491/0.01941, allocations: 4.027 MB / 391.5 MB, free: 5.098 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001578/0.02098, allocations: 91.62 kB / 391.6 MB, free: 5.008 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002799/0.02378, allocations: 1.775 MB / 393.4 MB, free: 3.227 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003697/0.02748, allocations: 1.606 MB / 395 MB, free: 1.613 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.0293, allocations: 1.274 MB / 396.3 MB, free: 344 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004297/0.0336, allocations: 3.564 MB / 399.9 MB, free: 12.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002672/0.03627, allocations: 2.059 MB / 401.9 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00261/0.03888, allocations: 1.719 MB / 403.6 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002148/0.04103, allocations: 1.644 MB / 405.3 MB, free: 7.277 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006011/0.04163, allocations: 236 kB / 405.5 MB, free: 7.047 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.04288, allocations: 0.6787 MB / 406.2 MB, free: 6.367 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001389/0.04427, allocations: 1.651 MB / 407.8 MB, free: 4.711 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001363/0.04563, allocations: 0.9535 MB / 408.8 MB, free: 3.754 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004802/0.05044, allocations: 3.809 MB / 412.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.05044, allocations: 0 / 412.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.05044, allocations: 0 / 412.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001428/0.05059, allocations: 0 / 412.6 MB, free: 15.93 MB / 394.7 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.006014/0.0566, allocations: 4.402 MB / 417 MB, free: 11.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.05665, allocations: 12.03 kB / 417 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008113/0.06476, allocations: 3.485 MB / 420.5 MB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002931/0.06769, allocations: 1.679 MB / 422.2 MB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.06782, allocations: 201.1 kB / 422.4 MB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004481/0.06827, allocations: 240.2 kB / 422.6 MB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008489/0.07676, allocations: 5.561 MB / 428.2 MB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.71e-05/0.07682, allocations: 31.69 kB / 428.2 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003389/0.07716, allocations: 127.8 kB / 428.3 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002735/0.0799, allocations: 2.31 MB / 430.6 MB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007355/0.08725, allocations: 2.977 MB / 433.6 MB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1724/0.2597, allocations: 41.04 MB / 474.7 MB, free: 60.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003569/0.2633, allocations: 1.322 MB / 476 MB, free: 60.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007274/0.264, allocations: 422.7 kB / 476.4 MB, free: 60.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005444/0.2694, allocations: 4.07 MB / 480.5 MB, free: 58.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.2695, allocations: 52.3 kB / 480.5 MB, free: 58.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.528e-06/0.2695, allocations: 0.625 kB / 480.5 MB, free: 58.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.004094/0.2736, allocations: 1.751 MB / 482.3 MB, free: 58.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.2736, allocations: 164.8 kB / 482.4 MB, free: 57.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004088/0.2777, allocations: 3.477 MB / 485.9 MB, free: 56.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.2778, allocations: 47.27 kB / 485.9 MB, free: 56.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001639/0.2795, allocations: 3.48 MB / 489.4 MB, free: 53.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004947/0.2799, allocations: 0.6552 MB / 490.1 MB, free: 53.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0013/0.2813, allocations: 1.42 MB / 491.5 MB, free: 52.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.876e-05/0.2813, allocations: 0.5334 MB / 492 MB, free: 52.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.2826, allocations: 0.6179 MB / 492.6 MB, free: 52.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003232/0.2858, allocations: 6.793 MB / 499.4 MB, free: 43.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005602/0.2914, allocations: 8.187 MB / 0.4957 GB, free: 34.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000119/0.2916, allocations: 41.66 kB / 0.4958 GB, free: 34.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.009523/0.3011, allocations: 5.399 MB / 0.501 GB, free: 32.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.3012, allocations: 68.31 kB / 0.5011 GB, free: 32.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003038/0.3015, allocations: 151.6 kB / 0.5013 GB, free: 32.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002504/0.3018, allocations: 192.5 kB / 0.5014 GB, free: 32.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00347/0.3052, allocations: 1.464 MB / 0.5029 GB, free: 32.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002234/0.3054, allocations: 288 kB / 0.5031 GB, free: 32.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003451/0.3089, allocations: 0.9004 MB / 0.504 GB, free: 31.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005987/0.3095, allocations: 395.8 kB / 0.5044 GB, free: 31.69 MB / 410.7 MB 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.001365/0.3109, allocations: 0.6827 MB / 0.5051 GB, free: 31.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004243/0.3113, allocations: 329.8 kB / 0.5054 GB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.3116, allocations: 322.2 kB / 0.5057 GB, free: 30.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-05/0.3116, allocations: 40.86 kB / 0.5057 GB, free: 30.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.3116, allocations: 2 kB / 0.5057 GB, free: 30.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.3116, allocations: 3.516 kB / 0.5057 GB, free: 30.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005119/0.3168, allocations: 4.038 MB / 0.5097 GB, free: 28.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.3168, allocations: 10.38 kB / 0.5097 GB, free: 28.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004764/0.3172, allocations: 202.5 kB / 0.5099 GB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.3172, allocations: 12.88 kB / 0.5099 GB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-05/0.3173, allocations: 25 kB / 0.5099 GB, free: 28.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.099e-05/0.3173, allocations: 14.7 kB / 0.5099 GB, free: 28.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.3173, allocations: 16.67 kB / 0.5099 GB, free: 28.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.3186, allocations: 1.726 MB / 0.5116 GB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003237/0.3189, allocations: 279.8 kB / 0.5119 GB, free: 27.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.3191, allocations: 31.41 kB / 0.5119 GB, free: 27.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004567/0.3195, allocations: 62.69 kB / 0.512 GB, free: 27.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.3196, allocations: 83.7 kB / 0.5121 GB, free: 27.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.392e-05/0.3197, allocations: 39.62 kB / 0.5121 GB, free: 27.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001316/0.321, allocations: 1.381 MB / 0.5134 GB, free: 26.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.321, allocations: 4 kB / 0.5135 GB, free: 26.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003446/0.3244, allocations: 1.106 MB / 0.5145 GB, free: 26.5 MB / 410.7 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 (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.0003007/0.3247, allocations: 156.2 kB / 0.5147 GB, free: 26.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003816/0.3286, allocations: 2.74 MB / 0.5174 GB, free: 25.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.3286, allocations: 0 / 0.5174 GB, free: 25.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004557/0.329, allocations: 412.1 kB / 0.5178 GB, free: 25.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.3302, allocations: 298 kB / 0.518 GB, free: 25.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007688/0.3379, allocations: 6.8 MB / 0.5247 GB, free: 19.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000891/0.3388, allocations: 1.162 MB / 0.5258 GB, free: 18.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003101/0.3419, allocations: 1.892 MB / 0.5277 GB, free: 17.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003833/0.3423, allocations: 209.8 kB / 0.5279 GB, free: 17.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.824e-06/0.3423, allocations: 0 / 0.5279 GB, free: 17.52 MB / 410.7 MB Notification: Performance of Templates: time 0.03039/0.3726, allocations: 16.85 MB / 0.5443 GB, free: 4.965 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.998624733183533]