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.001872/0.001872, 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 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.002497/0.002497, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.526/1.526, allocations: 230.6 MB / 258.3 MB, free: 7.734 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.001628/0.001628, allocations: 43.92 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2804, allocations: 53.37 MB / 432.3 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.009534/0.29, allocations: 7.033 MB / 439.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00564/0.2956, allocations: 2.427 MB / 441.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008193/0.2964, allocations: 39.88 kB / 441.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002983/0.2994, allocations: 1.417 MB / 443.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002645/0.302, allocations: 1.011 MB / 444.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007296/0.3028, allocations: 267.5 kB / 444.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002994/0.3058, allocations: 2.156 MB / 446.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001773/0.3075, allocations: 1.344 MB / 448 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.3086, allocations: 0.8445 MB / 448.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.3102, allocations: 1.245 MB / 450.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002971/0.3105, allocations: 160 kB / 450.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.3117, allocations: 0.5733 MB / 450.8 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.3128, allocations: 1.176 MB / 452 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.3138, allocations: 0.9816 MB / 453 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004733/0.3186, allocations: 4.293 MB / 457.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3186, allocations: 0 / 457.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3186, allocations: 4 kB / 457.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.767e-05/0.3186, allocations: 0 / 457.3 MB, free: 13.6 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.004764/0.3234, allocations: 2.934 MB / 460.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3234, allocations: 8.031 kB / 460.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006916/0.3304, allocations: 1.793 MB / 462 MB, free: 8.809 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003411/0.3338, allocations: 1.117 MB / 463.2 MB, free: 7.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/0.334, allocations: 159.8 kB / 463.3 MB, free: 7.504 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006501/0.3346, allocations: 203.8 kB / 463.5 MB, free: 7.305 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01994/0.3546, allocations: 8.633 MB / 472.1 MB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/0.3547, allocations: 43.64 kB / 472.2 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002844/0.355, allocations: 103.9 kB / 472.3 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00303/0.358, allocations: 1.663 MB / 473.9 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01892/0.3769, allocations: 7.171 MB / 481.1 MB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03724/0.4141, allocations: 28.51 MB / 0.4977 GB, free: 7.688 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02236/0.4365, allocations: 4.544 MB / 0.5021 GB, free: 3.078 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001848/0.4383, allocations: 1.197 MB / 0.5033 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006042/0.4444, allocations: 3.076 MB / 0.5063 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.4444, allocations: 42.89 kB / 0.5063 GB, free: 14.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 3.868e-06/0.4444, allocations: 4 kB / 0.5063 GB, free: 14.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.045/0.4894, allocations: 8.977 MB / 0.5151 GB, free: 5.707 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.4896, allocations: 192.9 kB / 0.5153 GB, free: 5.477 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004094/0.4937, allocations: 2.973 MB / 0.5182 GB, free: 2.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001713/0.4938, allocations: 45.7 kB / 0.5182 GB, free: 2.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001858/0.4957, allocations: 2.539 MB / 0.5207 GB, free: 15.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005464/0.4962, allocations: 0.5159 MB / 0.5212 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001329/0.4976, allocations: 1.096 MB / 0.5223 GB, free: 14.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4977, allocations: 334 kB / 0.5226 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002301/0.5, allocations: 1.611 MB / 0.5242 GB, free: 12.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005344/0.5054, allocations: 5.173 MB / 0.5292 GB, free: 5.312 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009486/0.5149, allocations: 7.342 MB / 0.5364 GB, free: 12.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001073/0.515, allocations: 40 kB / 0.5364 GB, free: 12.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01093/0.5259, allocations: 6.435 MB / 0.5427 GB, free: 5.707 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.414e-05/0.526, allocations: 60 kB / 0.5428 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001413/0.5261, allocations: 124 kB / 0.5429 GB, free: 5.527 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000177/0.5263, allocations: 168 kB / 0.5431 GB, free: 5.363 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004642/0.5309, allocations: 1.458 MB / 0.5445 GB, free: 3.902 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000223/0.5312, allocations: 247 kB / 0.5447 GB, free: 3.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003404/0.5346, allocations: 0.7411 MB / 0.5454 GB, free: 2.914 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004188/0.535, allocations: 344 kB / 0.5458 GB, free: 2.578 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.002324/0.5373, allocations: 1.571 MB / 0.5473 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004206/0.5377, allocations: 242.4 kB / 0.5475 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004558/0.5382, allocations: 289.1 kB / 0.5478 GB, free: 476 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.479e-05/0.5382, allocations: 15.98 kB / 0.5478 GB, free: 460 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.5382, allocations: 7.875 kB / 0.5478 GB, free: 452 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.5382, allocations: 11.98 kB / 0.5479 GB, free: 440 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.244/0.7823, allocations: 2.722 MB / 0.5505 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.7823, allocations: 1.219 kB / 0.5505 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002476/0.7848, allocations: 413.3 kB / 0.5509 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.076e-05/0.7848, allocations: 8.5 kB / 0.5509 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.7849, allocations: 34 kB / 0.5509 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.277e-06/0.7849, allocations: 4.609 kB / 0.551 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.7849, allocations: 2.781 kB / 0.551 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003732/0.7886, allocations: 2.79 MB / 0.5537 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005664/0.7892, allocations: 217.6 kB / 0.5539 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002414/0.7894, allocations: 29.48 kB / 0.5539 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008406/0.7903, allocations: 43.89 kB / 0.554 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.7904, allocations: 59.52 kB / 0.554 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.537e-05/0.7905, allocations: 38.38 kB / 0.554 GB, free: 112.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002261/0.7928, allocations: 1.637 MB / 0.5556 GB, free: 112.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7928, allocations: 0 / 0.5556 GB, free: 112.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004025/0.7968, allocations: 0.8482 MB / 0.5565 GB, free: 112.1 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.0003652/0.7972, allocations: 171 kB / 0.5566 GB, free: 112 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004828/0.802, allocations: 3.485 MB / 0.56 GB, free: 110.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.802, allocations: 1.5 kB / 0.56 GB, free: 110.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007579/0.8027, allocations: 0.6902 MB / 0.5607 GB, free: 110.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.8042, allocations: 212 kB / 0.5609 GB, free: 110.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009477/0.8137, allocations: 7.454 MB / 0.5682 GB, free: 104.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001771/0.8155, allocations: 1.834 MB / 0.57 GB, free: 103.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006362/0.8161, allocations: 223.1 kB / 0.5702 GB, free: 103.1 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.8161, allocations: 0 / 0.5702 GB, free: 103.1 MB / 462.1 MB Notification: Performance of Templates: time 0.05072/0.8668, allocations: 41 MB / 0.6102 GB, free: 62.75 MB / 462.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: 11.010321683716029]