Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 250.8 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 47.92 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2581, allocations: 52.14 MB / 420.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.009413/0.2676, allocations: 8.031 MB / 428.9 MB, free: 7.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005606/0.2732, allocations: 2.547 MB / 431.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.2743, allocations: 35.94 kB / 431.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002987/0.2773, allocations: 1.448 MB / 432.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002737/0.28, allocations: 1.027 MB / 434 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007003/0.2807, allocations: 267.4 kB / 434.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003137/0.2838, allocations: 2.184 MB / 436.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001905/0.2857, allocations: 1.2 MB / 437.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001318/0.2871, allocations: 0.8445 MB / 438.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/0.2889, allocations: 1.3 MB / 439.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003345/0.2893, allocations: 163.9 kB / 439.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.2908, allocations: 0.6864 MB / 440.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001144/0.2919, allocations: 1.192 MB / 441.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.2933, allocations: 1.378 MB / 443.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005006/0.2983, allocations: 4.319 MB / 447.5 MB, free: 4.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2983, allocations: 0 / 447.5 MB, free: 4.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.2983, allocations: 0 / 447.5 MB, free: 4.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001173/0.2984, allocations: 7.984 kB / 447.5 MB, free: 4.332 MB / 350.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.005071/0.3035, allocations: 3.041 MB / 450.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3035, allocations: 8.031 kB / 450.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006688/0.3102, allocations: 1.793 MB / 452.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.3126, allocations: 1.166 MB / 453.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.3127, allocations: 155.8 kB / 453.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004085/0.3131, allocations: 207.8 kB / 453.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01926/0.3324, allocations: 8.6 MB / 462.5 MB, free: 4.652 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.301e-05/0.3325, allocations: 39.64 kB / 462.5 MB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002971/0.3328, allocations: 103.9 kB / 462.6 MB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003042/0.3358, allocations: 1.675 MB / 464.3 MB, free: 2.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01876/0.3546, allocations: 7.159 MB / 471.4 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03678/0.3913, allocations: 30.16 MB / 0.4898 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02272/0.4141, allocations: 4.97 MB / 0.4947 GB, free: 7.484 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001772/0.4158, allocations: 1.193 MB / 0.4959 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00562/0.4215, allocations: 3.758 MB / 0.4995 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/0.4215, allocations: 50.88 kB / 0.4996 GB, free: 2.305 MB / 414.1 MB Notification: Performance of pre-optimization done (n=111): time 3.246e-06/0.4215, allocations: 0 / 0.4996 GB, free: 2.305 MB / 414.1 MB Notification: Performance of matching and sorting (n=111): time 0.04673/0.4682, allocations: 9.261 MB / 0.5086 GB, free: 8.953 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.4684, allocations: 199.8 kB / 0.5088 GB, free: 8.715 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00461/0.473, allocations: 3.048 MB / 0.5118 GB, free: 5.648 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001569/0.4732, allocations: 41.7 kB / 0.5118 GB, free: 5.602 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001942/0.4751, allocations: 2.527 MB / 0.5143 GB, free: 3.051 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005619/0.4757, allocations: 0.5197 MB / 0.5148 GB, free: 2.527 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00137/0.477, allocations: 1.092 MB / 0.5159 GB, free: 1.426 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4772, allocations: 301.1 kB / 0.5162 GB, free: 1.129 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00254/0.4797, allocations: 1.607 MB / 0.5177 GB, free: 15.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00538/0.4851, allocations: 5.165 MB / 0.5228 GB, free: 8.547 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009035/0.4941, allocations: 7.334 MB / 0.5299 GB, free: 15.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.935e-05/0.4942, allocations: 36 kB / 0.53 GB, free: 15.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.0109/0.5051, allocations: 6.443 MB / 0.5363 GB, free: 8.949 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.058e-05/0.5052, allocations: 63.98 kB / 0.5363 GB, free: 8.887 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000133/0.5053, allocations: 132.1 kB / 0.5364 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/0.5055, allocations: 164 kB / 0.5366 GB, free: 8.598 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004994/0.5105, allocations: 1.454 MB / 0.538 GB, free: 7.141 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002306/0.5107, allocations: 247 kB / 0.5383 GB, free: 6.898 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003707/0.5144, allocations: 0.7756 MB / 0.539 GB, free: 6.117 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005615/0.515, allocations: 344 kB / 0.5393 GB, free: 5.781 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.002445/0.5174, allocations: 1.579 MB / 0.5409 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004737/0.5179, allocations: 266.2 kB / 0.5411 GB, free: 3.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.5192, allocations: 0.8291 MB / 0.5419 GB, free: 3.094 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-05/0.5193, allocations: 19.94 kB / 0.542 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.5193, allocations: 0 / 0.542 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.5193, allocations: 7.984 kB / 0.542 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1969/0.7162, allocations: 3.382 MB / 0.5453 GB, free: 121.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/0.7162, allocations: 1.531 kB / 0.5453 GB, free: 121.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002665/0.7189, allocations: 412 kB / 0.5457 GB, free: 121.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.61e-05/0.7189, allocations: 8.031 kB / 0.5457 GB, free: 121.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001312/0.719, allocations: 40.28 kB / 0.5457 GB, free: 121.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-05/0.719, allocations: 4.875 kB / 0.5457 GB, free: 121.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.719, allocations: 1.344 kB / 0.5457 GB, free: 121.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00312/0.7221, allocations: 2.792 MB / 0.5484 GB, free: 120.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005386/0.7227, allocations: 316.2 kB / 0.5488 GB, free: 120.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002667/0.7229, allocations: 32.8 kB / 0.5488 GB, free: 120.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008694/0.7238, allocations: 38.31 kB / 0.5488 GB, free: 120.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.7239, allocations: 62.88 kB / 0.5489 GB, free: 120.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.168e-05/0.724, allocations: 31.81 kB / 0.5489 GB, free: 120.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002196/0.7262, allocations: 1.842 MB / 0.5507 GB, free: 119.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7262, allocations: 0 / 0.5507 GB, free: 119.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00352/0.7297, allocations: 0.8472 MB / 0.5515 GB, free: 119.6 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.0003227/0.7301, allocations: 171.1 kB / 0.5517 GB, free: 119.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00437/0.7344, allocations: 3.478 MB / 0.5551 GB, free: 118.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/0.7344, allocations: 0 / 0.5551 GB, free: 118.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007792/0.7352, allocations: 0.6842 MB / 0.5558 GB, free: 118.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/0.737, allocations: 264 kB / 0.556 GB, free: 118.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00874/0.7458, allocations: 7.152 MB / 0.563 GB, free: 113.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/0.7474, allocations: 2.389 MB / 0.5653 GB, free: 111.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003169/0.7506, allocations: 1.634 MB / 0.5669 GB, free: 110.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000519/0.7511, allocations: 188.6 kB / 0.5671 GB, free: 110.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.482e-06/0.7511, allocations: 0 / 0.5671 GB, free: 110.3 MB / 462.1 MB Notification: Performance of Templates: time 0.0346/0.7857, allocations: 20.31 MB / 0.5869 GB, free: 90.53 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.949726017192006]