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.001053/0.001053, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001187/0.001187, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.9635/0.9635, allocations: 177.2 MB / 206.1 MB, free: 4.477 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.1309/0.1309, allocations: 32.8 MB / 295.4 MB, free: 15.36 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.803e-06/1.803e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.264e-05/1.445e-05, allocations: 2.312 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.006846/0.006861, allocations: 11.18 MB / 388.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005508/0.01237, allocations: 3.978 MB / 392.4 MB, free: 10.35 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.01349, allocations: 83.75 kB / 392.5 MB, free: 10.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.01509, allocations: 1.755 MB / 394.3 MB, free: 8.508 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001815/0.0169, allocations: 1.618 MB / 395.9 MB, free: 6.883 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009602/0.01786, allocations: 1.251 MB / 397.1 MB, free: 5.629 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002311/0.02018, allocations: 3.578 MB / 400.7 MB, free: 2.039 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.02164, allocations: 2.059 MB / 402.8 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.02321, allocations: 1.73 MB / 404.5 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.02463, allocations: 1.648 MB / 406.1 MB, free: 12.54 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003056/0.02494, allocations: 236 kB / 406.4 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.02607, allocations: 0.6825 MB / 407.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00119/0.02726, allocations: 1.648 MB / 408.7 MB, free: 9.973 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009472/0.0282, allocations: 0.9574 MB / 409.7 MB, free: 9.012 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004029/0.03223, allocations: 3.813 MB / 413.5 MB, free: 5.184 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.03224, allocations: 0 / 413.5 MB, free: 5.184 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.03224, allocations: 0 / 413.5 MB, free: 5.184 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.637e-05/0.03228, allocations: 0 / 413.5 MB, free: 5.184 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.005197/0.03747, allocations: 4.374 MB / 417.8 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.03751, allocations: 11.98 kB / 417.9 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003631/0.04114, allocations: 1.726 MB / 419.6 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.04269, allocations: 1.535 MB / 421.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.984e-05/0.04278, allocations: 193.1 kB / 421.3 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00028/0.04306, allocations: 248.2 kB / 421.5 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004535/0.04759, allocations: 5.167 MB / 426.7 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.267e-05/0.04765, allocations: 31.69 kB / 426.7 MB, free: 6.922 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002335/0.04788, allocations: 127.8 kB / 426.9 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001666/0.04955, allocations: 2.021 MB / 428.9 MB, free: 4.773 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003758/0.0533, allocations: 2.428 MB / 431.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02658/0.07988, allocations: 40.52 MB / 471.8 MB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/0.08211, allocations: 1.201 MB / 473 MB, free: 7.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005706/0.08268, allocations: 368.8 kB / 473.4 MB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005287/0.08797, allocations: 3.913 MB / 477.3 MB, free: 2.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.08801, allocations: 50.05 kB / 477.4 MB, free: 2.781 MB / 394.7 MB Notification: Performance of pre-optimization done (n=150): time 3.676e-06/0.08801, allocations: 0 / 477.4 MB, free: 2.781 MB / 394.7 MB Notification: Performance of matching and sorting (n=150): time 0.003753/0.09176, allocations: 1.626 MB / 479 MB, free: 1.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.09183, allocations: 170.8 kB / 479.2 MB, free: 0.957 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003907/0.09574, allocations: 3.485 MB / 482.6 MB, free: 13.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.206e-05/0.09581, allocations: 41.7 kB / 482.7 MB, free: 13.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00199/0.0978, allocations: 3.507 MB / 486.2 MB, free: 9.859 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000489/0.09829, allocations: 0.6555 MB / 486.8 MB, free: 9.199 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001503/0.09979, allocations: 1.462 MB / 488.3 MB, free: 7.723 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.09996, allocations: 0.5354 MB / 488.8 MB, free: 7.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007919/0.1007, allocations: 496.4 kB / 489.3 MB, free: 6.691 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1533/0.2541, allocations: 6.695 MB / 496 MB, free: 104.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004847/0.2589, allocations: 8.027 MB / 0.4922 GB, free: 96.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001216/0.2591, allocations: 42 kB / 0.4923 GB, free: 96.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.006259/0.2653, allocations: 5.039 MB / 0.4972 GB, free: 95.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.006e-05/0.2654, allocations: 77.53 kB / 0.4973 GB, free: 95.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001114/0.2655, allocations: 146.9 kB / 0.4974 GB, free: 95.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001133/0.2656, allocations: 194.7 kB / 0.4976 GB, free: 95.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002133/0.2677, allocations: 1.409 MB / 0.499 GB, free: 95.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001519/0.2679, allocations: 290.2 kB / 0.4992 GB, free: 95.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/0.2701, allocations: 0.8571 MB / 0.5001 GB, free: 95.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003255/0.2705, allocations: 351.6 kB / 0.5004 GB, free: 95.29 MB / 410.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.002705/0.2732, allocations: 0.6792 MB / 0.5011 GB, free: 94.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007094/0.2739, allocations: 326 kB / 0.5014 GB, free: 94.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005786/0.2744, allocations: 321.7 kB / 0.5017 GB, free: 94.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.637e-05/0.2745, allocations: 43.02 kB / 0.5017 GB, free: 94.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.2745, allocations: 0 / 0.5017 GB, free: 94.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.2745, allocations: 11.97 kB / 0.5017 GB, free: 94.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007476/0.282, allocations: 3.923 MB / 0.5056 GB, free: 92.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.282, allocations: 4 kB / 0.5056 GB, free: 92.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007354/0.2827, allocations: 171.8 kB / 0.5057 GB, free: 92.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.38e-05/0.2828, allocations: 8 kB / 0.5058 GB, free: 92.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.317e-05/0.2828, allocations: 27.41 kB / 0.5058 GB, free: 92.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/0.2828, allocations: 12 kB / 0.5058 GB, free: 92.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/0.2829, allocations: 14.7 kB / 0.5058 GB, free: 92.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.2845, allocations: 1.648 MB / 0.5074 GB, free: 90.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004889/0.285, allocations: 284.3 kB / 0.5077 GB, free: 90.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002734/0.2853, allocations: 28.97 kB / 0.5077 GB, free: 90.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007738/0.2861, allocations: 23.06 kB / 0.5077 GB, free: 90.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.2862, allocations: 82.3 kB / 0.5078 GB, free: 90.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.764e-05/0.2863, allocations: 43.5 kB / 0.5079 GB, free: 90.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001696/0.288, allocations: 1.298 MB / 0.5091 GB, free: 89.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.288, allocations: 0 / 0.5091 GB, free: 89.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0046/0.2926, allocations: 1.104 MB / 0.5102 GB, free: 88.5 MB / 410.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.0002532/0.2929, allocations: 153.8 kB / 0.5104 GB, free: 88.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002764/0.2956, allocations: 2.586 MB / 0.5129 GB, free: 86.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.2956, allocations: 0 / 0.5129 GB, free: 86.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.296, allocations: 371.6 kB / 0.5132 GB, free: 85.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.297, allocations: 296.3 kB / 0.5135 GB, free: 85.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007088/0.3041, allocations: 6.757 MB / 0.5201 GB, free: 79.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008546/0.3049, allocations: 1.171 MB / 0.5213 GB, free: 78.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001191/0.3061, allocations: 0.4996 MB / 0.5217 GB, free: 78.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000455/0.3066, allocations: 482.1 kB / 0.5222 GB, free: 77.56 MB / 410.7 MB Notification: Performance of SimCode: time 1.793e-06/0.3066, allocations: 0 / 0.5222 GB, free: 77.56 MB / 410.7 MB Notification: Performance of Templates: time 0.03302/0.3396, allocations: 19.82 MB / 0.5416 GB, free: 58.27 MB / 410.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: 4.0628285822458565]