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.001375/0.001375, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001673/0.001673, allocations: 203.7 kB / 23.72 MB, free: 4.391 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.477/1.477, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.002024/0.002024, allocations: 67.88 kB / 378.2 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2468, allocations: 53.41 MB / 431.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.009375/0.2562, allocations: 7.025 MB / 438.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005483/0.2617, allocations: 2.431 MB / 441.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006737/0.2624, allocations: 47.81 kB / 441.1 MB, free: 13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002927/0.2653, allocations: 1.405 MB / 442.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002186/0.2675, allocations: 1.015 MB / 443.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006543/0.2681, allocations: 263.4 kB / 443.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002475/0.2706, allocations: 2.16 MB / 446 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001672/0.2723, allocations: 1.331 MB / 447.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.2733, allocations: 0.8562 MB / 448.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001654/0.275, allocations: 1.242 MB / 449.4 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002988/0.2753, allocations: 160 kB / 449.6 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.2764, allocations: 0.5733 MB / 450.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001064/0.2775, allocations: 1.18 MB / 451.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001278/0.2788, allocations: 0.9778 MB / 452.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004708/0.2835, allocations: 4.294 MB / 456.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2835, allocations: 4 kB / 456.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2835, allocations: 0 / 456.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.608e-05/0.2835, allocations: 0 / 456.6 MB, free: 13.47 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.004363/0.2879, allocations: 2.934 MB / 459.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2879, allocations: 11.98 kB / 459.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006828/0.2948, allocations: 1.793 MB / 461.3 MB, free: 8.676 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002506/0.2973, allocations: 1.117 MB / 462.5 MB, free: 7.527 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.2974, allocations: 155.8 kB / 462.6 MB, free: 7.375 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003728/0.2978, allocations: 211.8 kB / 462.8 MB, free: 7.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0191/0.3169, allocations: 8.629 MB / 471.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.602e-05/0.317, allocations: 43.69 kB / 471.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002764/0.3172, allocations: 103.9 kB / 471.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003018/0.3203, allocations: 1.671 MB / 473.3 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0179/0.3382, allocations: 7.178 MB / 480.4 MB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03543/0.3736, allocations: 28.5 MB / 0.497 GB, free: 7.555 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02558/0.3992, allocations: 4.538 MB / 0.5014 GB, free: 2.949 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001814/0.401, allocations: 1.193 MB / 0.5026 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005613/0.4066, allocations: 3.08 MB / 0.5056 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.4067, allocations: 46.83 kB / 0.5057 GB, free: 14.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 3.647e-06/0.4067, allocations: 4 kB / 0.5057 GB, free: 14.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.04599/0.4526, allocations: 8.977 MB / 0.5144 GB, free: 5.574 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.4528, allocations: 199.9 kB / 0.5146 GB, free: 5.336 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003955/0.4567, allocations: 2.965 MB / 0.5175 GB, free: 2.348 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.4568, allocations: 45.69 kB / 0.5176 GB, free: 2.297 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001847/0.4587, allocations: 2.551 MB / 0.52 GB, free: 15.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005128/0.4592, allocations: 0.5119 MB / 0.5205 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/0.4605, allocations: 1.092 MB / 0.5216 GB, free: 14.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4607, allocations: 341.9 kB / 0.5219 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002305/0.463, allocations: 1.599 MB / 0.5235 GB, free: 12.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005374/0.4683, allocations: 5.177 MB / 0.5286 GB, free: 5.172 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008869/0.4772, allocations: 7.333 MB / 0.5357 GB, free: 12.05 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/0.4773, allocations: 40 kB / 0.5358 GB, free: 12.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01031/0.4876, allocations: 6.438 MB / 0.542 GB, free: 5.574 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.864e-05/0.4877, allocations: 60 kB / 0.5421 GB, free: 5.516 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001256/0.4878, allocations: 124 kB / 0.5422 GB, free: 5.395 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/0.488, allocations: 168 kB / 0.5424 GB, free: 5.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004493/0.4925, allocations: 1.454 MB / 0.5438 GB, free: 3.773 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001976/0.4927, allocations: 251.3 kB / 0.544 GB, free: 3.531 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003185/0.4959, allocations: 0.7446 MB / 0.5448 GB, free: 2.781 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004314/0.4963, allocations: 344 kB / 0.5451 GB, free: 2.445 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.002144/0.4984, allocations: 1.568 MB / 0.5466 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003962/0.4988, allocations: 238.4 kB / 0.5469 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004896/0.4993, allocations: 293.1 kB / 0.5471 GB, free: 344 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-05/0.4994, allocations: 12 kB / 0.5471 GB, free: 332 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.4994, allocations: 7.938 kB / 0.5472 GB, free: 324 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.4994, allocations: 11.97 kB / 0.5472 GB, free: 312 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2148/0.7142, allocations: 2.718 MB / 0.5498 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.7142, allocations: 2.75 kB / 0.5498 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002256/0.7165, allocations: 412.8 kB / 0.5502 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.476e-05/0.7165, allocations: 8 kB / 0.5502 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.715e-05/0.7166, allocations: 34.06 kB / 0.5503 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/0.7166, allocations: 5.406 kB / 0.5503 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.7166, allocations: 7.328 kB / 0.5503 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003437/0.72, allocations: 2.791 MB / 0.553 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004567/0.7205, allocations: 213.1 kB / 0.5532 GB, free: 112.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/0.7207, allocations: 34.75 kB / 0.5532 GB, free: 112.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008159/0.7215, allocations: 39.88 kB / 0.5533 GB, free: 112.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.7217, allocations: 60.22 kB / 0.5533 GB, free: 112.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.263e-05/0.7218, allocations: 36.66 kB / 0.5534 GB, free: 112.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002206/0.724, allocations: 1.637 MB / 0.555 GB, free: 112.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.724, allocations: 0 / 0.555 GB, free: 112.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003832/0.7278, allocations: 0.8555 MB / 0.5558 GB, free: 111.9 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.0002894/0.7281, allocations: 162.1 kB / 0.5559 GB, free: 111.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004418/0.7325, allocations: 3.495 MB / 0.5594 GB, free: 110.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.7325, allocations: 0 / 0.5594 GB, free: 110.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007226/0.7332, allocations: 0.6874 MB / 0.56 GB, free: 110.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.7345, allocations: 216.2 kB / 0.5602 GB, free: 110.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0082/0.7427, allocations: 7.131 MB / 0.5672 GB, free: 104.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/0.7444, allocations: 1.831 MB / 0.569 GB, free: 103.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002892/0.7473, allocations: 1.605 MB / 0.5706 GB, free: 102.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003644/0.7477, allocations: 178.6 kB / 0.5707 GB, free: 102.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/0.7477, allocations: 0 / 0.5707 GB, free: 102.2 MB / 462.1 MB Notification: Performance of Templates: time 0.03454/0.7822, allocations: 18.31 MB / 0.5886 GB, free: 84.3 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","/var/lib/jenkins/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: 6.059974934905767]