Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009257/0.0009257, allocations: 80.92 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.0009195/0.0009195, allocations: 169 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.9778/0.9778, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1522/0.1522, allocations: 34.26 MB / 296.1 MB, free: 13.98 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 325.3 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.429e-05, allocations: 4.844 kB / 325.3 MB, free: 0.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.009709/0.009733, allocations: 11.23 MB / 336.5 MB, free: 5.457 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008448/0.01818, allocations: 4.166 MB / 340.7 MB, free: 1.277 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.01969, allocations: 87.69 kB / 340.8 MB, free: 1.191 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1605/0.1802, allocations: 1.741 MB / 342.5 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003591/0.1838, allocations: 1.601 MB / 344.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.1854, allocations: 1.256 MB / 345.4 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003721/0.1891, allocations: 3.417 MB / 348.8 MB, free: 19 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002188/0.1913, allocations: 2.131 MB / 350.9 MB, free: 18.51 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002099/0.1934, allocations: 1.721 MB / 352.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/0.1951, allocations: 1.564 MB / 354.2 MB, free: 17.42 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002711/0.1954, allocations: 235.3 kB / 354.4 MB, free: 17.42 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007809/0.1961, allocations: 0.6993 MB / 355.1 MB, free: 17.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006807/0.1968, allocations: 1.647 MB / 356.8 MB, free: 16.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000538/0.1974, allocations: 0.9548 MB / 357.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002058/0.1994, allocations: 3.816 MB / 361.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1994, allocations: 0 / 361.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1994, allocations: 0 / 361.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.737e-05/0.1995, allocations: 0 / 361.5 MB, free: 12.82 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.002643/0.2021, allocations: 3.739 MB / 365.3 MB, free: 9.418 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.2021, allocations: 12.03 kB / 365.3 MB, free: 9.406 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003008/0.2051, allocations: 1.315 MB / 366.6 MB, free: 8.156 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.2064, allocations: 1.397 MB / 368 MB, free: 6.879 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-05/0.2065, allocations: 192.3 kB / 368.2 MB, free: 6.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/0.2067, allocations: 245.8 kB / 368.4 MB, free: 6.535 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003258/0.21, allocations: 4.666 MB / 373.1 MB, free: 1.688 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.795e-05/0.21, allocations: 32.44 kB / 373.1 MB, free: 1.676 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002158/0.2103, allocations: 130.8 kB / 373.3 MB, free: 1.594 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001459/0.2117, allocations: 2.016 MB / 375.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003624/0.2153, allocations: 2.496 MB / 377.8 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01972/0.2351, allocations: 29.31 MB / 407.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/0.2372, allocations: 1.242 MB / 408.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/0.2376, allocations: 290 kB / 408.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003539/0.2411, allocations: 3.477 MB / 412.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.2411, allocations: 51.16 kB / 412.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=150): time 2.765e-06/0.2411, allocations: 0 / 412.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=150): time 0.002438/0.2436, allocations: 1.408 MB / 413.5 MB, free: 9.555 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.2436, allocations: 174.8 kB / 413.7 MB, free: 9.348 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/0.2454, allocations: 2.713 MB / 416.4 MB, free: 6.875 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.153e-05/0.2454, allocations: 41.7 kB / 416.5 MB, free: 6.828 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.2466, allocations: 3.22 MB / 419.7 MB, free: 3.574 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002935/0.2469, allocations: 0.6164 MB / 420.3 MB, free: 2.953 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008638/0.2477, allocations: 1.216 MB / 421.5 MB, free: 1.727 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.381e-05/0.2478, allocations: 357.8 kB / 421.9 MB, free: 1.371 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007131/0.2485, allocations: 0.6815 MB / 422.6 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002412/0.251, allocations: 4.649 MB / 427.2 MB, free: 9.961 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003942/0.2549, allocations: 6.097 MB / 433.3 MB, free: 1.797 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.025e-05/0.2549, allocations: 40 kB / 433.3 MB, free: 1.758 MB / 378.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.003932/0.2589, allocations: 4.279 MB / 437.6 MB, free: 13.47 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.683e-05/0.2589, allocations: 68 kB / 437.7 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.809e-05/0.259, allocations: 148 kB / 437.8 MB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001055/0.2591, allocations: 200.1 kB / 438 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/0.2613, allocations: 1.474 MB / 439.5 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001295/0.2614, allocations: 282.9 kB / 439.8 MB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.2632, allocations: 0.8605 MB / 440.6 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002718/0.2635, allocations: 344 kB / 441 MB, free: 10.11 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.0008795/0.2644, allocations: 0.6402 MB / 441.6 MB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/0.2646, allocations: 171.8 kB / 441.8 MB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.2649, allocations: 316.4 kB / 442.1 MB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.499e-05/0.2649, allocations: 39.98 kB / 442.1 MB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2649, allocations: 3.938 kB / 442.1 MB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.2649, allocations: 7.984 kB / 442.1 MB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002869/0.2678, allocations: 2.836 MB / 445 MB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.2678, allocations: 8 kB / 445 MB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004143/0.2682, allocations: 171.8 kB / 445.2 MB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.2682, allocations: 8 kB / 445.2 MB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.514e-05/0.2683, allocations: 31.98 kB / 445.2 MB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.2683, allocations: 19.78 kB / 445.2 MB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.2683, allocations: 11.94 kB / 445.2 MB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008174/0.2691, allocations: 1.212 MB / 446.4 MB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.2693, allocations: 285.6 kB / 446.7 MB, free: 4.172 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.2694, allocations: 23.94 kB / 446.7 MB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003739/0.2698, allocations: 28 kB / 446.8 MB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.2699, allocations: 80.23 kB / 446.8 MB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-05/0.2699, allocations: 39.98 kB / 446.9 MB, free: 4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007651/0.2707, allocations: 1.026 MB / 447.9 MB, free: 2.977 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2707, allocations: 4 kB / 447.9 MB, free: 2.973 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002231/0.2729, allocations: 1.106 MB / 449 MB, free: 1.863 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.0002306/0.2732, allocations: 132.1 kB / 449.1 MB, free: 1.723 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001922/0.2751, allocations: 2.464 MB / 451.6 MB, free: 15.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001406/0.2752, allocations: 100.2 kB / 451.7 MB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002897/0.2755, allocations: 304.7 kB / 452 MB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000843/0.2764, allocations: 298.9 kB / 452.3 MB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006197/0.2826, allocations: 6.909 MB / 459.2 MB, free: 7.539 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008509/0.2834, allocations: 1.149 MB / 460.4 MB, free: 6.371 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001033/0.2844, allocations: 0.5049 MB / 460.9 MB, free: 5.867 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005193/0.285, allocations: 447.3 kB / 461.3 MB, free: 5.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/0.285, allocations: 4 kB / 461.3 MB, free: 5.426 MB / 410.7 MB Notification: Performance of Templates: time 0.03109/0.3161, allocations: 19.37 MB / 480.7 MB, free: 2.273 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.5476827691309154]