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.00137/0.00137, allocations: 116.2 kB / 18.5 MB, free: 4.543 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.001422/0.001422, allocations: 201 kB / 21.45 MB, free: 1.59 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.455/1.455, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.001849/0.001849, allocations: 59.89 kB / 373.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0954/0.09725, allocations: 53.32 MB / 427.2 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.1922/0.2894, allocations: 7.975 MB / 435.1 MB, free: 8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004523/0.2939, allocations: 2.575 MB / 437.7 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007365/0.2947, allocations: 39.06 kB / 437.7 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002567/0.2972, allocations: 1.451 MB / 439.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.2993, allocations: 1.019 MB / 440.2 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006154/0.2999, allocations: 268 kB / 440.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002224/0.3021, allocations: 2.159 MB / 442.6 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.3036, allocations: 1.33 MB / 444 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009466/0.3045, allocations: 0.8394 MB / 444.8 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.3059, allocations: 1.29 MB / 446.1 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002918/0.3062, allocations: 168.1 kB / 446.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.3074, allocations: 0.684 MB / 446.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008778/0.3083, allocations: 1.172 MB / 448.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008953/0.3092, allocations: 1.366 MB / 449.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004936/0.3141, allocations: 4.284 MB / 453.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3141, allocations: 0 / 453.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3141, allocations: 3.938 kB / 453.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.175e-05/0.3142, allocations: 1.406 kB / 453.8 MB, free: 15.59 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.005149/0.3194, allocations: 3.006 MB / 456.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3194, allocations: 9.25 kB / 456.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006958/0.3264, allocations: 1.799 MB / 458.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002652/0.329, allocations: 1.16 MB / 459.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.3292, allocations: 158.6 kB / 459.9 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003966/0.3296, allocations: 209.5 kB / 460.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02145/0.351, allocations: 8.61 MB / 468.7 MB, free: 6.238 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001027/0.3511, allocations: 36.2 kB / 468.8 MB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003182/0.3514, allocations: 108.8 kB / 468.9 MB, free: 6.145 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003079/0.3545, allocations: 1.66 MB / 470.5 MB, free: 4.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01957/0.3741, allocations: 7.182 MB / 477.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03866/0.4127, allocations: 30.15 MB / 0.4959 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02265/0.4354, allocations: 4.99 MB / 0.5008 GB, free: 9.473 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/0.4371, allocations: 1.197 MB / 0.502 GB, free: 8.254 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005566/0.4426, allocations: 3.829 MB / 0.5057 GB, free: 4.258 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.4427, allocations: 54.83 kB / 0.5058 GB, free: 4.195 MB / 414.1 MB Notification: Performance of pre-optimization done (n=111): time 2.996e-06/0.4427, allocations: 0 / 0.5058 GB, free: 4.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=111): time 0.04702/0.4897, allocations: 9.289 MB / 0.5149 GB, free: 10.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.4898, allocations: 195.9 kB / 0.515 GB, free: 10.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00547/0.4953, allocations: 3.043 MB / 0.518 GB, free: 7.523 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002627/0.4956, allocations: 37.7 kB / 0.518 GB, free: 7.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002447/0.498, allocations: 2.531 MB / 0.5205 GB, free: 4.922 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007935/0.4988, allocations: 0.5119 MB / 0.521 GB, free: 4.406 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001612/0.5004, allocations: 1.1 MB / 0.5221 GB, free: 3.297 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.5006, allocations: 305.1 kB / 0.5224 GB, free: 2.996 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00249/0.5031, allocations: 1.604 MB / 0.524 GB, free: 1.387 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005458/0.5085, allocations: 5.173 MB / 0.529 GB, free: 10.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008641/0.5172, allocations: 7.34 MB / 0.5362 GB, free: 1.289 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.918e-05/0.5172, allocations: 36 kB / 0.5362 GB, free: 1.254 MB / 446.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01019/0.5274, allocations: 6.456 MB / 0.5425 GB, free: 10.79 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.642e-05/0.5275, allocations: 64.25 kB / 0.5426 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001255/0.5276, allocations: 131.9 kB / 0.5427 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001712/0.5278, allocations: 168 kB / 0.5429 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004758/0.5325, allocations: 1.454 MB / 0.5443 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002147/0.5328, allocations: 247.6 kB / 0.5445 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00345/0.5362, allocations: 0.7687 MB / 0.5453 GB, free: 7.965 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004598/0.5367, allocations: 340 kB / 0.5456 GB, free: 7.633 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.002334/0.539, allocations: 1.581 MB / 0.5471 GB, free: 6.039 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004176/0.5394, allocations: 266.2 kB / 0.5474 GB, free: 5.777 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000521/0.5399, allocations: 311.3 kB / 0.5477 GB, free: 5.473 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/0.54, allocations: 19.94 kB / 0.5477 GB, free: 5.453 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.54, allocations: 7.875 kB / 0.5477 GB, free: 5.445 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.54, allocations: 6.562 kB / 0.5477 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005709/0.5457, allocations: 3.396 MB / 0.551 GB, free: 1.984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.5457, allocations: 2.812 kB / 0.551 GB, free: 1.984 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002352/0.5481, allocations: 415.4 kB / 0.5514 GB, free: 1.578 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/0.5481, allocations: 4 kB / 0.5514 GB, free: 1.574 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.923e-05/0.5482, allocations: 35.97 kB / 0.5515 GB, free: 1.539 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.5482, allocations: 4 kB / 0.5515 GB, free: 1.535 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5482, allocations: 0 / 0.5515 GB, free: 1.535 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003632/0.5518, allocations: 2.824 MB / 0.5542 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004592/0.5523, allocations: 323 kB / 0.5545 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002484/0.5525, allocations: 27.98 kB / 0.5546 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008648/0.5534, allocations: 47.89 kB / 0.5546 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.5535, allocations: 55.86 kB / 0.5547 GB, free: 14.22 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.635e-05/0.5536, allocations: 39.97 kB / 0.5547 GB, free: 14.18 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002687/0.5563, allocations: 1.833 MB / 0.5565 GB, free: 12.34 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5563, allocations: 0 / 0.5565 GB, free: 12.34 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004525/0.5608, allocations: 0.8188 MB / 0.5573 GB, free: 11.52 MB / 478.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.0005484/0.5614, allocations: 171.2 kB / 0.5575 GB, free: 11.35 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006271/0.5676, allocations: 3.484 MB / 0.5609 GB, free: 7.895 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.5676, allocations: 320 / 0.5609 GB, free: 7.895 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009962/0.5686, allocations: 0.683 MB / 0.5615 GB, free: 7.211 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/0.5705, allocations: 266.4 kB / 0.5618 GB, free: 6.961 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.5836, allocations: 7.163 MB / 0.5688 GB, free: 15.76 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002829/0.5865, allocations: 2.394 MB / 0.5711 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003803/0.5903, allocations: 1.634 MB / 0.5727 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005856/0.5909, allocations: 183.4 kB / 0.5729 GB, free: 11.52 MB / 494.1 MB Notification: Performance of SimCode: time 1.523e-06/0.5909, allocations: 0 / 0.5729 GB, free: 11.52 MB / 494.1 MB Notification: Performance of Templates: time 0.04544/0.6363, allocations: 19.05 MB / 0.5915 GB, free: 8.539 MB / 0.4981 GB " [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: 5.94666791241616]