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.001625/0.001625, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002441/0.002441, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.476/1.476, allocations: 230.5 MB / 258.1 MB, free: 8.008 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.001919/0.001919, allocations: 63.91 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2499, allocations: 53.41 MB / 432.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.01079/0.2607, allocations: 8.005 MB / 440.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00593/0.2666, allocations: 2.598 MB / 443 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.2679, allocations: 39.81 kB / 443.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003391/0.2713, allocations: 1.464 MB / 444.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002837/0.2741, allocations: 1.015 MB / 445.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000885/0.275, allocations: 263.4 kB / 445.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003655/0.2787, allocations: 2.165 MB / 448 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00222/0.2809, allocations: 1.336 MB / 449.3 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00152/0.2824, allocations: 0.8523 MB / 450.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002219/0.2846, allocations: 1.296 MB / 451.5 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004822/0.2851, allocations: 160 kB / 451.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.2867, allocations: 0.6942 MB / 452.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001453/0.2882, allocations: 1.176 MB / 453.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00226/0.2904, allocations: 1.362 MB / 454.9 MB, free: 84 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005852/0.2963, allocations: 4.284 MB / 459.1 MB, free: 11.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2963, allocations: 0 / 459.1 MB, free: 11.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2963, allocations: 0 / 459.1 MB, free: 11.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001763/0.2965, allocations: 7.938 kB / 459.2 MB, free: 11.77 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.005969/0.3025, allocations: 2.934 MB / 462.1 MB, free: 8.785 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3025, allocations: 8.031 kB / 462.1 MB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00708/0.3096, allocations: 1.8 MB / 463.9 MB, free: 6.973 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/0.3124, allocations: 1.105 MB / 465 MB, free: 5.836 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.3125, allocations: 151.8 kB / 465.1 MB, free: 5.688 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004233/0.3129, allocations: 211.8 kB / 465.4 MB, free: 5.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02124/0.3342, allocations: 8.612 MB / 474 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001482/0.3343, allocations: 39.64 kB / 474 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007289/0.3351, allocations: 99.89 kB / 474.1 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003479/0.3385, allocations: 1.667 MB / 475.8 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02028/0.3588, allocations: 7.183 MB / 483 MB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04267/0.4015, allocations: 30.05 MB / 0.501 GB, free: 4.336 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02397/0.4255, allocations: 4.548 MB / 0.5054 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00176/0.4272, allocations: 1.189 MB / 0.5066 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005894/0.4331, allocations: 3.298 MB / 0.5098 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.4332, allocations: 46.89 kB / 0.5098 GB, free: 11.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 4.799e-06/0.4332, allocations: 3.938 kB / 0.5098 GB, free: 11.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.04847/0.4816, allocations: 9.001 MB / 0.5186 GB, free: 2.109 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.4818, allocations: 199.9 kB / 0.5188 GB, free: 1.871 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005086/0.4869, allocations: 3.035 MB / 0.5218 GB, free: 14.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001713/0.487, allocations: 41.7 kB / 0.5218 GB, free: 14.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002102/0.4891, allocations: 2.527 MB / 0.5243 GB, free: 12.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006759/0.4898, allocations: 0.5158 MB / 0.5248 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001609/0.4914, allocations: 1.088 MB / 0.5259 GB, free: 10.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4915, allocations: 305.1 kB / 0.5262 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002574/0.4941, allocations: 1.611 MB / 0.5277 GB, free: 8.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005571/0.4997, allocations: 5.169 MB / 0.5328 GB, free: 1.707 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008937/0.5086, allocations: 7.333 MB / 0.5399 GB, free: 8.594 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001059/0.5087, allocations: 36 kB / 0.54 GB, free: 8.559 MB / 462.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01163/0.5204, allocations: 6.472 MB / 0.5463 GB, free: 2.086 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.5205, allocations: 60 kB / 0.5464 GB, free: 2.027 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001943/0.5207, allocations: 128 kB / 0.5465 GB, free: 1.902 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000198/0.5209, allocations: 164 kB / 0.5466 GB, free: 1.742 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005571/0.5265, allocations: 1.466 MB / 0.5481 GB, free: 280 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002975/0.5268, allocations: 251 kB / 0.5483 GB, free: 28 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2216/0.7484, allocations: 0.7575 MB / 0.549 GB, free: 111.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008562/0.7492, allocations: 347.1 kB / 0.5494 GB, free: 111.8 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.002247/0.7515, allocations: 1.57 MB / 0.5509 GB, free: 111.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005528/0.752, allocations: 265.5 kB / 0.5512 GB, free: 111.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005219/0.7526, allocations: 311.2 kB / 0.5515 GB, free: 111.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.548e-05/0.7526, allocations: 17.64 kB / 0.5515 GB, free: 111.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.7526, allocations: 4.781 kB / 0.5515 GB, free: 111.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.7526, allocations: 5.125 kB / 0.5515 GB, free: 111.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005668/0.7583, allocations: 3.369 MB / 0.5548 GB, free: 110.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.7583, allocations: 2.406 kB / 0.5548 GB, free: 110.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002379/0.7607, allocations: 413.5 kB / 0.5552 GB, free: 110.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.7607, allocations: 2.75 kB / 0.5552 GB, free: 110.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.7608, allocations: 39.14 kB / 0.5552 GB, free: 110.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.7608, allocations: 5.094 kB / 0.5552 GB, free: 110.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.7608, allocations: 3.969 kB / 0.5552 GB, free: 110.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003047/0.7638, allocations: 2.808 MB / 0.558 GB, free: 109 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006213/0.7645, allocations: 244.5 kB / 0.5582 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002716/0.7647, allocations: 27.05 kB / 0.5582 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008837/0.7656, allocations: 44.73 kB / 0.5583 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.7657, allocations: 59.38 kB / 0.5583 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.818e-05/0.7658, allocations: 38.73 kB / 0.5584 GB, free: 108.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002196/0.768, allocations: 1.84 MB / 0.5602 GB, free: 108.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.768, allocations: 0.8438 kB / 0.5602 GB, free: 108.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003957/0.7719, allocations: 0.8216 MB / 0.561 GB, free: 108 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.0003396/0.7723, allocations: 172.4 kB / 0.5611 GB, free: 107.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004458/0.7767, allocations: 3.485 MB / 0.5645 GB, free: 106.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.7767, allocations: 0 / 0.5645 GB, free: 106.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007279/0.7775, allocations: 0.6816 MB / 0.5652 GB, free: 106.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.7792, allocations: 269.2 kB / 0.5654 GB, free: 106.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009313/0.7885, allocations: 7.511 MB / 0.5728 GB, free: 100.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/0.7902, allocations: 2.4 MB / 0.5751 GB, free: 98.36 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006641/0.7909, allocations: 235.8 kB / 0.5753 GB, free: 98.14 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.7909, allocations: 0 / 0.5753 GB, free: 98.14 MB / 462.1 MB Notification: Performance of Templates: time 0.05006/0.841, allocations: 41.14 MB / 0.6155 GB, free: 57.35 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: 11.022702372865751]