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.001505/0.001505, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001482/0.001482, allocations: 210.9 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.492/1.492, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001598/0.001598, allocations: 51.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2413, allocations: 53.37 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.009346/0.2506, allocations: 7.014 MB / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005214/0.2558, allocations: 2.454 MB / 441.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007744/0.2566, allocations: 43.81 kB / 441.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00291/0.2595, allocations: 1.394 MB / 443.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002719/0.2622, allocations: 1.027 MB / 444.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007155/0.2629, allocations: 267.4 kB / 444.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002783/0.2657, allocations: 2.153 MB / 446.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/0.2674, allocations: 1.34 MB / 448 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.2686, allocations: 0.8523 MB / 448.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001826/0.2704, allocations: 1.296 MB / 450.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003378/0.2707, allocations: 160 kB / 450.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.272, allocations: 0.5851 MB / 450.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.2731, allocations: 1.18 MB / 452.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.2742, allocations: 0.97 MB / 453.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004689/0.2789, allocations: 4.305 MB / 457.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2789, allocations: 0 / 457.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2789, allocations: 0 / 457.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.956e-05/0.279, allocations: 0 / 457.4 MB, free: 13.57 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.004523/0.2835, allocations: 2.934 MB / 460.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.2835, allocations: 8.031 kB / 460.3 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006964/0.2905, allocations: 1.8 MB / 462.1 MB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002975/0.2935, allocations: 1.109 MB / 463.2 MB, free: 7.633 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.2936, allocations: 155.8 kB / 463.4 MB, free: 7.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004551/0.294, allocations: 211.8 kB / 463.6 MB, free: 7.273 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02057/0.3146, allocations: 8.629 MB / 472.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/0.3147, allocations: 39.7 kB / 472.2 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003141/0.315, allocations: 99.88 kB / 472.3 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002969/0.318, allocations: 1.671 MB / 474 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01916/0.3372, allocations: 7.175 MB / 481.2 MB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0378/0.375, allocations: 28.51 MB / 0.4978 GB, free: 7.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0248/0.3998, allocations: 4.542 MB / 0.5022 GB, free: 3.051 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001847/0.4016, allocations: 1.189 MB / 0.5034 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005983/0.4076, allocations: 3.076 MB / 0.5064 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.4076, allocations: 46.83 kB / 0.5064 GB, free: 14.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 3.567e-06/0.4076, allocations: 0 / 0.5064 GB, free: 14.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.05054/0.4582, allocations: 8.981 MB / 0.5152 GB, free: 5.684 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.4583, allocations: 199.9 kB / 0.5154 GB, free: 5.445 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003912/0.4622, allocations: 2.965 MB / 0.5183 GB, free: 2.457 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.4624, allocations: 41.7 kB / 0.5183 GB, free: 2.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001904/0.4643, allocations: 2.551 MB / 0.5208 GB, free: 15.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005346/0.4648, allocations: 0.508 MB / 0.5213 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001354/0.4662, allocations: 1.096 MB / 0.5224 GB, free: 14.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.4663, allocations: 345.9 kB / 0.5227 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002363/0.4687, allocations: 1.599 MB / 0.5242 GB, free: 12.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005305/0.474, allocations: 5.173 MB / 0.5293 GB, free: 5.285 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008747/0.4828, allocations: 7.339 MB / 0.5365 GB, free: 12.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.955e-05/0.4829, allocations: 36 kB / 0.5365 GB, free: 12.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01195/0.4948, allocations: 6.439 MB / 0.5428 GB, free: 5.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.4949, allocations: 63.16 kB / 0.5428 GB, free: 5.621 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001655/0.4951, allocations: 132 kB / 0.543 GB, free: 5.492 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001839/0.4953, allocations: 164 kB / 0.5431 GB, free: 5.332 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005404/0.5007, allocations: 1.458 MB / 0.5446 GB, free: 3.871 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002273/0.5009, allocations: 258.8 kB / 0.5448 GB, free: 3.621 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003588/0.5045, allocations: 0.7367 MB / 0.5455 GB, free: 2.883 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005332/0.505, allocations: 344 kB / 0.5458 GB, free: 2.547 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.002474/0.5075, allocations: 1.571 MB / 0.5474 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004626/0.508, allocations: 238.4 kB / 0.5476 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004855/0.5084, allocations: 293.1 kB / 0.5479 GB, free: 444 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-05/0.5085, allocations: 16 kB / 0.5479 GB, free: 428 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.5085, allocations: 3.938 kB / 0.5479 GB, free: 424 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.5085, allocations: 3.984 kB / 0.5479 GB, free: 420 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.238/0.7465, allocations: 2.72 MB / 0.5506 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.7465, allocations: 5 kB / 0.5506 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002552/0.7491, allocations: 414.5 kB / 0.551 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.454e-05/0.7491, allocations: 8.875 kB / 0.551 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.7492, allocations: 33.14 kB / 0.551 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.016e-06/0.7492, allocations: 5.75 kB / 0.551 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.7492, allocations: 1.438 kB / 0.551 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00331/0.7525, allocations: 2.787 MB / 0.5537 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005419/0.7531, allocations: 218.4 kB / 0.5539 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002398/0.7533, allocations: 33.12 kB / 0.554 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008705/0.7542, allocations: 45.28 kB / 0.554 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.7544, allocations: 63.8 kB / 0.5541 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.937e-05/0.7544, allocations: 36.53 kB / 0.5541 GB, free: 112.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002136/0.7566, allocations: 1.635 MB / 0.5557 GB, free: 112.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7566, allocations: 0 / 0.5557 GB, free: 112.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003711/0.7603, allocations: 0.8495 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.0003366/0.7606, allocations: 164.6 kB / 0.5567 GB, free: 112 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004449/0.7651, allocations: 3.496 MB / 0.5601 GB, free: 110.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.7651, allocations: 0 / 0.5601 GB, free: 110.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007341/0.7658, allocations: 0.6868 MB / 0.5608 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.001433/0.7672, allocations: 217.2 kB / 0.561 GB, free: 110.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009224/0.7765, allocations: 7.456 MB / 0.5683 GB, free: 104.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001639/0.7781, allocations: 1.834 MB / 0.5701 GB, free: 103.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006369/0.7787, allocations: 226.4 kB / 0.5703 GB, free: 103.1 MB / 462.1 MB Notification: Performance of SimCode: time 1.663e-06/0.7787, allocations: 0 / 0.5703 GB, free: 103.1 MB / 462.1 MB Notification: Performance of Templates: time 0.05024/0.829, allocations: 40.99 MB / 0.6103 GB, free: 62.74 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: 10.60583797300933]