Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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.001556/0.001556, allocations: 112.5 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001713/0.001713, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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 1.411/1.411, allocations: 230.6 MB / 258.3 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] 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.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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 51.92 kB / 379 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2694, allocations: 53.36 MB / 432.4 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.009956/0.2793, allocations: 8.01 MB / 440.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00535/0.2847, allocations: 2.594 MB / 443 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008506/0.2855, allocations: 43.88 kB / 443 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0031/0.2886, allocations: 1.464 MB / 444.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002667/0.2913, allocations: 1.015 MB / 445.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000868/0.2921, allocations: 263.5 kB / 445.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003329/0.2955, allocations: 2.153 MB / 447.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002134/0.2976, allocations: 1.346 MB / 449.3 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001609/0.2992, allocations: 0.8484 MB / 450.1 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002247/0.3015, allocations: 1.3 MB / 451.4 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005745/0.302, allocations: 160 kB / 451.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.3037, allocations: 0.6981 MB / 452.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001606/0.3053, allocations: 1.172 MB / 453.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002256/0.3075, allocations: 1.366 MB / 454.8 MB, free: 384 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006108/0.3137, allocations: 4.282 MB / 459.1 MB, free: 12.08 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3137, allocations: 4 kB / 459.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3137, allocations: 0 / 459.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001636/0.3138, allocations: 4 kB / 459.1 MB, free: 12.07 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.006079/0.3199, allocations: 2.931 MB / 462 MB, free: 9.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.32, allocations: 12.03 kB / 462.1 MB, free: 9.078 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006977/0.3269, allocations: 1.789 MB / 463.8 MB, free: 7.285 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002811/0.3297, allocations: 1.117 MB / 465 MB, free: 6.137 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/0.3299, allocations: 147.8 kB / 465.1 MB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005887/0.3305, allocations: 203.8 kB / 465.3 MB, free: 5.793 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0195/0.35, allocations: 8.619 MB / 473.9 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001027/0.3501, allocations: 39.7 kB / 474 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000274/0.3504, allocations: 95.89 kB / 474.1 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002989/0.3534, allocations: 1.671 MB / 475.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01837/0.3717, allocations: 7.179 MB / 482.9 MB, free: 3.586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03788/0.4096, allocations: 30.05 MB / 0.5009 GB, free: 4.637 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02298/0.4326, allocations: 4.542 MB / 0.5054 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/0.4344, allocations: 1.196 MB / 0.5065 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005824/0.4402, allocations: 3.298 MB / 0.5098 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.4403, allocations: 50.81 kB / 0.5098 GB, free: 11.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 3.938e-06/0.4403, allocations: 0 / 0.5098 GB, free: 11.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.04692/0.4872, allocations: 9.002 MB / 0.5186 GB, free: 2.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.4873, allocations: 203.8 kB / 0.5188 GB, free: 2.168 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004339/0.4917, allocations: 3.032 MB / 0.5218 GB, free: 15.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001847/0.4918, allocations: 41.69 kB / 0.5218 GB, free: 15.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002054/0.4939, allocations: 2.527 MB / 0.5243 GB, free: 12.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006874/0.4946, allocations: 0.5119 MB / 0.5248 GB, free: 12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001366/0.496, allocations: 1.096 MB / 0.5258 GB, free: 10.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4961, allocations: 309.1 kB / 0.5261 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002552/0.4986, allocations: 1.603 MB / 0.5277 GB, free: 8.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005627/0.5043, allocations: 5.173 MB / 0.5327 GB, free: 2.004 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2202/0.7245, allocations: 7.326 MB / 0.5399 GB, free: 92.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001183/0.7246, allocations: 37.41 kB / 0.5399 GB, free: 92.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01052/0.7351, allocations: 6.46 MB / 0.5462 GB, free: 90.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.475e-05/0.7352, allocations: 62.61 kB / 0.5463 GB, free: 90.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001416/0.7354, allocations: 126.3 kB / 0.5464 GB, free: 90.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001519/0.7355, allocations: 164.2 kB / 0.5466 GB, free: 90.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004547/0.74, allocations: 1.466 MB / 0.548 GB, free: 90.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001793/0.7402, allocations: 248.4 kB / 0.5482 GB, free: 90.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003359/0.7436, allocations: 0.7646 MB / 0.549 GB, free: 90.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005698/0.7442, allocations: 344.6 kB / 0.5493 GB, free: 90.23 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.001775/0.7459, allocations: 1.573 MB / 0.5509 GB, free: 89.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003891/0.7463, allocations: 260.4 kB / 0.5511 GB, free: 89.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004437/0.7468, allocations: 318.4 kB / 0.5514 GB, free: 89.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.7468, allocations: 17.17 kB / 0.5514 GB, free: 89.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.7468, allocations: 0 / 0.5514 GB, free: 89.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/0.7468, allocations: 7.656 kB / 0.5514 GB, free: 89.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004808/0.7516, allocations: 3.368 MB / 0.5547 GB, free: 87.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.7516, allocations: 4 kB / 0.5547 GB, free: 87.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002163/0.7538, allocations: 414.8 kB / 0.5551 GB, free: 86.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.7538, allocations: 8 kB / 0.5551 GB, free: 86.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.918e-05/0.7539, allocations: 35.86 kB / 0.5552 GB, free: 86.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.7539, allocations: 4 kB / 0.5552 GB, free: 86.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.7539, allocations: 7.938 kB / 0.5552 GB, free: 86.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.7563, allocations: 2.821 MB / 0.5579 GB, free: 84.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004441/0.7567, allocations: 233.6 kB / 0.5582 GB, free: 83.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/0.757, allocations: 39.83 kB / 0.5582 GB, free: 83.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000842/0.7578, allocations: 39.44 kB / 0.5582 GB, free: 83.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.763e-05/0.7579, allocations: 58.23 kB / 0.5583 GB, free: 83.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-05/0.758, allocations: 31.84 kB / 0.5583 GB, free: 83.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002083/0.7601, allocations: 1.841 MB / 0.5601 GB, free: 82.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.7601, allocations: 0 / 0.5601 GB, free: 82.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003601/0.7637, allocations: 0.8216 MB / 0.5609 GB, free: 81.49 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.0003658/0.764, allocations: 162.1 kB / 0.5611 GB, free: 81.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004157/0.7682, allocations: 3.496 MB / 0.5645 GB, free: 78.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.7682, allocations: 4.062 kB / 0.5645 GB, free: 78.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000652/0.7688, allocations: 0.6797 MB / 0.5651 GB, free: 77.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.7703, allocations: 269 kB / 0.5654 GB, free: 77.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008856/0.7792, allocations: 7.493 MB / 0.5727 GB, free: 69.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00155/0.7807, allocations: 2.403 MB / 0.5751 GB, free: 67.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005859/0.7813, allocations: 231.4 kB / 0.5753 GB, free: 67.1 MB / 446.1 MB Notification: Performance of SimCode: time 9.51e-07/0.7813, allocations: 0 / 0.5753 GB, free: 67.1 MB / 446.1 MB Notification: Performance of Templates: time 0.04604/0.8274, allocations: 41.14 MB / 0.6155 GB, free: 26.03 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.564820996951312]