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.001856/0.001856, allocations: 106.2 kB / 19.8 MB, free: 2.5 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.00209/0.00209, allocations: 217.2 kB / 22.99 MB, free: 5.574 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.433/1.433, allocations: 230.2 MB / 256.2 MB, free: 8.523 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.001809/0.001809, allocations: 63.89 kB / 376.5 MB, free: 3.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2516, allocations: 53.32 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.009669/0.2613, allocations: 8.001 MB / 437.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005658/0.267, allocations: 2.594 MB / 440.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009767/0.2679, allocations: 35.94 kB / 440.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003023/0.271, allocations: 1.46 MB / 441.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002407/0.2734, allocations: 1.019 MB / 442.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007406/0.2741, allocations: 259.5 kB / 443.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002959/0.2771, allocations: 2.153 MB / 445.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001658/0.2787, allocations: 1.198 MB / 446.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.2798, allocations: 0.8328 MB / 447.3 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.2815, allocations: 1.296 MB / 448.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003205/0.2818, allocations: 160 kB / 448.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.283, allocations: 0.6942 MB / 449.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.2841, allocations: 1.184 MB / 450.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.2853, allocations: 1.362 MB / 452 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004413/0.2897, allocations: 4.282 MB / 456.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.2897, allocations: 4 kB / 456.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2897, allocations: 4 kB / 456.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.517e-05/0.2898, allocations: 0 / 456.3 MB, free: 12.88 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.004564/0.2943, allocations: 3.002 MB / 459.3 MB, free: 9.812 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.2944, allocations: 8.031 kB / 459.3 MB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0064/0.3008, allocations: 1.797 MB / 461.1 MB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.3028, allocations: 1.166 MB / 462.3 MB, free: 6.797 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.3029, allocations: 155.8 kB / 462.5 MB, free: 6.645 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004015/0.3033, allocations: 207.8 kB / 462.7 MB, free: 6.441 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01805/0.3214, allocations: 8.608 MB / 471.3 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.209e-05/0.3215, allocations: 39.7 kB / 471.3 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002878/0.3218, allocations: 107.9 kB / 471.4 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002735/0.3245, allocations: 1.659 MB / 473.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01778/0.3423, allocations: 7.186 MB / 480.3 MB, free: 4.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03554/0.3778, allocations: 30.14 MB / 0.4984 GB, free: 5.215 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02276/0.4006, allocations: 4.994 MB / 0.5033 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001734/0.4023, allocations: 1.201 MB / 0.5045 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006098/0.4084, allocations: 3.834 MB / 0.5082 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/0.4085, allocations: 50.83 kB / 0.5083 GB, free: 10.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 3.566e-06/0.4085, allocations: 0 / 0.5083 GB, free: 10.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.04634/0.4548, allocations: 9.294 MB / 0.5173 GB, free: 1.383 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.4549, allocations: 211.8 kB / 0.5176 GB, free: 1.133 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005432/0.4604, allocations: 3.039 MB / 0.5205 GB, free: 14.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001695/0.4605, allocations: 37.7 kB / 0.5206 GB, free: 14.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002157/0.4627, allocations: 2.523 MB / 0.523 GB, free: 11.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007187/0.4634, allocations: 0.5119 MB / 0.5235 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001713/0.4651, allocations: 1.096 MB / 0.5246 GB, free: 9.859 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.4652, allocations: 309.1 kB / 0.5249 GB, free: 9.555 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002448/0.4677, allocations: 1.608 MB / 0.5265 GB, free: 7.941 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00511/0.4728, allocations: 5.169 MB / 0.5315 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008306/0.4811, allocations: 7.332 MB / 0.5387 GB, free: 7.855 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.902e-05/0.4812, allocations: 40 kB / 0.5387 GB, free: 7.816 MB / 462.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01113/0.4923, allocations: 6.455 MB / 0.545 GB, free: 1.355 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.4924, allocations: 60 kB / 0.5451 GB, free: 1.297 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001983/0.4926, allocations: 132 kB / 0.5452 GB, free: 1.168 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001947/0.4928, allocations: 164 kB / 0.5453 GB, free: 1.008 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2612/0.7541, allocations: 1.455 MB / 0.5468 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005002/0.7546, allocations: 248.8 kB / 0.547 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00486/0.7594, allocations: 0.7639 MB / 0.5477 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009283/0.7603, allocations: 345 kB / 0.5481 GB, free: 112.8 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.002581/0.7629, allocations: 1.579 MB / 0.5496 GB, free: 112.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005014/0.7634, allocations: 260.8 kB / 0.5499 GB, free: 112.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005038/0.7639, allocations: 320.8 kB / 0.5502 GB, free: 112.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/0.7639, allocations: 11.81 kB / 0.5502 GB, free: 112.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.764, allocations: 0 / 0.5502 GB, free: 112.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.764, allocations: 11.91 kB / 0.5502 GB, free: 112.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005736/0.7697, allocations: 3.392 MB / 0.5535 GB, free: 111.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.7697, allocations: 4.156 kB / 0.5535 GB, free: 111.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002191/0.7719, allocations: 417 kB / 0.5539 GB, free: 111.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.7719, allocations: 7.062 kB / 0.5539 GB, free: 111.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.85e-05/0.772, allocations: 35.61 kB / 0.554 GB, free: 111.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.772, allocations: 6.938 kB / 0.554 GB, free: 111.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.772, allocations: 0 / 0.554 GB, free: 111.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002903/0.7749, allocations: 2.822 MB / 0.5567 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005708/0.7755, allocations: 311.4 kB / 0.557 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/0.7757, allocations: 37.42 kB / 0.557 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008378/0.7766, allocations: 40.34 kB / 0.5571 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.7767, allocations: 62.84 kB / 0.5571 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.298e-05/0.7768, allocations: 33.77 kB / 0.5572 GB, free: 109.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002357/0.7791, allocations: 1.839 MB / 0.559 GB, free: 109 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7791, allocations: 1.188 kB / 0.559 GB, free: 109 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004026/0.7832, allocations: 0.8234 MB / 0.5598 GB, free: 108.8 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.0003177/0.7835, allocations: 165.4 kB / 0.5599 GB, free: 108.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004658/0.7881, allocations: 3.482 MB / 0.5633 GB, free: 107.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.7881, allocations: 7.812 kB / 0.5633 GB, free: 107.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007252/0.7889, allocations: 0.6881 MB / 0.564 GB, free: 107.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/0.7906, allocations: 260.6 kB / 0.5643 GB, free: 107.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009788/0.8004, allocations: 7.172 MB / 0.5713 GB, free: 100.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001763/0.8022, allocations: 2.392 MB / 0.5736 GB, free: 98.62 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002963/0.8051, allocations: 1.636 MB / 0.5752 GB, free: 97.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003761/0.8055, allocations: 183.4 kB / 0.5754 GB, free: 97.05 MB / 462.1 MB Notification: Performance of SimCode: time 1.243e-06/0.8055, allocations: 0 / 0.5754 GB, free: 97.05 MB / 462.1 MB Notification: Performance of Templates: time 0.03869/0.8442, allocations: 20.15 MB / 0.5951 GB, free: 77.05 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.089680206030607]