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.001492/0.001492, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001105/0.001105, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.9426/0.9426, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2898/0.2898, allocations: 34.26 MB / 296.1 MB, free: 0.6562 MB / 266.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.743e-06/1.743e-06, allocations: 0 / 325.2 MB, free: 7.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.981e-05, allocations: 3.016 kB / 325.2 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.009783/0.009813, allocations: 11.19 MB / 336.4 MB, free: 12.43 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008448/0.01826, allocations: 4.17 MB / 340.6 MB, free: 8.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.02032, allocations: 87.69 kB / 340.7 MB, free: 8.164 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00259/0.02291, allocations: 1.767 MB / 342.4 MB, free: 6.391 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004124/0.02703, allocations: 1.626 MB / 344.1 MB, free: 4.758 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.02861, allocations: 1.274 MB / 345.3 MB, free: 3.48 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004294/0.0329, allocations: 3.404 MB / 348.7 MB, free: 68 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002325/0.03523, allocations: 2.133 MB / 350.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002081/0.03731, allocations: 1.723 MB / 352.6 MB, free: 12.14 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002283/0.03959, allocations: 1.566 MB / 354.2 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004652/0.04005, allocations: 239.9 kB / 354.4 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.04118, allocations: 0.6787 MB / 355.1 MB, free: 9.652 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00118/0.04235, allocations: 1.651 MB / 356.7 MB, free: 7.996 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.04338, allocations: 0.9535 MB / 357.7 MB, free: 7.039 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004083/0.04746, allocations: 3.805 MB / 361.5 MB, free: 3.219 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.04746, allocations: 0 / 361.5 MB, free: 3.219 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.04747, allocations: 0 / 361.5 MB, free: 3.219 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001127/0.04758, allocations: 4 kB / 361.5 MB, free: 3.215 MB / 330.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.003841/0.05142, allocations: 3.748 MB / 365.2 MB, free: 15.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.05146, allocations: 12.03 kB / 365.3 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003234/0.05469, allocations: 1.312 MB / 366.6 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002383/0.05708, allocations: 1.411 MB / 368 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.05718, allocations: 193.1 kB / 368.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000314/0.05749, allocations: 244.2 kB / 368.4 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00535/0.06284, allocations: 4.665 MB / 373.1 MB, free: 6.895 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.528e-05/0.0629, allocations: 27.75 kB / 373.1 MB, free: 6.867 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002414/0.06314, allocations: 131.8 kB / 373.2 MB, free: 6.738 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002084/0.06522, allocations: 2.01 MB / 375.2 MB, free: 4.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004639/0.06986, allocations: 2.497 MB / 377.7 MB, free: 2.211 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03084/0.1007, allocations: 29.33 MB / 407.1 MB, free: 3.754 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/0.1035, allocations: 1.231 MB / 408.3 MB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004903/0.104, allocations: 295.4 kB / 408.6 MB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005802/0.1098, allocations: 3.469 MB / 412 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.1099, allocations: 55.14 kB / 412.1 MB, free: 14.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=150): time 3.937e-06/0.1099, allocations: 0 / 412.1 MB, free: 14.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=150): time 0.003571/0.1134, allocations: 1.404 MB / 413.5 MB, free: 13.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.026e-05/0.1135, allocations: 166.8 kB / 413.7 MB, free: 13 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002688/0.1162, allocations: 2.71 MB / 416.4 MB, free: 10.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.409e-05/0.1163, allocations: 41.7 kB / 416.4 MB, free: 10.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001962/0.1182, allocations: 3.224 MB / 419.6 MB, free: 6.969 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004371/0.1187, allocations: 0.6164 MB / 420.3 MB, free: 6.348 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001231/0.1199, allocations: 1.219 MB / 421.5 MB, free: 5.117 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.12, allocations: 349.8 kB / 421.8 MB, free: 4.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.1211, allocations: 0.6854 MB / 422.5 MB, free: 4.078 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003309/0.1244, allocations: 4.647 MB / 427.2 MB, free: 13.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005746/0.1301, allocations: 6.109 MB / 433.3 MB, free: 5.172 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.228e-05/0.1302, allocations: 40 kB / 433.3 MB, free: 5.133 MB / 410.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01229/0.1425, allocations: 4.281 MB / 437.6 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.637e-05/0.1426, allocations: 74.02 kB / 437.7 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001338/0.1427, allocations: 148 kB / 437.8 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001491/0.1428, allocations: 196 kB / 438 MB, free: 448 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006123/0.149, allocations: 1.404 MB / 439.4 MB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002236/0.1492, allocations: 294.8 kB / 439.7 MB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006165/0.1553, allocations: 0.853 MB / 440.5 MB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003973/0.1557, allocations: 356 kB / 440.9 MB, free: 13.54 MB / 426.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.004383/0.1601, allocations: 0.6246 MB / 441.5 MB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003561/0.1605, allocations: 179.8 kB / 441.7 MB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003652/0.1609, allocations: 316.4 kB / 442 MB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.871e-05/0.1609, allocations: 35.94 kB / 442 MB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1609, allocations: 8 kB / 442 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.1609, allocations: 11.91 kB / 442 MB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/0.1714, allocations: 2.837 MB / 444.9 MB, free: 9.414 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/0.1715, allocations: 4 kB / 444.9 MB, free: 9.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005827/0.172, allocations: 167.8 kB / 445 MB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.1721, allocations: 11.98 kB / 445.1 MB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-05/0.1721, allocations: 24 kB / 445.1 MB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-05/0.1721, allocations: 12 kB / 445.1 MB, free: 9.199 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.1721, allocations: 7.938 kB / 445.1 MB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.1733, allocations: 1.218 MB / 446.3 MB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003689/0.1737, allocations: 273.7 kB / 446.6 MB, free: 7.613 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003228/0.1769, allocations: 28 kB / 446.6 MB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005971/0.1775, allocations: 27.97 kB / 446.6 MB, free: 7.559 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.1776, allocations: 80.19 kB / 446.7 MB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.493e-05/0.1777, allocations: 36 kB / 446.8 MB, free: 7.445 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001118/0.1788, allocations: 1.03 MB / 447.8 MB, free: 6.418 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1788, allocations: 0 / 447.8 MB, free: 6.418 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009996/0.1888, allocations: 1.102 MB / 448.9 MB, free: 5.312 MB / 426.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.0003365/0.1892, allocations: 144 kB / 449 MB, free: 5.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00327/0.1924, allocations: 2.462 MB / 451.5 MB, free: 2.719 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001578/0.1926, allocations: 100.2 kB / 451.6 MB, free: 2.609 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000356/0.1929, allocations: 303.5 kB / 451.9 MB, free: 2.309 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009989/0.1939, allocations: 320.5 kB / 452.2 MB, free: 2.004 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1374/0.3314, allocations: 6.899 MB / 459.1 MB, free: 124.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008675/0.3322, allocations: 1.153 MB / 460.3 MB, free: 124.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001243/0.3335, allocations: 0.4916 MB / 460.7 MB, free: 124.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005722/0.334, allocations: 459.7 kB / 461.2 MB, free: 124.6 MB / 426.7 MB Notification: Performance of SimCode: time 2.375e-06/0.334, allocations: 6.094 kB / 461.2 MB, free: 124.6 MB / 426.7 MB Notification: Performance of Templates: time 0.03206/0.3661, allocations: 19.35 MB / 480.5 MB, free: 109.5 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 -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.790771136060357]