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.001864/0.001864, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002625/0.002625, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.468/1.468, allocations: 230.5 MB / 258.1 MB, free: 7.781 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.001979/0.001979, allocations: 67.89 kB / 379 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2324, allocations: 53.41 MB / 432.4 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.009869/0.2423, allocations: 7.017 MB / 439.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005468/0.2478, allocations: 2.442 MB / 441.9 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000972/0.2487, allocations: 43.81 kB / 441.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00298/0.2517, allocations: 1.397 MB / 443.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002711/0.2544, allocations: 1.019 MB / 444.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007529/0.2552, allocations: 275.4 kB / 444.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003099/0.2583, allocations: 2.157 MB / 446.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.2601, allocations: 1.336 MB / 448.1 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/0.2613, allocations: 0.8484 MB / 448.9 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00269/0.264, allocations: 1.245 MB / 450.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006333/0.2646, allocations: 160 kB / 450.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.266, allocations: 0.5772 MB / 450.9 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001245/0.2673, allocations: 1.176 MB / 452.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001234/0.2685, allocations: 0.9778 MB / 453.1 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005109/0.2736, allocations: 4.302 MB / 457.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2736, allocations: 0 / 457.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2736, allocations: 0 / 457.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.716e-05/0.2737, allocations: 0 / 457.4 MB, free: 13.42 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.004842/0.2786, allocations: 2.931 MB / 460.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.2786, allocations: 15.98 kB / 460.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00672/0.2853, allocations: 1.8 MB / 462.1 MB, free: 8.621 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002402/0.2877, allocations: 1.109 MB / 463.2 MB, free: 7.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.2879, allocations: 151.8 kB / 463.4 MB, free: 7.332 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000402/0.2883, allocations: 211.8 kB / 463.6 MB, free: 7.125 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01825/0.3065, allocations: 8.633 MB / 472.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-05/0.3066, allocations: 35.7 kB / 472.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002778/0.3069, allocations: 103.9 kB / 472.3 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002945/0.3098, allocations: 1.671 MB / 474 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01799/0.3278, allocations: 7.171 MB / 481.2 MB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03658/0.3644, allocations: 28.51 MB / 0.4977 GB, free: 7.516 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02212/0.3865, allocations: 4.544 MB / 0.5022 GB, free: 2.906 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/0.3883, allocations: 1.197 MB / 0.5034 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005675/0.3939, allocations: 3.068 MB / 0.5063 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/0.394, allocations: 54.81 kB / 0.5064 GB, free: 14.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 3.547e-06/0.394, allocations: 0 / 0.5064 GB, free: 14.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.0449/0.4389, allocations: 8.975 MB / 0.5152 GB, free: 5.535 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.439, allocations: 199.8 kB / 0.5154 GB, free: 5.297 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004931/0.444, allocations: 2.969 MB / 0.5183 GB, free: 2.305 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001598/0.4441, allocations: 37.7 kB / 0.5183 GB, free: 2.262 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002024/0.4461, allocations: 2.547 MB / 0.5208 GB, free: 15.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006645/0.4468, allocations: 0.508 MB / 0.5213 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001648/0.4484, allocations: 1.103 MB / 0.5224 GB, free: 14.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.4486, allocations: 334 kB / 0.5227 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002579/0.4512, allocations: 1.611 MB / 0.5242 GB, free: 12.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005618/0.4568, allocations: 5.169 MB / 0.5293 GB, free: 5.141 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008939/0.4658, allocations: 7.343 MB / 0.5365 GB, free: 12.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001151/0.4659, allocations: 36 kB / 0.5365 GB, free: 11.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01205/0.4779, allocations: 6.432 MB / 0.5428 GB, free: 5.543 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.4781, allocations: 62.66 kB / 0.5428 GB, free: 5.484 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002099/0.4783, allocations: 128.1 kB / 0.543 GB, free: 5.359 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002057/0.4785, allocations: 168 kB / 0.5431 GB, free: 5.195 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005148/0.4836, allocations: 1.458 MB / 0.5445 GB, free: 3.734 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002667/0.4839, allocations: 255 kB / 0.5448 GB, free: 3.484 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003958/0.4878, allocations: 0.7368 MB / 0.5455 GB, free: 2.742 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007937/0.4886, allocations: 344 kB / 0.5458 GB, free: 2.406 MB / 462.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.003413/0.492, allocations: 1.568 MB / 0.5474 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005928/0.4926, allocations: 242.4 kB / 0.5476 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007466/0.4934, allocations: 289.1 kB / 0.5479 GB, free: 304 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.363e-05/0.4934, allocations: 15.98 kB / 0.5479 GB, free: 288 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.035e-05/0.4934, allocations: 7.938 kB / 0.5479 GB, free: 280 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/0.4935, allocations: 3.984 kB / 0.5479 GB, free: 276 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2226/0.7161, allocations: 2.723 MB / 0.5506 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.7161, allocations: 2.281 kB / 0.5506 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002262/0.7184, allocations: 412.1 kB / 0.551 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.385e-05/0.7184, allocations: 8.719 kB / 0.551 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.7185, allocations: 38.48 kB / 0.551 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.017e-05/0.7185, allocations: 7 kB / 0.551 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.7185, allocations: 4.906 kB / 0.551 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003427/0.7219, allocations: 2.788 MB / 0.5537 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005403/0.7225, allocations: 217.8 kB / 0.5539 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/0.7227, allocations: 27.84 kB / 0.554 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008352/0.7235, allocations: 43.83 kB / 0.554 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.7237, allocations: 60.39 kB / 0.5541 GB, free: 112.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.044e-05/0.7238, allocations: 37.62 kB / 0.5541 GB, free: 112.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00212/0.7259, allocations: 1.638 MB / 0.5557 GB, free: 112.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.7259, allocations: 0 / 0.5557 GB, free: 112.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003591/0.7295, allocations: 0.8472 MB / 0.5565 GB, free: 112 MB / 462.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.0003316/0.7298, allocations: 170.4 kB / 0.5567 GB, free: 111.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004432/0.7342, allocations: 3.484 MB / 0.5601 GB, free: 110.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.7342, allocations: 0 / 0.5601 GB, free: 110.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007569/0.735, allocations: 0.6842 MB / 0.5608 GB, free: 110.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.7364, allocations: 230.6 kB / 0.561 GB, free: 110.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009222/0.7457, allocations: 7.463 MB / 0.5683 GB, free: 104.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001753/0.7474, allocations: 1.828 MB / 0.5701 GB, free: 103 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006088/0.748, allocations: 226.7 kB / 0.5703 GB, free: 102.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.748, allocations: 0 / 0.5703 GB, free: 102.8 MB / 462.1 MB Notification: Performance of Templates: time 0.05001/0.798, allocations: 40.99 MB / 0.6103 GB, free: 62.43 MB / 462.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","/var/lib/jenkins1/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: 10.927664048038423]