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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001132/0.001132, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.211/1.211, allocations: 227.2 MB / 245 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008959/0.000896, allocations: 98.47 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002584/0.0002585, allocations: 12 kB / 357.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1997, allocations: 51.49 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09579/0.2955, allocations: 90.66 MB / 0.4884 GB, free: 15.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.2958, allocations: 91.95 kB / 0.4885 GB, free: 15.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2735/0.5693, allocations: 53.53 MB / 0.5407 GB, free: 70.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5693, allocations: 0 / 0.5407 GB, free: 70.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.175e-05/0.5694, allocations: 55.98 kB / 0.5408 GB, free: 70.13 MB / 378.7 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.005211/0.5746, allocations: 2.542 MB / 0.5433 GB, free: 67.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.5747, allocations: 12.03 kB / 0.5433 GB, free: 67.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007636/0.5823, allocations: 1.954 MB / 0.5452 GB, free: 65.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003424/0.5858, allocations: 1.415 MB / 0.5466 GB, free: 64.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.586, allocations: 230 kB / 0.5468 GB, free: 63.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009733/0.587, allocations: 315.8 kB / 0.5471 GB, free: 63.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01818/0.6052, allocations: 9.022 MB / 0.5559 GB, free: 53.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001866/0.6054, allocations: 55.52 kB / 0.556 GB, free: 53.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001178/0.6066, allocations: 151.9 kB / 0.5561 GB, free: 53.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001265/0.6078, allocations: 0.8085 MB / 0.5569 GB, free: 52.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01432/0.6222, allocations: 7.252 MB / 0.564 GB, free: 45.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03209/0.6543, allocations: 38.38 MB / 0.6015 GB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01797/0.6723, allocations: 5.361 MB / 0.6067 GB, free: 112 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006117/0.6785, allocations: 3.708 MB / 0.6103 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.6786, allocations: 50.83 kB / 0.6104 GB, free: 12.19 MB / 394.7 MB Notification: Performance of pre-optimization done (n=111): time 4.329e-06/0.6786, allocations: 0 / 0.6104 GB, free: 12.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=111): time 0.04008/0.7187, allocations: 10.02 MB / 0.6201 GB, free: 2.031 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.619e-05/0.7188, allocations: 191.9 kB / 0.6203 GB, free: 1.801 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005665/0.7245, allocations: 2.709 MB / 0.623 GB, free: 15.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005982/0.7251, allocations: 41.7 kB / 0.623 GB, free: 15.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002293/0.7275, allocations: 2.418 MB / 0.6254 GB, free: 12.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006656/0.7282, allocations: 0.498 MB / 0.6259 GB, free: 12.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003697/0.7285, allocations: 104 kB / 0.626 GB, free: 11.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004329/0.729, allocations: 0.5372 MB / 0.6265 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/0.7313, allocations: 1.498 MB / 0.6279 GB, free: 9.922 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004599/0.7359, allocations: 5.036 MB / 0.6329 GB, free: 3.082 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003627/0.7395, allocations: 2.716 MB / 0.6355 GB, free: 372 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.19e-05/0.7396, allocations: 40 kB / 0.6356 GB, free: 332 kB / 410.7 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.009505/0.7491, allocations: 6.218 MB / 0.6416 GB, free: 10.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.408e-05/0.7492, allocations: 60 kB / 0.6417 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001506/0.7494, allocations: 128.1 kB / 0.6418 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000178/0.7495, allocations: 188.3 kB / 0.642 GB, free: 9.734 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004931/0.7545, allocations: 1.517 MB / 0.6435 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001952/0.7547, allocations: 251 kB / 0.6437 GB, free: 7.969 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003563/0.7583, allocations: 0.7654 MB / 0.6445 GB, free: 7.195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005552/0.7588, allocations: 340 kB / 0.6448 GB, free: 6.863 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002566/0.7614, allocations: 1.583 MB / 0.6463 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004703/0.7619, allocations: 244.8 kB / 0.6466 GB, free: 5.027 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.7632, allocations: 0.7509 MB / 0.6473 GB, free: 4.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/0.7632, allocations: 16 kB / 0.6473 GB, free: 4.254 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.7632, allocations: 3.984 kB / 0.6473 GB, free: 4.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.7633, allocations: 7.984 kB / 0.6473 GB, free: 4.242 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006882/0.7701, allocations: 3.235 MB / 0.6505 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.7702, allocations: 0 / 0.6505 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002501/0.7727, allocations: 471.4 kB / 0.6509 GB, free: 496 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/0.7727, allocations: 4 kB / 0.6509 GB, free: 492 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.71e-05/0.7728, allocations: 39.97 kB / 0.651 GB, free: 452 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.7728, allocations: 4 kB / 0.651 GB, free: 448 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.7728, allocations: 12 kB / 0.651 GB, free: 436 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002989/0.7758, allocations: 2.665 MB / 0.6536 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006112/0.7765, allocations: 309.6 kB / 0.6539 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003586/0.7768, allocations: 27.98 kB / 0.6539 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.7778, allocations: 55.84 kB / 0.654 GB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.778, allocations: 59.81 kB / 0.654 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-05/0.7781, allocations: 43.95 kB / 0.6541 GB, free: 13.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00288/0.781, allocations: 1.833 MB / 0.6558 GB, free: 11.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.781, allocations: 0 / 0.6558 GB, free: 11.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00392/0.7849, allocations: 0.8339 MB / 0.6567 GB, free: 10.51 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004008/0.7853, allocations: 175.7 kB / 0.6568 GB, free: 10.33 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005156/0.7905, allocations: 3.401 MB / 0.6602 GB, free: 6.957 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.7905, allocations: 4 kB / 0.6602 GB, free: 6.953 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008315/0.7913, allocations: 0.6323 MB / 0.6608 GB, free: 6.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.7926, allocations: 244.5 kB / 0.661 GB, free: 6.086 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1786/0.9712, allocations: 8.451 MB / 0.6693 GB, free: 122.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002446/0.9737, allocations: 2.449 MB / 0.6717 GB, free: 122 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00383/0.9776, allocations: 1.649 MB / 0.6733 GB, free: 122 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004421/0.978, allocations: 186 kB / 0.6734 GB, free: 122 MB / 442.7 MB Notification: Performance of SimCode: time 1.102e-06/0.978, allocations: 0 / 0.6734 GB, free: 122 MB / 442.7 MB Notification: Performance of Templates: time 0.03705/1.015, allocations: 20.43 MB / 0.6934 GB, free: 121.3 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile (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) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches