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.0007655/0.0007655, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009982/0.001764, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006735/0.0006735, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008621/0.001536, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9164/0.9164, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0979/1.014, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2445/0.2445, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02703/0.2716, allocations: 13.1 MB / 291.3 MB, free: 7.371 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 2.305e-06/2.305e-06, allocations: 3.938 kB / 292.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.685e-05, allocations: 2.312 kB / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.009672/0.009699, allocations: 11.34 MB / 303.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007239/0.01694, allocations: 4.208 MB / 308.2 MB, free: 6.707 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/0.01863, allocations: 87.69 kB / 308.2 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.02076, allocations: 1.713 MB / 310 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003727/0.02449, allocations: 1.622 MB / 311.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.02593, allocations: 1.176 MB / 312.7 MB, free: 2.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003786/0.02972, allocations: 3.419 MB / 316.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002407/0.03212, allocations: 2.001 MB / 318.2 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002671/0.03479, allocations: 1.764 MB / 319.9 MB, free: 10.83 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002148/0.03694, allocations: 1.543 MB / 321.5 MB, free: 9.281 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005837/0.03753, allocations: 240 kB / 321.7 MB, free: 9.047 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.03857, allocations: 0.6982 MB / 322.4 MB, free: 8.348 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009935/0.03956, allocations: 1.496 MB / 323.9 MB, free: 6.848 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009556/0.04052, allocations: 0.794 MB / 324.7 MB, free: 6.051 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003334/0.04385, allocations: 3.614 MB / 328.3 MB, free: 2.422 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-05/0.04387, allocations: 3.938 kB / 328.3 MB, free: 2.418 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.04387, allocations: 0 / 328.3 MB, free: 2.418 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001049/0.04397, allocations: 0 / 328.3 MB, free: 2.418 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.004304/0.04828, allocations: 4.543 MB / 332.9 MB, free: 13.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.04832, allocations: 8.031 kB / 332.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003181/0.0515, allocations: 1.304 MB / 334.2 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/0.05347, allocations: 1.403 MB / 335.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.984e-05/0.05356, allocations: 185.1 kB / 335.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003066/0.05387, allocations: 252.2 kB / 336 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00484/0.05871, allocations: 4.676 MB / 340.7 MB, free: 5.285 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.096e-05/0.05876, allocations: 31.75 kB / 340.7 MB, free: 5.254 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002326/0.05899, allocations: 123.8 kB / 340.8 MB, free: 5.133 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001749/0.06074, allocations: 2.041 MB / 342.9 MB, free: 3.094 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00439/0.06513, allocations: 2.489 MB / 345.4 MB, free: 0.582 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02525/0.09037, allocations: 29.29 MB / 374.6 MB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002827/0.0932, allocations: 1.233 MB / 375.9 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005127/0.09371, allocations: 286 kB / 376.2 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005543/0.09926, allocations: 3.426 MB / 379.6 MB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.0993, allocations: 51.16 kB / 379.6 MB, free: 13.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=150): time 4.248e-06/0.0993, allocations: 0 / 379.6 MB, free: 13.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=150): time 0.003425/0.1027, allocations: 1.382 MB / 381 MB, free: 11.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.1028, allocations: 174.8 kB / 381.2 MB, free: 11.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002831/0.1056, allocations: 2.714 MB / 383.9 MB, free: 8.742 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.314e-05/0.1057, allocations: 41.7 kB / 383.9 MB, free: 8.695 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002036/0.1077, allocations: 3.217 MB / 387.2 MB, free: 5.445 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004873/0.1082, allocations: 0.6203 MB / 387.8 MB, free: 4.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/0.1095, allocations: 1.208 MB / 389 MB, free: 3.602 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1097, allocations: 357.8 kB / 389.3 MB, free: 3.246 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.1107, allocations: 0.6816 MB / 390 MB, free: 2.559 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003342/0.114, allocations: 4.651 MB / 394.7 MB, free: 11.83 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005603/0.1196, allocations: 6.096 MB / 400.8 MB, free: 3.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000116/0.1198, allocations: 44 kB / 400.8 MB, free: 3.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.006613/0.1264, allocations: 4.281 MB / 405.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.827e-05/0.1265, allocations: 71.94 kB / 405.2 MB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001658/0.1266, allocations: 148 kB / 405.3 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001672/0.1268, allocations: 192 kB / 405.5 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003475/0.1303, allocations: 1.568 MB / 407.1 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002228/0.1305, allocations: 290.8 kB / 407.3 MB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003355/0.1338, allocations: 0.8571 MB / 408.2 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004453/0.1343, allocations: 348 kB / 408.5 MB, free: 11.87 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.001327/0.1356, allocations: 0.6324 MB / 409.2 MB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003591/0.136, allocations: 175.8 kB / 409.3 MB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004051/0.1364, allocations: 312.4 kB / 409.7 MB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.578e-05/0.1364, allocations: 43.97 kB / 409.7 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.1364, allocations: 7.938 kB / 409.7 MB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.1365, allocations: 7.922 kB / 409.7 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004768/0.1412, allocations: 2.824 MB / 412.5 MB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.1412, allocations: 8.656 kB / 412.5 MB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006607/0.1419, allocations: 191.8 kB / 412.7 MB, free: 7.566 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003563/0.1423, allocations: 273.6 kB / 413 MB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.324e-05/0.1423, allocations: 12 kB / 413 MB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.608e-05/0.1423, allocations: 20 kB / 413 MB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/0.1423, allocations: 15.98 kB / 413 MB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.1424, allocations: 7.938 kB / 413.1 MB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.1435, allocations: 1.226 MB / 414.3 MB, free: 5.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002548/0.1438, allocations: 28.06 kB / 414.3 MB, free: 5.902 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005917/0.1444, allocations: 28 kB / 414.3 MB, free: 5.875 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.1445, allocations: 84.17 kB / 414.4 MB, free: 5.793 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.117e-05/0.1446, allocations: 39.98 kB / 414.5 MB, free: 5.754 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001083/0.1457, allocations: 1.022 MB / 415.5 MB, free: 4.734 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1457, allocations: 4 kB / 415.5 MB, free: 4.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003416/0.1491, allocations: 1.106 MB / 416.6 MB, free: 3.621 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.0003875/0.1495, allocations: 140 kB / 416.7 MB, free: 3.473 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00326/0.1527, allocations: 2.469 MB / 419.2 MB, free: 1.031 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002075/0.153, allocations: 110.8 kB / 419.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000352/0.1533, allocations: 306.3 kB / 419.6 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.1546, allocations: 472.1 kB / 420.1 MB, free: 152 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009574/0.1641, allocations: 7.039 MB / 427.1 MB, free: 8.965 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.1652, allocations: 1.149 MB / 428.2 MB, free: 7.797 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001329/0.1665, allocations: 0.4979 MB / 428.7 MB, free: 7.297 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005606/0.1671, allocations: 463.2 kB / 429.2 MB, free: 6.844 MB / 426.7 MB Notification: Performance of SimCode: time 1.823e-06/0.1671, allocations: 0 / 429.2 MB, free: 6.844 MB / 426.7 MB Notification: Performance of Templates: time 0.1749/0.342, allocations: 19.65 MB / 448.8 MB, free: 108.6 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 -ignoreHideResult -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.5868654558435082]