Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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.0009035/0.0009035, allocations: 80.92 kB / 21.5 MB, free: 2.988 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.0009284/0.0009284, allocations: 171.4 kB / 24.91 MB, free: 8.719 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.9662/0.9662, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|body2.frame_a.r_0.[0-9,]+.|body2.v_0.[0-9,]+.|body2.w_a.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|body2.frame_a.r_0.[0-9,]+.|body2.v_0.[0-9,]+.|body2.w_a.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 4 kB / 273.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/2.063e-05, allocations: 2.312 kB / 273.5 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.005353/0.005374, allocations: 6.653 MB / 280.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004495/0.009869, allocations: 3.11 MB / 283.3 MB, free: 7.418 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006272/0.0105, allocations: 39.81 kB / 283.3 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.01157, allocations: 0.6923 MB / 284 MB, free: 6.684 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002129/0.0137, allocations: 1.431 MB / 285.4 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007468/0.01445, allocations: 0.5612 MB / 286 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00286/0.01731, allocations: 3.869 MB / 289.9 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008517/0.01816, allocations: 0.7192 MB / 290.6 MB, free: 72 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1062/0.1243, allocations: 1.284 MB / 291.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.1263, allocations: 1.52 MB / 293.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004101/0.1267, allocations: 137.9 kB / 293.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.1282, allocations: 0.9213 MB / 294.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008664/0.129, allocations: 1.163 MB / 295.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001005/0.13, allocations: 0.6659 MB / 296.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003104/0.1331, allocations: 2.865 MB / 299.1 MB, free: 14.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1331, allocations: 0 / 299.1 MB, free: 14.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1331, allocations: 0 / 299.1 MB, free: 14.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.587e-05/0.1332, allocations: 0.8125 kB / 299.1 MB, free: 14.78 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.004163/0.1374, allocations: 2.758 MB / 301.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.1374, allocations: 10.31 kB / 301.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003253/0.1407, allocations: 1.041 MB / 302.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.1421, allocations: 1.194 MB / 304.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-05/0.1422, allocations: 113.8 kB / 304.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004881/0.1426, allocations: 295.4 kB / 304.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004837/0.1475, allocations: 3.929 MB / 308.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.864e-05/0.1476, allocations: 41.23 kB / 308.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001713/0.1477, allocations: 82.84 kB / 308.6 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009558/0.1487, allocations: 1.201 MB / 309.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005176/0.1539, allocations: 3.134 MB / 312.9 MB, free: 8.648 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01506/0.1689, allocations: 22.86 MB / 335.8 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004221/0.1731, allocations: 1.836 MB / 337.6 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005758/0.1737, allocations: 0.5278 MB / 338.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.005e-05/0.1738, allocations: 23.47 kB / 338.2 MB, free: 15.1 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.1738, allocations: 46.56 kB / 338.2 MB, free: 15.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=122): time 4.258e-06/0.1738, allocations: 0 / 338.2 MB, free: 15.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=136): time 0.01554/0.1893, allocations: 6.259 MB / 344.5 MB, free: 8.805 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001278/0.1906, allocations: 2.836 MB / 347.3 MB, free: 5.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002063/0.1927, allocations: 2.345 MB / 349.7 MB, free: 3.773 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001424/0.1928, allocations: 44.28 kB / 349.7 MB, free: 3.727 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008035/0.1936, allocations: 2.043 MB / 351.7 MB, free: 1.793 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000452/0.1941, allocations: 0.5947 MB / 352.3 MB, free: 1.234 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009233/0.195, allocations: 0.9148 MB / 353.3 MB, free: 428 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.415e-05/0.1951, allocations: 301.1 kB / 353.5 MB, free: 124 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.1964, allocations: 0.8535 MB / 354.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/0.199, allocations: 3.68 MB / 358.1 MB, free: 10.24 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004206/0.2032, allocations: 5.048 MB / 363.1 MB, free: 3.738 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.162e-05/0.2032, allocations: 32 kB / 363.2 MB, free: 3.707 MB / 314.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01061/0.2138, allocations: 4.56 MB / 367.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.802e-05/0.2139, allocations: 58.17 kB / 367.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006874/0.2207, allocations: 1.696 MB / 369.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006976/0.2277, allocations: 0.9802 MB / 370.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002892/0.2306, allocations: 1.096 MB / 371.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005932/0.2365, allocations: 5.829 MB / 377.4 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0031/0.2396, allocations: 234.5 kB / 377.6 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003836/0.24, allocations: 272 kB / 377.9 MB, free: 4.5 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],body1.sphereColor[1],body1.sphereColor[2],body1.sphereColor[3],body2.sphereColor[1],body2.sphereColor[2],body2.sphereColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (592): * Single equations (assignments): 577 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00118/0.2412, allocations: 0.5079 MB / 378.4 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003904/0.2416, allocations: 159.8 kB / 378.5 MB, free: 3.824 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003346/0.2419, allocations: 348.7 kB / 378.9 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00318/0.2451, allocations: 1.243 MB / 380.1 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.2451, allocations: 11.92 kB / 380.1 MB, free: 2.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.2451, allocations: 7.984 kB / 380.1 MB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003639/0.2488, allocations: 2.485 MB / 382.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.2488, allocations: 0 / 382.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007811/0.2496, allocations: 187.7 kB / 382.8 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00322/0.2528, allocations: 0.8624 MB / 383.7 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/0.2529, allocations: 47.89 kB / 383.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0039/0.2568, allocations: 5.582 MB / 389.3 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001443/0.2583, allocations: 2.663 MB / 392 MB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004983/0.2632, allocations: 2.657 MB / 394.6 MB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004775/0.2637, allocations: 254.2 kB / 394.9 MB, free: 2.699 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002412/0.264, allocations: 27.98 kB / 394.9 MB, free: 2.672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008001/0.2648, allocations: 20 kB / 394.9 MB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002987/0.2651, allocations: 119.6 kB / 395 MB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.2652, allocations: 43.97 kB / 395.1 MB, free: 2.492 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00103/0.2662, allocations: 0.8291 MB / 395.9 MB, free: 1.648 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2662, allocations: 0 / 395.9 MB, free: 1.648 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003522/0.2697, allocations: 1.137 MB / 397 MB, free: 0.5117 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004401/0.2702, allocations: 172.5 kB / 397.2 MB, free: 340 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005109/0.2753, allocations: 3.296 MB / 400.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001164/0.2754, allocations: 56.69 kB / 400.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002042/0.2774, allocations: 1.462 MB / 402 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.2792, allocations: 419 kB / 402.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007262/0.2865, allocations: 5.464 MB / 407.9 MB, free: 5.414 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007648/0.2873, allocations: 0.7813 MB / 408.7 MB, free: 4.613 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001358/0.2886, allocations: 383.5 kB / 409 MB, free: 4.234 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009642/0.2896, allocations: 417.2 kB / 409.5 MB, free: 3.828 MB / 362.7 MB Notification: Performance of SimCode: time 2.334e-06/0.2896, allocations: 0 / 409.5 MB, free: 3.828 MB / 362.7 MB Notification: Performance of Templates: time 0.1602/0.4497, allocations: 47.86 MB / 457.3 MB, free: 105.2 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.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.801411788444966]