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.001023/0.001023, allocations: 80.98 kB / 20.65 MB, free: 3.84 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.001019/0.001019, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9253/0.9253, allocations: 158.6 MB / 185.9 MB, free: 2.391 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.1317/0.1317, allocations: 32.37 MB / 270.7 MB, free: 14.51 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.284e-06/2.284e-06, allocations: 0 / 348.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.962e-05, allocations: 2.312 kB / 348.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01211/0.01214, allocations: 11.66 MB / 359.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007273/0.01942, allocations: 3.973 MB / 363.7 MB, free: 9.492 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.021, allocations: 87.69 kB / 363.8 MB, free: 9.406 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002041/0.02304, allocations: 1.775 MB / 365.6 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002427/0.02547, allocations: 1.691 MB / 367.3 MB, free: 5.926 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.0267, allocations: 1.266 MB / 368.6 MB, free: 4.656 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002929/0.02963, allocations: 3.697 MB / 372.3 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/0.03122, allocations: 2.145 MB / 374.4 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.03273, allocations: 1.824 MB / 376.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.03421, allocations: 1.753 MB / 378 MB, free: 11.17 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002931/0.03451, allocations: 255.9 kB / 378.2 MB, free: 10.92 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008287/0.03534, allocations: 0.6943 MB / 378.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001205/0.03654, allocations: 1.757 MB / 380.7 MB, free: 8.465 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001439/0.03798, allocations: 1.035 MB / 381.7 MB, free: 7.426 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003722/0.0417, allocations: 4.058 MB / 385.8 MB, free: 3.352 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.04171, allocations: 0 / 385.8 MB, free: 3.352 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.04171, allocations: 3.938 kB / 385.8 MB, free: 3.348 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.611e-05/0.0418, allocations: 0 / 385.8 MB, free: 3.348 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.004516/0.04632, allocations: 4.597 MB / 390.4 MB, free: 14.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.04636, allocations: 8.031 kB / 390.4 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003929/0.05029, allocations: 1.781 MB / 392.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002638/0.05293, allocations: 1.597 MB / 393.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.05303, allocations: 201.3 kB / 393.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003119/0.05335, allocations: 256.2 kB / 394.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006424/0.05977, allocations: 5.372 MB / 399.6 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.121e-05/0.05982, allocations: 35.69 kB / 399.6 MB, free: 4.508 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002607/0.06008, allocations: 127.8 kB / 399.7 MB, free: 4.383 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001863/0.06195, allocations: 2.135 MB / 401.9 MB, free: 2.238 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005842/0.06779, allocations: 2.542 MB / 404.4 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03324/0.101, allocations: 41.55 MB / 446 MB, free: 4.676 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/0.1036, allocations: 1.276 MB / 447.2 MB, free: 3.336 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004715/0.104, allocations: 373.5 kB / 447.6 MB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1544/0.2585, allocations: 4.114 MB / 451.7 MB, free: 98.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.2585, allocations: 50.39 kB / 451.8 MB, free: 98.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=153): time 4.017e-06/0.2585, allocations: 0 / 451.8 MB, free: 98.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=153): time 0.003051/0.2615, allocations: 1.637 MB / 453.4 MB, free: 98.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.2616, allocations: 171.8 kB / 453.6 MB, free: 98.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0041/0.2657, allocations: 3.583 MB / 457.2 MB, free: 98.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001684/0.2659, allocations: 40.42 kB / 457.2 MB, free: 98.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001417/0.2673, allocations: 3.668 MB / 460.9 MB, free: 96.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000523/0.2678, allocations: 0.6763 MB / 461.5 MB, free: 95.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/0.269, allocations: 1.498 MB / 463 MB, free: 95.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.239e-05/0.2691, allocations: 0.5363 MB / 463.6 MB, free: 95.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005672/0.2696, allocations: 0.5033 MB / 464.1 MB, free: 95.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002094/0.2717, allocations: 6.934 MB / 471 MB, free: 86.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00414/0.2759, allocations: 8.32 MB / 479.3 MB, free: 77.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001421/0.276, allocations: 48.47 kB / 479.4 MB, free: 77.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.006544/0.2825, allocations: 5.21 MB / 484.6 MB, free: 74.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.631e-05/0.2826, allocations: 68 kB / 484.7 MB, free: 74.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/0.2827, allocations: 156 kB / 484.8 MB, free: 73.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001021/0.2828, allocations: 203.1 kB / 485 MB, free: 73.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/0.2849, allocations: 1.458 MB / 486.5 MB, free: 72.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001096/0.2851, allocations: 300.1 kB / 486.8 MB, free: 72.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002782/0.2878, allocations: 0.8837 MB / 487.6 MB, free: 71.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002998/0.2881, allocations: 367.5 kB / 488 MB, free: 70.98 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.001156/0.2893, allocations: 0.694 MB / 488.7 MB, free: 70.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/0.2896, allocations: 337.9 kB / 489 MB, free: 69.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.2898, allocations: 331.9 kB / 489.3 MB, free: 69.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.852e-05/0.2899, allocations: 43.03 kB / 489.4 MB, free: 69.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/0.2899, allocations: 2.844 kB / 489.4 MB, free: 69.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.2899, allocations: 7.656 kB / 489.4 MB, free: 69.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004356/0.2942, allocations: 4.099 MB / 493.5 MB, free: 65.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.2942, allocations: 4.75 kB / 493.5 MB, free: 65.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004269/0.2947, allocations: 170.8 kB / 493.7 MB, free: 65.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/0.2947, allocations: 16 kB / 493.7 MB, free: 65.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.2947, allocations: 28 kB / 493.7 MB, free: 65.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/0.2947, allocations: 19.88 kB / 493.7 MB, free: 65.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.2947, allocations: 8 kB / 493.7 MB, free: 65.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009449/0.2957, allocations: 1.7 MB / 495.4 MB, free: 63.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/0.296, allocations: 285.5 kB / 495.7 MB, free: 63.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.2962, allocations: 24 kB / 495.7 MB, free: 63.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000427/0.2966, allocations: 31.98 kB / 495.8 MB, free: 63.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.296e-05/0.2967, allocations: 96.11 kB / 495.9 MB, free: 63.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/0.2967, allocations: 36 kB / 495.9 MB, free: 63.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008939/0.2976, allocations: 1.336 MB / 497.2 MB, free: 62.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2976, allocations: 0 / 497.2 MB, free: 62.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003088/0.3007, allocations: 1.173 MB / 498.4 MB, free: 60.86 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.0002547/0.301, allocations: 162.8 kB / 498.6 MB, free: 60.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00277/0.3037, allocations: 2.671 MB / 0.4895 GB, free: 58.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.3038, allocations: 0 / 0.4895 GB, free: 58.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.3041, allocations: 375.6 kB / 0.4899 GB, free: 57.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.3052, allocations: 310.3 kB / 0.4901 GB, free: 57.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007721/0.3129, allocations: 7.08 MB / 0.4971 GB, free: 50.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.314, allocations: 1.221 MB / 0.4983 GB, free: 48.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001301/0.3153, allocations: 0.5138 MB / 0.4988 GB, free: 48.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004872/0.3157, allocations: 0.4904 MB / 0.4992 GB, free: 47.87 MB / 378.7 MB Notification: Performance of SimCode: time 1.513e-06/0.3157, allocations: 0 / 0.4992 GB, free: 47.87 MB / 378.7 MB Notification: Performance of Templates: time 0.03557/0.3513, allocations: 19.79 MB / 0.5186 GB, free: 28.2 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.884849111083895]