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.0007669/0.0007669, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001075/0.001841, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0007304/0.0007304, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000921/0.001651, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9064/0.9064, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1653/1.072, allocations: 49.5 MB / 220.5 MB, free: 5.273 MB / 218.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.1311/0.1311, allocations: 32.34 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02455/0.1557, allocations: 12.3 MB / 265.9 MB, free: 7.836 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 1.623e-06/1.623e-06, allocations: 3.938 kB / 267.2 MB, free: 6.551 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.96e-05, allocations: 2.312 kB / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01126/0.01128, allocations: 11.79 MB / 279 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006523/0.01781, allocations: 4.194 MB / 283.2 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.01906, allocations: 83.75 kB / 283.3 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.0209, allocations: 1.743 MB / 285 MB, free: 4.656 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002338/0.02324, allocations: 1.695 MB / 286.7 MB, free: 2.953 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.02452, allocations: 1.2 MB / 287.9 MB, free: 1.75 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003037/0.02756, allocations: 3.532 MB / 291.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.02902, allocations: 2.067 MB / 293.5 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.03038, allocations: 1.861 MB / 295.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.03174, allocations: 1.648 MB / 297 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000264/0.03201, allocations: 256 kB / 297.3 MB, free: 8.305 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008305/0.03284, allocations: 0.706 MB / 298 MB, free: 7.598 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.03395, allocations: 1.601 MB / 299.6 MB, free: 5.992 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006649/0.03461, allocations: 0.8603 MB / 300.4 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002517/0.03713, allocations: 3.847 MB / 304.3 MB, free: 1.266 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.03714, allocations: 0 / 304.3 MB, free: 1.266 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.03714, allocations: 0 / 304.3 MB, free: 1.266 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.531e-05/0.03719, allocations: 4 kB / 304.3 MB, free: 1.262 MB / 298.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.003912/0.0411, allocations: 4.791 MB / 309.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.04113, allocations: 12.03 kB / 309.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00321/0.04434, allocations: 1.374 MB / 310.5 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.04589, allocations: 1.446 MB / 311.9 MB, free: 9.531 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.046, allocations: 205.3 kB / 312.1 MB, free: 9.328 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002979/0.0463, allocations: 256.2 kB / 312.4 MB, free: 9.078 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004437/0.05073, allocations: 4.862 MB / 317.2 MB, free: 3.555 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.838e-05/0.05078, allocations: 31.69 kB / 317.2 MB, free: 3.523 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002276/0.05101, allocations: 131.8 kB / 317.4 MB, free: 3.395 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002017/0.05302, allocations: 2.139 MB / 319.5 MB, free: 1.254 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003386/0.05641, allocations: 2.607 MB / 322.1 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1801/0.2365, allocations: 30.13 MB / 352.2 MB, free: 17.15 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.2386, allocations: 1.274 MB / 353.5 MB, free: 16.89 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004036/0.239, allocations: 313.4 kB / 353.8 MB, free: 16.85 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004245/0.2433, allocations: 3.611 MB / 357.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.2433, allocations: 45.72 kB / 357.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=153): time 3.236e-06/0.2433, allocations: 0 / 357.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=153): time 0.002374/0.2457, allocations: 1.402 MB / 358.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.2457, allocations: 169.2 kB / 359.1 MB, free: 15.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/0.2475, allocations: 2.796 MB / 361.8 MB, free: 14.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/0.2476, allocations: 44.64 kB / 361.9 MB, free: 14.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009707/0.2486, allocations: 3.37 MB / 365.3 MB, free: 12.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002867/0.2488, allocations: 0.6265 MB / 365.9 MB, free: 11.81 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/0.2499, allocations: 1.263 MB / 367.2 MB, free: 11.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.826e-05/0.2499, allocations: 357.6 kB / 367.5 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007138/0.2507, allocations: 0.6923 MB / 368.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/0.2523, allocations: 4.823 MB / 373 MB, free: 5.773 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003602/0.2559, allocations: 6.311 MB / 379.3 MB, free: 88 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.903e-05/0.2559, allocations: 45.41 kB / 379.4 MB, free: 88 kB / 330.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.004245/0.2602, allocations: 4.441 MB / 383.8 MB, free: 15.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.219e-05/0.2603, allocations: 68 kB / 383.9 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000142/0.2604, allocations: 156 kB / 384 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/0.2605, allocations: 203.9 kB / 384.2 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002535/0.2631, allocations: 1.623 MB / 385.9 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001627/0.2632, allocations: 300.2 kB / 386.1 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/0.2656, allocations: 0.8865 MB / 387 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004304/0.2661, allocations: 361.5 kB / 387.4 MB, free: 12.47 MB / 346.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.001245/0.2673, allocations: 0.648 MB / 388 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003449/0.2677, allocations: 179.1 kB / 388.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003964/0.268, allocations: 330.1 kB / 388.5 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.953e-05/0.2681, allocations: 39.81 kB / 388.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.2681, allocations: 8 kB / 388.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.2681, allocations: 7.969 kB / 388.6 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004414/0.2725, allocations: 2.949 MB / 391.5 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.527e-06/0.2725, allocations: 8 kB / 391.5 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006508/0.2732, allocations: 196.6 kB / 391.7 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.2735, allocations: 284.5 kB / 392 MB, free: 8.855 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.501e-05/0.2735, allocations: 15.94 kB / 392 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.057e-05/0.2736, allocations: 24 kB / 392.1 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.45e-05/0.2736, allocations: 15.98 kB / 392.1 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.2736, allocations: 7.938 kB / 392.1 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.2749, allocations: 1.252 MB / 393.3 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002329/0.2751, allocations: 28.16 kB / 393.4 MB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006188/0.2757, allocations: 31.94 kB / 393.4 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.2759, allocations: 84.23 kB / 393.5 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.468e-05/0.2759, allocations: 42.44 kB / 393.5 MB, free: 7.297 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001072/0.277, allocations: 1.061 MB / 394.6 MB, free: 6.375 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.277, allocations: 0 / 394.6 MB, free: 6.375 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003628/0.2806, allocations: 1.173 MB / 395.7 MB, free: 5.207 MB / 346.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.000284/0.2809, allocations: 146.9 kB / 395.9 MB, free: 5.059 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003244/0.2842, allocations: 2.536 MB / 398.4 MB, free: 2.621 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002248/0.2844, allocations: 120.1 kB / 398.5 MB, free: 2.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004301/0.2848, allocations: 312.1 kB / 398.8 MB, free: 2.203 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.2862, allocations: 499.3 kB / 399.3 MB, free: 1.723 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.2968, allocations: 7.395 MB / 406.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.2981, allocations: 1.209 MB / 407.9 MB, free: 8.977 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001557/0.2997, allocations: 0.5169 MB / 408.5 MB, free: 8.492 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000725/0.3004, allocations: 475.3 kB / 408.9 MB, free: 8.027 MB / 362.7 MB Notification: Performance of SimCode: time 1.513e-06/0.3004, allocations: 0 / 408.9 MB, free: 8.027 MB / 362.7 MB Notification: Performance of Templates: time 0.03702/0.3374, allocations: 20.03 MB / 428.9 MB, free: 4.203 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 -ignoreHideResult -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.601038306951523]