Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001429/0.001429, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001947/0.001947, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9937/0.9937, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1209/0.1209, allocations: 32.37 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 299.1 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.794e-05, allocations: 2.312 kB / 299.1 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.1507/0.1507, allocations: 11.64 MB / 310.7 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008015/0.1587, allocations: 4.155 MB / 314.9 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.1599, allocations: 89.78 kB / 314.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00243/0.1623, allocations: 1.802 MB / 316.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002211/0.1645, allocations: 1.702 MB / 318.4 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.1658, allocations: 1.283 MB / 319.7 MB, free: 8.637 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003111/0.1689, allocations: 3.536 MB / 323.3 MB, free: 6 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.1704, allocations: 2.212 MB / 325.5 MB, free: 3.727 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001333/0.1717, allocations: 1.824 MB / 327.3 MB, free: 1.898 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.1729, allocations: 1.66 MB / 329 MB, free: 240 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002582/0.1731, allocations: 256 kB / 329.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007978/0.1739, allocations: 0.6865 MB / 329.9 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.1749, allocations: 1.761 MB / 331.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008847/0.1758, allocations: 1.031 MB / 332.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002957/0.1788, allocations: 4.065 MB / 336.8 MB, free: 8.414 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1788, allocations: 0 / 336.8 MB, free: 8.414 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1788, allocations: 4 kB / 336.8 MB, free: 8.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.828e-05/0.1789, allocations: 0 / 336.8 MB, free: 8.41 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.003477/0.1823, allocations: 3.951 MB / 340.7 MB, free: 4.406 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1824, allocations: 12.03 kB / 340.7 MB, free: 4.395 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003364/0.1857, allocations: 1.37 MB / 342.1 MB, free: 3.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.1872, allocations: 1.451 MB / 343.5 MB, free: 1.531 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.1873, allocations: 201.3 kB / 343.7 MB, free: 1.332 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003123/0.1877, allocations: 256.2 kB / 344 MB, free: 1.082 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004501/0.1922, allocations: 4.862 MB / 348.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.127e-05/0.1922, allocations: 27.75 kB / 348.9 MB, free: 11.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00027/0.1925, allocations: 135.8 kB / 349 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001944/0.1944, allocations: 2.135 MB / 351.1 MB, free: 9.254 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00364/0.1981, allocations: 2.605 MB / 353.7 MB, free: 6.617 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02167/0.2197, allocations: 30.17 MB / 383.9 MB, free: 7.289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.2218, allocations: 1.289 MB / 385.2 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003694/0.2221, allocations: 300.9 kB / 385.5 MB, free: 5.625 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003952/0.2261, allocations: 3.664 MB / 389.2 MB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.2261, allocations: 43.22 kB / 389.2 MB, free: 1.883 MB / 346.7 MB Notification: Performance of pre-optimization done (n=153): time 3.357e-06/0.2261, allocations: 0 / 389.2 MB, free: 1.883 MB / 346.7 MB Notification: Performance of matching and sorting (n=153): time 0.002647/0.2288, allocations: 1.421 MB / 390.6 MB, free: 468 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.2288, allocations: 166.9 kB / 390.8 MB, free: 264 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/0.2308, allocations: 2.801 MB / 393.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.932e-05/0.2308, allocations: 45.7 kB / 393.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001298/0.2321, allocations: 3.368 MB / 397 MB, free: 9.992 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004713/0.2326, allocations: 0.6281 MB / 397.6 MB, free: 9.359 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009379/0.2335, allocations: 1.263 MB / 398.9 MB, free: 8.086 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2336, allocations: 353.8 kB / 399.2 MB, free: 7.734 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007262/0.2344, allocations: 0.7016 MB / 399.9 MB, free: 7.031 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002645/0.237, allocations: 4.807 MB / 404.8 MB, free: 76 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004353/0.2414, allocations: 6.317 MB / 411.1 MB, free: 7.602 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-05/0.2414, allocations: 44 kB / 411.1 MB, free: 7.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.004314/0.2457, allocations: 4.44 MB / 415.6 MB, free: 3.113 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.926e-05/0.2458, allocations: 69 kB / 415.6 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.161e-05/0.2459, allocations: 156 kB / 415.8 MB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001143/0.246, allocations: 204 kB / 416 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/0.2482, allocations: 1.467 MB / 417.4 MB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001425/0.2484, allocations: 298.8 kB / 417.7 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/0.2503, allocations: 0.8839 MB / 418.6 MB, free: 44 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003061/0.2507, allocations: 360 kB / 419 MB, free: 15.69 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 21 (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 (819): * Single equations (assignments): 811 * 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.000949/0.2516, allocations: 0.6475 MB / 419.6 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.2518, allocations: 187.7 kB / 419.8 MB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.2521, allocations: 329.4 kB / 420.1 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.866e-05/0.2521, allocations: 43.59 kB / 420.2 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.2521, allocations: 0 / 420.2 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.2521, allocations: 11.97 kB / 420.2 MB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/0.2553, allocations: 2.955 MB / 423.1 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.2553, allocations: 8 kB / 423.1 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003917/0.2557, allocations: 167.8 kB / 423.3 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.869e-06/0.2558, allocations: 12 kB / 423.3 MB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/0.2558, allocations: 27.98 kB / 423.3 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.2558, allocations: 16.5 kB / 423.4 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.2558, allocations: 7.938 kB / 423.4 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008704/0.2567, allocations: 1.255 MB / 424.6 MB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/0.2569, allocations: 297.4 kB / 424.9 MB, free: 9.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.257, allocations: 28 kB / 424.9 MB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004037/0.2574, allocations: 23.98 kB / 425 MB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.2575, allocations: 84.23 kB / 425 MB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-05/0.2576, allocations: 36 kB / 425.1 MB, free: 9.352 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007928/0.2584, allocations: 1.06 MB / 426.1 MB, free: 8.297 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2584, allocations: 8 kB / 426.1 MB, free: 8.289 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002473/0.2609, allocations: 1.176 MB / 427.3 MB, free: 7.109 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 105 * 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.0002581/0.2611, allocations: 139.9 kB / 427.5 MB, free: 6.961 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002183/0.2633, allocations: 2.536 MB / 430 MB, free: 4.453 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001462/0.2635, allocations: 100.2 kB / 430.1 MB, free: 4.344 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.2638, allocations: 326.4 kB / 430.4 MB, free: 4.023 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009194/0.2647, allocations: 296.1 kB / 430.7 MB, free: 3.738 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007106/0.2718, allocations: 7.238 MB / 437.9 MB, free: 12.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009415/0.2727, allocations: 1.208 MB / 439.1 MB, free: 11.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001115/0.2738, allocations: 0.5223 MB / 439.7 MB, free: 10.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005518/0.2744, allocations: 467.3 kB / 440.1 MB, free: 10.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.2744, allocations: 0 / 440.1 MB, free: 10.12 MB / 410.7 MB Notification: Performance of Templates: time 0.03284/0.3072, allocations: 19.73 MB / 459.9 MB, free: 6.473 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.989302062895149]