Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00179/0.00179, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002218/0.002218, allocations: 165.3 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.721e-05/2.864e-05, allocations: 2.312 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.01038/0.01041, allocations: 7.033 MB / 279.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005984/0.01639, allocations: 2.438 MB / 281.8 MB, free: 8.293 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008635/0.01725, allocations: 39.88 kB / 281.8 MB, free: 8.254 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003394/0.02065, allocations: 1.495 MB / 283.3 MB, free: 6.754 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00299/0.02364, allocations: 1.057 MB / 284.4 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007253/0.02436, allocations: 267.3 kB / 284.7 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002979/0.02734, allocations: 2.207 MB / 286.9 MB, free: 3.219 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001807/0.02915, allocations: 1.403 MB / 288.3 MB, free: 1.785 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.03079, allocations: 1.235 MB / 289.5 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1189/0.1497, allocations: 1.19 MB / 290.7 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007788/0.1505, allocations: 159.8 kB / 290.8 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.1522, allocations: 0.6143 MB / 291.5 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001166/0.1534, allocations: 1.217 MB / 292.7 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009474/0.1543, allocations: 0.7235 MB / 293.4 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005095/0.1594, allocations: 4.199 MB / 297.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1594, allocations: 4.438 kB / 297.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1594, allocations: 0 / 297.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001137/0.1595, allocations: 0 / 297.6 MB, free: 15.88 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.005099/0.1646, allocations: 2.894 MB / 300.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1647, allocations: 10 kB / 300.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007515/0.1722, allocations: 2.304 MB / 302.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002816/0.175, allocations: 1.115 MB / 303.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.1751, allocations: 154.5 kB / 304.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004032/0.1755, allocations: 206.9 kB / 304.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01536/0.1909, allocations: 8.245 MB / 312.5 MB, free: 8.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001073/0.191, allocations: 46.03 kB / 312.6 MB, free: 8.203 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002794/0.1913, allocations: 106.3 kB / 312.7 MB, free: 8.129 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00212/0.1934, allocations: 1.554 MB / 314.2 MB, free: 6.605 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01471/0.2081, allocations: 6.77 MB / 321 MB, free: 15.99 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04193/0.25, allocations: 27.61 MB / 348.6 MB, free: 3.871 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02108/0.2711, allocations: 4.475 MB / 353.1 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/0.2727, allocations: 0.83 MB / 353.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005745/0.2785, allocations: 2.619 MB / 356.5 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/0.2785, allocations: 45.42 kB / 356.6 MB, free: 11.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=111): time 3.426e-06/0.2785, allocations: 0 / 356.6 MB, free: 11.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=111): time 0.04169/0.3202, allocations: 8.513 MB / 365.1 MB, free: 3.312 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.3204, allocations: 195.9 kB / 365.3 MB, free: 3.078 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004966/0.3253, allocations: 2.957 MB / 368.2 MB, free: 100 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002086/0.3255, allocations: 40.05 kB / 368.3 MB, free: 56 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002412/0.3279, allocations: 2.516 MB / 370.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008359/0.3288, allocations: 0.5095 MB / 371.3 MB, free: 13.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001717/0.3305, allocations: 1.064 MB / 372.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002332/0.3307, allocations: 349.8 kB / 372.7 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002683/0.3334, allocations: 1.486 MB / 374.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006416/0.3398, allocations: 5.048 MB / 379.2 MB, free: 3.293 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/0.3505, allocations: 7.078 MB / 386.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001209/0.3506, allocations: 36 kB / 386.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01413/0.3647, allocations: 6.479 MB / 392.8 MB, free: 3.934 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.3648, allocations: 63.98 kB / 392.9 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001765/0.365, allocations: 124.1 kB / 393 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001995/0.3652, allocations: 172 kB / 393.2 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005473/0.3707, allocations: 1.45 MB / 394.6 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002457/0.3709, allocations: 247 kB / 394.9 MB, free: 1.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004056/0.375, allocations: 0.7424 MB / 395.6 MB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007272/0.3757, allocations: 336 kB / 396 MB, free: 0.8125 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.002996/0.3787, allocations: 1.58 MB / 397.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000593/0.3793, allocations: 274.2 kB / 397.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006482/0.3799, allocations: 294 kB / 398.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.892e-05/0.38, allocations: 14.11 kB / 398.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.38, allocations: 4 kB / 398.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.38, allocations: 3.984 kB / 398.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006343/0.3863, allocations: 2.482 MB / 400.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.3863, allocations: 4 kB / 400.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002555/0.3889, allocations: 400.2 kB / 401 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.235e-05/0.3889, allocations: 4 kB / 401 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.389, allocations: 35.98 kB / 401 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.698e-06/0.389, allocations: 7.984 kB / 401 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/0.389, allocations: 3.938 kB / 401 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003799/0.3928, allocations: 2.503 MB / 403.5 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005021/0.3933, allocations: 222.1 kB / 403.8 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/0.3936, allocations: 33.09 kB / 403.8 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009079/0.3945, allocations: 43.95 kB / 403.8 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.3946, allocations: 55.83 kB / 403.9 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.781e-05/0.3947, allocations: 32 kB / 403.9 MB, free: 8.797 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003278/0.398, allocations: 1.634 MB / 405.6 MB, free: 7.152 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.398, allocations: 4 kB / 405.6 MB, free: 7.148 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004534/0.4025, allocations: 0.8444 MB / 406.4 MB, free: 6.305 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.0004173/0.403, allocations: 164.6 kB / 406.6 MB, free: 6.133 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006317/0.4093, allocations: 3.242 MB / 409.8 MB, free: 2.922 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.4093, allocations: 0 / 409.8 MB, free: 2.922 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009654/0.4103, allocations: 0.5565 MB / 410.4 MB, free: 2.367 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.4119, allocations: 228.4 kB / 410.6 MB, free: 2.148 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/0.4253, allocations: 6.649 MB / 417.2 MB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00279/0.4281, allocations: 1.825 MB / 419.1 MB, free: 9.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004058/0.4322, allocations: 1.608 MB / 420.7 MB, free: 7.977 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005153/0.4327, allocations: 168.5 kB / 420.8 MB, free: 7.809 MB / 378.7 MB Notification: Performance of SimCode: time 1.453e-06/0.4327, allocations: 4 kB / 420.8 MB, free: 7.805 MB / 378.7 MB Notification: Performance of Templates: time 0.155/0.5877, allocations: 15.23 MB / 436.1 MB, free: 119.8 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.8864088649861515]