Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001624/0.001624, allocations: 91.22 kB / 20.42 MB, free: 4.145 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.001324/0.001324, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9388/0.9388, allocations: 158.6 MB / 185.7 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1243/0.1243, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.524e-06/2.524e-06, allocations: 3.938 kB / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.908e-05, allocations: 4.281 kB / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01234/0.01237, allocations: 11.98 MB / 359.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008979/0.02135, allocations: 4.004 MB / 363.6 MB, free: 9.395 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.0231, allocations: 87.75 kB / 363.7 MB, free: 9.309 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003509/0.02661, allocations: 1.802 MB / 365.5 MB, free: 7.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00344/0.03005, allocations: 1.692 MB / 367.2 MB, free: 5.801 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.03235, allocations: 1.278 MB / 368.5 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004056/0.0364, allocations: 3.689 MB / 372.2 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002395/0.0388, allocations: 2.153 MB / 374.3 MB, free: 14.62 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002064/0.04086, allocations: 1.82 MB / 376.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002103/0.04297, allocations: 1.746 MB / 377.9 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004065/0.04337, allocations: 256 kB / 378.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.04449, allocations: 0.6904 MB / 378.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001447/0.04593, allocations: 1.765 MB / 380.6 MB, free: 8.336 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.04706, allocations: 1.031 MB / 381.6 MB, free: 7.301 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004542/0.05161, allocations: 4.054 MB / 385.7 MB, free: 3.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.05161, allocations: 0 / 385.7 MB, free: 3.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.05161, allocations: 0 / 385.7 MB, free: 3.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.618e-05/0.05168, allocations: 0 / 385.7 MB, free: 3.23 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.006402/0.05808, allocations: 4.633 MB / 390.3 MB, free: 14.53 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.05812, allocations: 12.02 kB / 390.3 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009799/0.06792, allocations: 3.567 MB / 393.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003165/0.07109, allocations: 1.781 MB / 395.7 MB, free: 9.125 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.07125, allocations: 201.3 kB / 395.9 MB, free: 8.926 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004806/0.07173, allocations: 256.2 kB / 396.1 MB, free: 8.676 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009105/0.08083, allocations: 5.788 MB / 401.9 MB, free: 2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.382e-05/0.08091, allocations: 27.75 kB / 402 MB, free: 1.973 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003762/0.08128, allocations: 131.8 kB / 402.1 MB, free: 1.844 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003511/0.08479, allocations: 2.435 MB / 404.5 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009467/0.09426, allocations: 3.114 MB / 407.6 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04037/0.1346, allocations: 42.1 MB / 449.7 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1513/0.286, allocations: 1.391 MB / 451.1 MB, free: 98.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007468/0.2867, allocations: 434.1 kB / 451.5 MB, free: 98.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005812/0.2925, allocations: 4.281 MB / 455.8 MB, free: 96.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/0.2926, allocations: 59.86 kB / 455.9 MB, free: 96.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=153): time 4.709e-06/0.2926, allocations: 0.875 kB / 455.9 MB, free: 96.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=153): time 0.003657/0.2962, allocations: 1.772 MB / 457.7 MB, free: 96.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.2963, allocations: 166.5 kB / 457.8 MB, free: 96.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003535/0.2998, allocations: 3.576 MB / 461.4 MB, free: 96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.495e-05/0.2999, allocations: 49.17 kB / 461.4 MB, free: 95.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001399/0.3013, allocations: 3.637 MB / 465.1 MB, free: 93.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003828/0.3017, allocations: 0.6745 MB / 465.8 MB, free: 93.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009718/0.3027, allocations: 1.473 MB / 467.2 MB, free: 92.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.486e-05/0.3028, allocations: 0.5319 MB / 467.8 MB, free: 92.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009446/0.3037, allocations: 0.6372 MB / 468.4 MB, free: 92.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002549/0.3062, allocations: 7.037 MB / 475.4 MB, free: 83.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005722/0.312, allocations: 8.482 MB / 483.9 MB, free: 73.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001279/0.3121, allocations: 40 kB / 484 MB, free: 73.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.00797/0.3201, allocations: 5.584 MB / 489.5 MB, free: 68.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.744e-05/0.3201, allocations: 72 kB / 489.6 MB, free: 68.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001583/0.3203, allocations: 155.9 kB / 489.8 MB, free: 68.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001375/0.3204, allocations: 200 kB / 490 MB, free: 68.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003261/0.3237, allocations: 1.51 MB / 491.5 MB, free: 67.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001633/0.3239, allocations: 296.8 kB / 491.8 MB, free: 66.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00367/0.3275, allocations: 0.9318 MB / 492.7 MB, free: 65.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004161/0.3279, allocations: 415.8 kB / 493.1 MB, free: 65.51 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 21 (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 (819): * Single equations (assignments): 811 * 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.001279/0.3292, allocations: 0.6849 MB / 493.8 MB, free: 64.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003686/0.3296, allocations: 348.1 kB / 494.1 MB, free: 64.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.3299, allocations: 330.8 kB / 494.4 MB, free: 64.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-05/0.3299, allocations: 36 kB / 494.5 MB, free: 64.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/0.33, allocations: 0 / 494.5 MB, free: 64.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.33, allocations: 7.547 kB / 494.5 MB, free: 64.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00553/0.3355, allocations: 4.164 MB / 498.7 MB, free: 60.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.3355, allocations: 11.59 kB / 498.7 MB, free: 60.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006641/0.3362, allocations: 212.6 kB / 498.9 MB, free: 60.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/0.3362, allocations: 11.83 kB / 498.9 MB, free: 60.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.416e-05/0.3362, allocations: 31.94 kB / 498.9 MB, free: 60.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.276e-05/0.3363, allocations: 23.23 kB / 498.9 MB, free: 60.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/0.3363, allocations: 11.94 kB / 498.9 MB, free: 60.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.3378, allocations: 1.768 MB / 0.489 GB, free: 58.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/0.3382, allocations: 289.5 kB / 0.4893 GB, free: 58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/0.3384, allocations: 29.91 kB / 0.4893 GB, free: 57.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007192/0.3391, allocations: 67.52 kB / 0.4894 GB, free: 57.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.3393, allocations: 93.16 kB / 0.4894 GB, free: 57.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-05/0.3394, allocations: 43.66 kB / 0.4895 GB, free: 57.83 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001563/0.3409, allocations: 1.425 MB / 0.4909 GB, free: 56.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3409, allocations: 0 / 0.4909 GB, free: 56.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004084/0.345, allocations: 1.171 MB / 0.492 GB, free: 55.29 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 105 * 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.0003161/0.3453, allocations: 161.4 kB / 0.4922 GB, free: 55.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004353/0.3497, allocations: 2.828 MB / 0.4949 GB, free: 52.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.3497, allocations: 0 / 0.4949 GB, free: 52.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007173/0.3504, allocations: 420 kB / 0.4953 GB, free: 51.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/0.3522, allocations: 308.2 kB / 0.4956 GB, free: 51.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009742/0.3619, allocations: 7.118 MB / 0.5026 GB, free: 44.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/0.3632, allocations: 1.225 MB / 0.5038 GB, free: 43.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003434/0.3666, allocations: 1.935 MB / 0.5057 GB, free: 41.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005004/0.3671, allocations: 220.5 kB / 0.5059 GB, free: 40.93 MB / 378.7 MB Notification: Performance of SimCode: time 2.124e-06/0.3671, allocations: 0 / 0.5059 GB, free: 40.93 MB / 378.7 MB Notification: Performance of Templates: time 0.03399/0.4011, allocations: 17.89 MB / 0.5233 GB, free: 23.25 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.9634881550446153]