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.0009898/0.0009898, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.00103/0.00103, allocations: 170.4 kB / 24.91 MB, free: 8.723 MB / 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.8815/0.8815, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.1297/0.1297, allocations: 32.8 MB / 294.6 MB, free: 15.44 MB / 282.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 1.523e-06/1.523e-06, allocations: 0 / 323.2 MB, free: 2.824 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.119e-05, allocations: 10.25 kB / 323.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.008621/0.008642, allocations: 11.19 MB / 334.4 MB, free: 7.562 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00558/0.01422, allocations: 4.154 MB / 338.6 MB, free: 3.395 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006408/0.01486, allocations: 87.69 kB / 338.6 MB, free: 3.309 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.01671, allocations: 1.775 MB / 340.4 MB, free: 1.527 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1425/0.1592, allocations: 1.614 MB / 342 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.1614, allocations: 1.273 MB / 343.3 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004288/0.1657, allocations: 3.417 MB / 346.7 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002321/0.168, allocations: 2.13 MB / 348.9 MB, free: 19.1 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002227/0.1702, allocations: 1.723 MB / 350.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002025/0.1723, allocations: 1.563 MB / 352.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005237/0.1728, allocations: 240.4 kB / 352.4 MB, free: 18.64 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000972/0.1738, allocations: 0.6822 MB / 353.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008377/0.1746, allocations: 1.643 MB / 354.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008202/0.1754, allocations: 0.9578 MB / 355.7 MB, free: 17.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00266/0.1781, allocations: 3.809 MB / 359.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1781, allocations: 0 / 359.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1781, allocations: 2.812 kB / 359.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000172/0.1783, allocations: 0 / 359.5 MB, free: 15.78 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: 1539 * Number of variables: 1539 Notification: Performance of Generate backend data structure: time 0.003304/0.1816, allocations: 3.749 MB / 363.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.1816, allocations: 15.98 kB / 363.2 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002872/0.1845, allocations: 1.303 MB / 364.5 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.1859, allocations: 1.407 MB / 365.9 MB, free: 9.918 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.705e-05/0.186, allocations: 188.3 kB / 366.1 MB, free: 9.773 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002731/0.1862, allocations: 250.2 kB / 366.4 MB, free: 9.574 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003378/0.1896, allocations: 4.667 MB / 371 MB, free: 4.727 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.621e-05/0.1897, allocations: 29.16 kB / 371.1 MB, free: 4.715 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002222/0.1899, allocations: 129.2 kB / 371.2 MB, free: 4.633 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001434/0.1913, allocations: 2.018 MB / 373.2 MB, free: 2.652 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003108/0.1944, allocations: 2.494 MB / 375.7 MB, free: 364 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02067/0.2151, allocations: 29.31 MB / 405 MB, free: 3.043 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/0.2171, allocations: 1.241 MB / 406.3 MB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/0.2174, allocations: 289 kB / 406.5 MB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003732/0.2212, allocations: 3.479 MB / 410 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.2212, allocations: 50.22 kB / 410.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=150): time 2.916e-06/0.2212, allocations: 0 / 410.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=150): time 0.002395/0.2236, allocations: 1.413 MB / 411.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.2237, allocations: 162.9 kB / 411.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/0.2254, allocations: 2.725 MB / 414.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.944e-05/0.2255, allocations: 41.7 kB / 414.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.2268, allocations: 3.216 MB / 417.6 MB, free: 7.008 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003401/0.2271, allocations: 0.6203 MB / 418.2 MB, free: 6.383 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009081/0.228, allocations: 1.216 MB / 419.5 MB, free: 5.156 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.651e-05/0.2281, allocations: 361.8 kB / 419.8 MB, free: 4.797 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007022/0.2288, allocations: 0.6737 MB / 420.5 MB, free: 4.117 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002322/0.2311, allocations: 4.648 MB / 425.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004106/0.2352, allocations: 6.103 MB / 431.2 MB, free: 5.457 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.684e-05/0.2353, allocations: 40 kB / 431.3 MB, free: 5.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.003936/0.2392, allocations: 4.283 MB / 435.6 MB, free: 1.129 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.765e-05/0.2393, allocations: 72 kB / 435.6 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.583e-05/0.2394, allocations: 144 kB / 435.8 MB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001087/0.2395, allocations: 196 kB / 436 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002133/0.2416, allocations: 1.411 MB / 437.4 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001262/0.2417, allocations: 286.9 kB / 437.7 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/0.2436, allocations: 0.8689 MB / 438.5 MB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000276/0.2439, allocations: 348 kB / 438.9 MB, free: 13.82 MB / 394.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.00108/0.245, allocations: 0.6324 MB / 439.5 MB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/0.2452, allocations: 175.8 kB / 439.7 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.2455, allocations: 320.4 kB / 440 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.763e-05/0.2455, allocations: 35.98 kB / 440 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.2455, allocations: 0 / 440 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.2455, allocations: 3.984 kB / 440 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00292/0.2484, allocations: 2.837 MB / 442.9 MB, free: 9.703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.2484, allocations: 4 kB / 442.9 MB, free: 9.699 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/0.2488, allocations: 171.8 kB / 443 MB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.2488, allocations: 8 kB / 443 MB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.2489, allocations: 31.36 kB / 443.1 MB, free: 9.496 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.2489, allocations: 22.22 kB / 443.1 MB, free: 9.477 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.2489, allocations: 4 kB / 443.1 MB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008189/0.2497, allocations: 1.214 MB / 444.3 MB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.2499, allocations: 277.7 kB / 444.6 MB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.2501, allocations: 31.98 kB / 444.6 MB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003875/0.2504, allocations: 20 kB / 444.6 MB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.218e-05/0.2505, allocations: 84.23 kB / 444.7 MB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/0.2506, allocations: 32 kB / 444.7 MB, free: 7.734 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000751/0.2513, allocations: 1.03 MB / 445.8 MB, free: 6.707 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2513, allocations: 0 / 445.8 MB, free: 6.707 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002387/0.2537, allocations: 1.106 MB / 446.9 MB, free: 5.598 MB / 394.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.0002355/0.254, allocations: 148 kB / 447 MB, free: 5.441 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.2559, allocations: 2.453 MB / 449.5 MB, free: 3.012 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001456/0.256, allocations: 96.66 kB / 449.6 MB, free: 2.906 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003016/0.2563, allocations: 322.6 kB / 449.9 MB, free: 2.594 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008559/0.2572, allocations: 288.2 kB / 450.2 MB, free: 2.316 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006419/0.2636, allocations: 6.903 MB / 457.1 MB, free: 11.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008843/0.2645, allocations: 1.149 MB / 458.2 MB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001062/0.2656, allocations: 0.4999 MB / 458.7 MB, free: 9.605 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005525/0.2661, allocations: 463.3 kB / 459.2 MB, free: 9.152 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/0.2661, allocations: 0 / 459.2 MB, free: 9.152 MB / 410.7 MB Notification: Performance of Templates: time 0.03815/0.3043, allocations: 19.37 MB / 478.5 MB, free: 5.996 MB / 426.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.544876765925437]