Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0007827/0.0007827, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.0007814/0.0007814, allocations: 156.5 kB / 25.44 MB, free: 8.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9206/0.9206, allocations: 158.6 MB / 187.2 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.115e-05, allocations: 2.281 kB / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.00757/0.007602, allocations: 7.041 MB / 306.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004276/0.01188, allocations: 2.451 MB / 309.2 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009641/0.01284, allocations: 39.81 kB / 309.2 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.01468, allocations: 1.464 MB / 310.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.01656, allocations: 1.045 MB / 311.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005873/0.01715, allocations: 283.2 kB / 312 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002155/0.0193, allocations: 2.238 MB / 314.3 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.02074, allocations: 1.352 MB / 315.6 MB, free: 6.914 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/0.0222, allocations: 1.247 MB / 316.9 MB, free: 5.664 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/0.02385, allocations: 1.204 MB / 318.1 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004986/0.02435, allocations: 164 kB / 318.2 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.02549, allocations: 0.6083 MB / 318.8 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007874/0.02627, allocations: 1.231 MB / 320.1 MB, free: 2.453 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008332/0.02711, allocations: 0.7396 MB / 320.8 MB, free: 1.711 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00374/0.03085, allocations: 4.239 MB / 325 MB, free: 13.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.03085, allocations: 4 kB / 325.1 MB, free: 13.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.03086, allocations: 0 / 325.1 MB, free: 13.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001405/0.031, allocations: 3.938 kB / 325.1 MB, free: 13.45 MB / 314.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.004366/0.03536, allocations: 2.926 MB / 328 MB, free: 10.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.03541, allocations: 11.98 kB / 328 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003487/0.0389, allocations: 1.808 MB / 329.8 MB, free: 8.648 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.04046, allocations: 1.109 MB / 330.9 MB, free: 7.508 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.797e-05/0.04054, allocations: 152 kB / 331.1 MB, free: 7.359 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002993/0.04084, allocations: 207.8 kB / 331.3 MB, free: 7.156 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/0.05191, allocations: 8.644 MB / 339.9 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-05/0.052, allocations: 43.64 kB / 339.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/0.05219, allocations: 95.89 kB / 340 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001714/0.0539, allocations: 1.675 MB / 341.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/0.06478, allocations: 7.174 MB / 348.9 MB, free: 4.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1912/0.256, allocations: 28.53 MB / 377.4 MB, free: 36.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/0.2668, allocations: 4.629 MB / 382.1 MB, free: 35.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.268, allocations: 1.2 MB / 383.3 MB, free: 34.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00364/0.2716, allocations: 3.082 MB / 386.3 MB, free: 32.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.2717, allocations: 53.98 kB / 386.4 MB, free: 32.79 MB / 330.7 MB Notification: Performance of pre-optimization done (n=111): time 5.039e-06/0.2717, allocations: 0 / 386.4 MB, free: 32.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=111): time 0.02008/0.2918, allocations: 9.154 MB / 395.5 MB, free: 25.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.2918, allocations: 199.8 kB / 395.7 MB, free: 24.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/0.2942, allocations: 2.963 MB / 398.7 MB, free: 21.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001654/0.2944, allocations: 41.7 kB / 398.7 MB, free: 21.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006923/0.2951, allocations: 2.527 MB / 401.3 MB, free: 19.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/0.2954, allocations: 0.5074 MB / 401.8 MB, free: 19.03 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007046/0.2961, allocations: 1.076 MB / 402.9 MB, free: 17.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.082e-05/0.2961, allocations: 341.9 kB / 403.2 MB, free: 17.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.2975, allocations: 1.596 MB / 404.8 MB, free: 16.01 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001981/0.2995, allocations: 5.169 MB / 409.9 MB, free: 9.035 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00424/0.3037, allocations: 7.334 MB / 417.3 MB, free: 15.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.439e-05/0.3038, allocations: 40 kB / 417.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.007394/0.3112, allocations: 6.424 MB / 423.7 MB, free: 9.457 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.024e-05/0.3113, allocations: 59.94 kB / 423.8 MB, free: 9.398 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-05/0.3113, allocations: 131.9 kB / 423.9 MB, free: 9.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001032/0.3114, allocations: 168 kB / 424.1 MB, free: 9.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002545/0.314, allocations: 1.454 MB / 425.6 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001243/0.3141, allocations: 247.1 kB / 425.8 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002597/0.3167, allocations: 0.7485 MB / 426.5 MB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003584/0.3171, allocations: 344 kB / 426.9 MB, free: 6.32 MB / 346.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001992/0.3191, allocations: 1.567 MB / 428.4 MB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003221/0.3194, allocations: 242.3 kB / 428.7 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008575/0.3202, allocations: 0.8071 MB / 429.5 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/0.3203, allocations: 15.75 kB / 429.5 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.3203, allocations: 8 kB / 429.5 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/0.3203, allocations: 3.984 kB / 429.5 MB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003853/0.3241, allocations: 2.752 MB / 432.3 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.3241, allocations: 4 kB / 432.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.3253, allocations: 403.5 kB / 432.7 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.956e-06/0.3253, allocations: 4 kB / 432.7 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.3254, allocations: 43.64 kB / 432.7 MB, free: 464 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.3254, allocations: 7.984 kB / 432.7 MB, free: 456 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.3254, allocations: 3.938 kB / 432.7 MB, free: 452 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/0.3276, allocations: 2.765 MB / 435.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/0.328, allocations: 218.2 kB / 435.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.3281, allocations: 27.98 kB / 435.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004627/0.3286, allocations: 39.95 kB / 435.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.221e-05/0.3287, allocations: 59.88 kB / 435.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/0.3287, allocations: 35.98 kB / 435.9 MB, free: 13.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001715/0.3304, allocations: 1.635 MB / 437.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3304, allocations: 0 / 437.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002829/0.3333, allocations: 0.8726 MB / 438.4 MB, free: 10.77 MB / 362.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 (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.0003303/0.3336, allocations: 171.6 kB / 438.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003926/0.3375, allocations: 3.48 MB / 442 MB, free: 7.145 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.3375, allocations: 0.8125 kB / 442 MB, free: 7.145 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005989/0.3381, allocations: 0.6839 MB / 442.7 MB, free: 6.465 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.3392, allocations: 222.2 kB / 442.9 MB, free: 6.258 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008376/0.3476, allocations: 6.951 MB / 449.9 MB, free: 15.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/0.3491, allocations: 1.846 MB / 451.7 MB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005643/0.3497, allocations: 220.5 kB / 451.9 MB, free: 13.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.784e-06/0.3497, allocations: 0 / 451.9 MB, free: 13.18 MB / 378.7 MB Notification: Performance of Templates: time 0.05068/0.4004, allocations: 41.26 MB / 493.2 MB, free: 3.812 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.511392381042242]