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.001913/0.001913, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.002021/0.002021, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 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.542/1.542, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 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 1.402e-06/1.402e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.361e-05, allocations: 6.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.01131/0.01134, allocations: 7.692 MB / 279.9 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005513/0.01685, allocations: 2.508 MB / 282.4 MB, free: 7.543 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007614/0.01761, allocations: 43.81 kB / 282.5 MB, free: 7.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00326/0.02087, allocations: 1.53 MB / 284 MB, free: 5.965 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002544/0.02342, allocations: 1.057 MB / 285 MB, free: 4.902 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007038/0.02412, allocations: 267.3 kB / 285.3 MB, free: 4.641 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003104/0.02723, allocations: 2.203 MB / 287.5 MB, free: 2.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001877/0.0291, allocations: 1.399 MB / 288.9 MB, free: 1.004 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1211/0.1502, allocations: 1.231 MB / 290.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0023/0.1525, allocations: 1.223 MB / 291.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004931/0.153, allocations: 159.5 kB / 291.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.1544, allocations: 0.6104 MB / 292.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.1555, allocations: 1.225 MB / 293.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.1565, allocations: 0.7255 MB / 294.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005613/0.1621, allocations: 4.214 MB / 298.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.1622, allocations: 0 / 298.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1622, allocations: 0 / 298.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001467/0.1623, allocations: 1.375 kB / 298.3 MB, free: 15.1 MB / 266.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.007839/0.1701, allocations: 3.5 MB / 301.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.1702, allocations: 16.69 kB / 301.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.1812, allocations: 2.239 MB / 304 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003971/0.1852, allocations: 1.067 MB / 305.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.1854, allocations: 157.6 kB / 305.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006561/0.186, allocations: 205.4 kB / 305.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02067/0.2067, allocations: 5.865 MB / 311.3 MB, free: 8.027 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001392/0.2068, allocations: 35.73 kB / 311.4 MB, free: 8.023 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003946/0.2072, allocations: 106.5 kB / 311.5 MB, free: 7.984 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003146/0.2104, allocations: 1.554 MB / 313 MB, free: 6.996 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01971/0.2301, allocations: 3.511 MB / 316.5 MB, free: 3.648 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05149/0.2816, allocations: 36.24 MB / 352.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0206/0.3022, allocations: 4.036 MB / 356.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.3033, allocations: 413.8 kB / 357.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006257/0.3095, allocations: 2.701 MB / 359.9 MB, free: 7.402 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.06e-05/0.3096, allocations: 52.91 kB / 360 MB, free: 7.344 MB / 314.7 MB Notification: Performance of pre-optimization done (n=111): time 3.557e-06/0.3096, allocations: 0 / 360 MB, free: 7.344 MB / 314.7 MB Notification: Performance of matching and sorting (n=111): time 0.04266/0.3523, allocations: 7.626 MB / 367.6 MB, free: 15.72 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/0.3524, allocations: 190.5 kB / 367.8 MB, free: 15.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006491/0.3589, allocations: 3.505 MB / 371.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00029/0.3592, allocations: 37.7 kB / 371.3 MB, free: 11.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003106/0.3623, allocations: 2.822 MB / 374.1 MB, free: 9.117 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009476/0.3633, allocations: 0.5521 MB / 374.7 MB, free: 8.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002381/0.3656, allocations: 1.364 MB / 376.1 MB, free: 7.195 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003292/0.366, allocations: 0.5314 MB / 376.6 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.3674, allocations: 0.5531 MB / 377.2 MB, free: 6.102 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007041/0.3744, allocations: 6.008 MB / 383.2 MB, free: 13.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/0.3846, allocations: 7.21 MB / 390.4 MB, free: 4.012 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001878/0.3848, allocations: 36 kB / 390.4 MB, free: 3.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01109/0.3959, allocations: 4.629 MB / 395 MB, free: 15.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.396, allocations: 68.02 kB / 395.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001575/0.3962, allocations: 128 kB / 395.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/0.3964, allocations: 168 kB / 395.4 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00536/0.4018, allocations: 1.447 MB / 396.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002435/0.402, allocations: 247.7 kB / 397.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003602/0.4056, allocations: 0.7407 MB / 397.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005372/0.4061, allocations: 344 kB / 398.2 MB, free: 12.22 MB / 362.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.00156/0.4077, allocations: 0.6904 MB / 398.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004981/0.4082, allocations: 266.4 kB / 399.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005739/0.4088, allocations: 245.1 kB / 399.3 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-05/0.4088, allocations: 12 kB / 399.4 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.4088, allocations: 4 kB / 399.4 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.4088, allocations: 3.984 kB / 399.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007089/0.4159, allocations: 3.105 MB / 402.5 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.4159, allocations: 0 / 402.5 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002623/0.4185, allocations: 407.4 kB / 402.9 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.4185, allocations: 4 kB / 402.9 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.4186, allocations: 35.23 kB / 402.9 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.658e-06/0.4187, allocations: 7.984 kB / 402.9 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4187, allocations: 3.938 kB / 402.9 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002761/0.4214, allocations: 1.86 MB / 404.8 MB, free: 5.539 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005487/0.422, allocations: 214.2 kB / 405 MB, free: 5.328 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/0.4222, allocations: 23.98 kB / 405 MB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008591/0.4231, allocations: 43.95 kB / 405.1 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.4232, allocations: 59.83 kB / 405.1 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.502e-05/0.4233, allocations: 31.94 kB / 405.1 MB, free: 5.172 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002516/0.4258, allocations: 1.342 MB / 406.5 MB, free: 3.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4258, allocations: 0 / 406.5 MB, free: 3.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004502/0.4303, allocations: 0.8393 MB / 407.3 MB, free: 2.98 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.0003977/0.4307, allocations: 161.8 kB / 407.5 MB, free: 2.816 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005492/0.4362, allocations: 2.517 MB / 410 MB, free: 328 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4362, allocations: 3.938 kB / 410 MB, free: 324 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007084/0.4369, allocations: 351.6 kB / 410.3 MB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.4387, allocations: 234.7 kB / 410.6 MB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/0.4501, allocations: 5.581 MB / 416.2 MB, free: 10.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002465/0.4526, allocations: 1.647 MB / 417.8 MB, free: 8.414 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003584/0.4562, allocations: 1.413 MB / 419.2 MB, free: 6.996 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004698/0.4567, allocations: 176.5 kB / 419.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of SimCode: time 1.613e-06/0.4567, allocations: 0 / 419.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of Templates: time 0.04244/0.4991, allocations: 15.14 MB / 434.5 MB, free: 8.121 MB / 394.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) [Timeout 240] 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.951211957959458]