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.001278/0.001278, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00176/0.003038, 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.001089/0.001089, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00128/0.002369, 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 1.169/1.169, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1453/1.314, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.3989/0.3989, allocations: 32.8 MB / 276.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0398/0.4387, allocations: 12.53 MB / 289.3 MB, free: 8.668 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.433e-06/1.433e-06, allocations: 0 / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.177e-05/4.32e-05, allocations: 5.016 kB / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01154/0.01158, allocations: 11.33 MB / 301.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01137/0.02295, allocations: 4.197 MB / 306.1 MB, free: 8.719 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003706/0.02666, allocations: 87.69 kB / 306.2 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003844/0.0305, allocations: 1.72 MB / 307.9 MB, free: 6.906 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005083/0.03559, allocations: 1.618 MB / 309.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.03773, allocations: 1.188 MB / 310.7 MB, free: 4.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006232/0.04396, allocations: 3.406 MB / 314.1 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003645/0.0476, allocations: 2.001 MB / 316.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003153/0.05076, allocations: 1.768 MB / 317.9 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003108/0.05386, allocations: 1.547 MB / 319.5 MB, free: 11.29 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009539/0.05482, allocations: 236 kB / 319.7 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.05645, allocations: 0.6982 MB / 320.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001623/0.05808, allocations: 1.496 MB / 321.9 MB, free: 8.855 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001778/0.05986, allocations: 0.7979 MB / 322.7 MB, free: 8.055 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006167/0.06602, allocations: 3.618 MB / 326.3 MB, free: 4.422 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.771e-05/0.06605, allocations: 0 / 326.3 MB, free: 4.422 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.676e-06/0.06605, allocations: 0 / 326.3 MB, free: 4.422 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003093/0.06636, allocations: 0 / 326.3 MB, free: 4.422 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.008195/0.07456, allocations: 4.534 MB / 330.8 MB, free: 15.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.0746, allocations: 8.031 kB / 330.8 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004716/0.07932, allocations: 1.319 MB / 332.2 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002983/0.0823, allocations: 1.395 MB / 333.6 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.08245, allocations: 189.1 kB / 333.7 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004511/0.08291, allocations: 248.2 kB / 334 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007654/0.09056, allocations: 4.665 MB / 338.6 MB, free: 7.301 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.751e-05/0.09065, allocations: 35.67 kB / 338.7 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003413/0.09099, allocations: 127.8 kB / 338.8 MB, free: 7.141 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002612/0.0936, allocations: 2.041 MB / 340.8 MB, free: 5.102 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006965/0.1006, allocations: 2.481 MB / 343.3 MB, free: 2.598 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03472/0.1353, allocations: 29.3 MB / 372.6 MB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003329/0.1386, allocations: 1.227 MB / 373.9 MB, free: 2.891 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008237/0.1394, allocations: 294.7 kB / 374.1 MB, free: 2.586 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009014/0.1484, allocations: 3.433 MB / 377.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.638e-05/0.1485, allocations: 51.2 kB / 377.6 MB, free: 15.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=150): time 7.705e-06/0.1485, allocations: 0 / 377.6 MB, free: 15.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=150): time 0.004797/0.1533, allocations: 1.383 MB / 379 MB, free: 13.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.1534, allocations: 166.9 kB / 379.2 MB, free: 13.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004713/0.1581, allocations: 2.71 MB / 381.9 MB, free: 10.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001542/0.1583, allocations: 41.7 kB / 381.9 MB, free: 10.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003039/0.1613, allocations: 3.213 MB / 385.1 MB, free: 7.465 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007691/0.1621, allocations: 0.6281 MB / 385.8 MB, free: 6.832 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001581/0.1637, allocations: 1.215 MB / 387 MB, free: 5.605 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1639, allocations: 353.8 kB / 387.3 MB, free: 5.254 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.1652, allocations: 0.6776 MB / 388 MB, free: 4.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004299/0.1695, allocations: 4.655 MB / 392.7 MB, free: 13.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008993/0.1785, allocations: 6.083 MB / 398.7 MB, free: 5.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001484/0.1786, allocations: 44.25 kB / 398.8 MB, free: 5.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.008116/0.1868, allocations: 4.291 MB / 403.1 MB, free: 1.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.325e-05/0.1868, allocations: 68.94 kB / 403.1 MB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002047/0.187, allocations: 148 kB / 403.3 MB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001523/0.1872, allocations: 196 kB / 403.5 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00328/0.1905, allocations: 1.564 MB / 405 MB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001839/0.1907, allocations: 290.8 kB / 405.3 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003894/0.1946, allocations: 0.8607 MB / 406.2 MB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004385/0.195, allocations: 348 kB / 406.5 MB, free: 13.88 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.001783/0.1968, allocations: 0.6324 MB / 407.2 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003648/0.1971, allocations: 179.8 kB / 407.3 MB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006211/0.1978, allocations: 316.4 kB / 407.6 MB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.007e-05/0.1978, allocations: 43.97 kB / 407.7 MB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/0.1979, allocations: 4 kB / 407.7 MB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.1979, allocations: 7.922 kB / 407.7 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004554/0.2024, allocations: 2.813 MB / 410.5 MB, free: 9.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.2024, allocations: 4 kB / 410.5 MB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005413/0.203, allocations: 191.7 kB / 410.7 MB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004214/0.2034, allocations: 273.6 kB / 411 MB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-05/0.2034, allocations: 11.98 kB / 411 MB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.81e-05/0.2035, allocations: 31.98 kB / 411 MB, free: 9.273 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.231e-05/0.2035, allocations: 16.47 kB / 411 MB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.2035, allocations: 11.94 kB / 411 MB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.2047, allocations: 1.229 MB / 412.3 MB, free: 7.934 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.205, allocations: 23.98 kB / 412.3 MB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.2054, allocations: 24 kB / 412.3 MB, free: 7.887 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.2055, allocations: 92.11 kB / 412.4 MB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.819e-05/0.2056, allocations: 32 kB / 412.4 MB, free: 7.766 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001194/0.2068, allocations: 1.03 MB / 413.5 MB, free: 6.738 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.2068, allocations: 4 kB / 413.5 MB, free: 6.734 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004288/0.2111, allocations: 1.102 MB / 414.6 MB, free: 5.629 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.0004334/0.2115, allocations: 132.1 kB / 414.7 MB, free: 5.488 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004489/0.216, allocations: 2.469 MB / 417.2 MB, free: 3.043 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002846/0.2163, allocations: 106.8 kB / 417.3 MB, free: 2.926 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004615/0.2167, allocations: 304.7 kB / 417.6 MB, free: 2.629 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.2183, allocations: 481.5 kB / 418 MB, free: 2.156 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01395/0.2322, allocations: 7.043 MB / 425.1 MB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/0.2336, allocations: 1.149 MB / 426.2 MB, free: 9.801 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001651/0.2352, allocations: 0.4978 MB / 426.7 MB, free: 9.301 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006563/0.2359, allocations: 455.3 kB / 427.2 MB, free: 8.855 MB / 426.7 MB Notification: Performance of SimCode: time 3.166e-06/0.2359, allocations: 4 kB / 427.2 MB, free: 8.852 MB / 426.7 MB Notification: Performance of Templates: time 0.2495/0.4854, allocations: 19.63 MB / 446.8 MB, free: 123.5 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 -ignoreHideResult -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.545730919577181]