Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001371/0.001371, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001477/0.001477, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 230.3 MB / 258 MB, free: 8.219 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.r_0.1.|body1.r_0.2.|body1.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.r_0.1.|body2.r_0.2.|body2.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.r_0.1.|body3.r_0.2.|body3.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body4.r_0.1.|body4.r_0.2.|body4.r_0.3.|body4.v_0.1.|body4.v_0.2.|body4.v_0.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses")
translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.r_0.1.|body1.r_0.2.|body1.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.r_0.1.|body2.r_0.2.|body2.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.r_0.1.|body3.r_0.2.|body3.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body4.r_0.1.|body4.r_0.2.|body4.r_0.3.|body4.v_0.1.|body4.v_0.2.|body4.v_0.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00306/0.00306, allocations: 63.89 kB / 378.8 MB, free: 2.738 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2556, allocations: 53.36 MB / 432.1 MB, free: 7.062 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.009775/0.2654, allocations: 8.004 MB / 440.1 MB, free: 15.02 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005102/0.2705, allocations: 2.598 MB / 442.7 MB, free: 12.42 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0009526/0.2715, allocations: 39.88 kB / 442.8 MB, free: 12.38 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003032/0.2745, allocations: 1.464 MB / 444.2 MB, free: 10.91 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002511/0.277, allocations: 1.027 MB / 445.3 MB, free: 9.883 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007293/0.2777, allocations: 255.5 kB / 445.5 MB, free: 9.633 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00291/0.2806, allocations: 2.157 MB / 447.7 MB, free: 7.473 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.2821, allocations: 1.207 MB / 448.9 MB, free: 6.238 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.2832, allocations: 0.8407 MB / 449.7 MB, free: 5.395 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001621/0.2848, allocations: 1.304 MB / 451 MB, free: 4.086 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0002854/0.2851, allocations: 160 kB / 451.2 MB, free: 3.93 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.2863, allocations: 0.6903 MB / 451.9 MB, free: 3.238 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001101/0.2874, allocations: 1.18 MB / 453 MB, free: 2.055 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001332/0.2887, allocations: 1.366 MB / 454.4 MB, free: 0.6797 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.004588/0.2933, allocations: 4.282 MB / 458.7 MB, free: 12.38 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2933, allocations: 0 / 458.7 MB, free: 12.38 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.583e-06/0.2933, allocations: 0 / 458.7 MB, free: 12.38 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 5.316e-05/0.2934, allocations: 4 kB / 458.7 MB, free: 12.38 MB / 366.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1113
 * Number of variables: 1113
Notification: Performance of Generate backend data structure: time 0.004364/0.2977, allocations: 2.934 MB / 461.6 MB, free: 9.395 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.2978, allocations: 8.031 kB / 461.6 MB, free: 9.387 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007001/0.3048, allocations: 1.793 MB / 463.4 MB, free: 7.59 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/0.3069, allocations: 1.105 MB / 464.5 MB, free: 6.453 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.307, allocations: 151.8 kB / 464.7 MB, free: 6.305 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004332/0.3074, allocations: 215.8 kB / 464.9 MB, free: 6.094 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01863/0.3261, allocations: 8.608 MB / 473.5 MB, free: 12.88 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-05/0.3262, allocations: 39.7 kB / 473.5 MB, free: 12.84 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002693/0.3264, allocations: 99.88 kB / 473.6 MB, free: 12.75 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003028/0.3295, allocations: 1.671 MB / 475.3 MB, free: 11.07 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0181/0.3476, allocations: 7.178 MB / 482.5 MB, free: 3.895 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03515/0.3827, allocations: 30.05 MB / 0.5005 GB, free: 4.949 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.02301/0.4057, allocations: 4.548 MB / 0.505 GB, free: 344 kB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001686/0.4074, allocations: 1.193 MB / 0.5061 GB, free: 15.12 MB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.005306/0.4127, allocations: 3.294 MB / 0.5093 GB, free: 11.8 MB / 430.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.4128, allocations: 50.81 kB / 0.5094 GB, free: 11.74 MB / 430.1 MB
Notification: Performance of pre-optimization done (n=111): time 3.025e-06/0.4128, allocations: 0 / 0.5094 GB, free: 11.74 MB / 430.1 MB
Notification: Performance of matching and sorting (n=111): time 0.04737/0.4601, allocations: 8.998 MB / 0.5182 GB, free: 2.727 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.4603, allocations: 207.8 kB / 0.5184 GB, free: 2.48 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004482/0.4648, allocations: 3.039 MB / 0.5213 GB, free: 15.42 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.000179/0.4649, allocations: 37.7 kB / 0.5214 GB, free: 15.38 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001966/0.4669, allocations: 2.527 MB / 0.5239 GB, free: 12.82 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0005929/0.4675, allocations: 0.508 MB / 0.5243 GB, free: 12.31 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001563/0.4691, allocations: 1.1 MB / 0.5254 GB, free: 11.2 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001344/0.4692, allocations: 306.2 kB / 0.5257 GB, free: 10.9 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002497/0.4717, allocations: 1.607 MB / 0.5273 GB, free: 9.289 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.005778/0.4775, allocations: 5.173 MB / 0.5323 GB, free: 2.312 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.2132/0.6907, allocations: 7.327 MB / 0.5395 GB, free: 93.21 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.262e-05/0.6908, allocations: 37.28 kB / 0.5395 GB, free: 93.21 MB / 446.1 MB
Notification: Performance of matching and sorting (n=705) (initialization): time 0.009805/0.7006, allocations: 6.453 MB / 0.5458 GB, free: 90.92 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 6.572e-05/0.7007, allocations: 66.28 kB / 0.5459 GB, free: 90.91 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001122/0.7008, allocations: 125.9 kB / 0.546 GB, free: 90.91 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001447/0.7009, allocations: 168 kB / 0.5462 GB, free: 90.91 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004313/0.7052, allocations: 1.46 MB / 0.5476 GB, free: 90.75 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001321/0.7054, allocations: 251.2 kB / 0.5478 GB, free: 90.7 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003086/0.7084, allocations: 0.7687 MB / 0.5486 GB, free: 90.62 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003546/0.7088, allocations: 342.2 kB / 0.5489 GB, free: 90.58 MB / 446.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 580
 * Number of states: 0 ()
 * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body4.sphereColor[3],body4.sphereColor[2],body4.sphereColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (681):
 * Single equations (assignments): 678
 * Array equations: 3
 * 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.001589/0.7104, allocations: 1.576 MB / 0.5505 GB, free: 89.87 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003443/0.7107, allocations: 260.4 kB / 0.5507 GB, free: 89.74 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004593/0.7112, allocations: 313.6 kB / 0.551 GB, free: 89.59 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.7112, allocations: 12.72 kB / 0.551 GB, free: 89.59 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.7112, allocations: 3.781 kB / 0.551 GB, free: 89.59 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.7112, allocations: 7.547 kB / 0.551 GB, free: 89.59 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004618/0.7158, allocations: 3.369 MB / 0.5543 GB, free: 87.49 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.7158, allocations: 4 kB / 0.5543 GB, free: 87.48 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002285/0.7181, allocations: 404.6 kB / 0.5547 GB, free: 87.19 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 8.717e-06/0.7181, allocations: 4 kB / 0.5547 GB, free: 87.18 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.073e-05/0.7182, allocations: 43.06 kB / 0.5547 GB, free: 87.15 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.7182, allocations: 4 kB / 0.5548 GB, free: 87.14 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7182, allocations: 4 kB / 0.5548 GB, free: 87.14 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/0.7208, allocations: 2.828 MB / 0.5575 GB, free: 84.56 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004499/0.7213, allocations: 241.3 kB / 0.5577 GB, free: 84.35 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000242/0.7215, allocations: 31.73 kB / 0.5578 GB, free: 84.32 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008541/0.7224, allocations: 47.3 kB / 0.5578 GB, free: 84.29 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.7225, allocations: 62.17 kB / 0.5579 GB, free: 84.25 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-05/0.7226, allocations: 32.41 kB / 0.5579 GB, free: 84.23 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.002007/0.7246, allocations: 1.839 MB / 0.5597 GB, free: 82.69 MB / 446.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.7246, allocations: 0 / 0.5597 GB, free: 82.69 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.003808/0.7284, allocations: 0.8145 MB / 0.5605 GB, free: 81.93 MB / 446.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 6
 * Number of states: 24 (body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[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 (87):
 * Single equations (assignments): 84
 * Array equations: 3
 * 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.0003537/0.7287, allocations: 164.4 kB / 0.5607 GB, free: 81.78 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.004583/0.7333, allocations: 3.487 MB / 0.5641 GB, free: 78.66 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.7333, allocations: 4.375 kB / 0.5641 GB, free: 78.65 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000695/0.734, allocations: 0.677 MB / 0.5647 GB, free: 77.98 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.7356, allocations: 278.9 kB / 0.565 GB, free: 77.72 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009224/0.7448, allocations: 7.152 MB / 0.572 GB, free: 70.56 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001741/0.7465, allocations: 2.394 MB / 0.5743 GB, free: 68.14 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.002922/0.7494, allocations: 1.633 MB / 0.5759 GB, free: 66.5 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003698/0.7498, allocations: 187.4 kB / 0.5761 GB, free: 66.31 MB / 446.1 MB
Notification: Performance of SimCode: time 6.71e-07/0.7498, allocations: 0 / 0.5761 GB, free: 66.31 MB / 446.1 MB
Notification: Performance of Templates: time 0.03858/0.7884, allocations: 22.44 MB / 0.598 GB, free: 44.09 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 6.072171477600932]