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.001242/0.001242, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002148/0.003389, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001287/0.001287, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001721/0.003008, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9277/0.9277, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08253/1.01, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|body1.v_0.[0-9,]+.|body2.r_0.[0-9,]+.|body2.v_0.[0-9,]+.|body3.r_0.[0-9,]+.|body3.v_0.[0-9,]+.|body4.r_0.[0-9,]+.|body4.v_0.[0-9,]+.",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.[0-9,]+.|body1.v_0.[0-9,]+.|body2.r_0.[0-9,]+.|body2.v_0.[0-9,]+.|body3.r_0.[0-9,]+.|body3.v_0.[0-9,]+.|body4.r_0.[0-9,]+.|body4.v_0.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.258e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.006536/0.006558, allocations: 7.634 MB / 252.7 MB, free: 5.973 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004656/0.01121, allocations: 2.605 MB / 255.3 MB, free: 3.359 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008922/0.01211, allocations: 43.81 kB / 255.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001749/0.01385, allocations: 1.471 MB / 256.8 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.01568, allocations: 1.053 MB / 257.8 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005742/0.01626, allocations: 275.3 kB / 258.1 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002017/0.01828, allocations: 2.215 MB / 260.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.01942, allocations: 1.361 MB / 261.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001387/0.02081, allocations: 1.285 MB / 263 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.02183, allocations: 1.145 MB / 264.1 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.022, allocations: 160 kB / 264.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000833/0.02284, allocations: 0.6278 MB / 264.9 MB, free: 9.684 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006271/0.02346, allocations: 1.114 MB / 266 MB, free: 8.566 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005383/0.024, allocations: 0.6034 MB / 266.6 MB, free: 7.961 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002342/0.02634, allocations: 2.599 MB / 269.2 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.456e-05/0.02636, allocations: 0 / 269.2 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02636, allocations: 0 / 269.2 MB, free: 5.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.781e-05/0.02644, allocations: 4 kB / 269.2 MB, free: 5.348 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.002729/0.02917, allocations: 3.331 MB / 272.5 MB, free: 1.973 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.0292, allocations: 8.625 kB / 272.5 MB, free: 1.965 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002308/0.03151, allocations: 1.04 MB / 273.6 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1095/0.141, allocations: 0.8826 MB / 274.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.1411, allocations: 151.6 kB / 274.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004575/0.1416, allocations: 206.3 kB / 274.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004916/0.1465, allocations: 3.885 MB / 278.7 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.342e-05/0.1466, allocations: 42.58 kB / 278.7 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.1468, allocations: 99.23 kB / 278.8 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001457/0.1482, allocations: 1.399 MB / 280.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004236/0.1524, allocations: 2.017 MB / 282.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01291/0.1654, allocations: 23.57 MB / 305.8 MB, free: 9.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003519/0.1689, allocations: 1.709 MB / 307.5 MB, free: 8.965 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.1692, allocations: 402.4 kB / 307.9 MB, free: 8.758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002027/0.1712, allocations: 2.298 MB / 310.2 MB, free: 7.25 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.1712, allocations: 50.64 kB / 310.3 MB, free: 7.203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=111): time 2.344e-06/0.1712, allocations: 0 / 310.3 MB, free: 7.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=111): time 0.006844/0.1781, allocations: 2.608 MB / 312.9 MB, free: 4.781 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.1781, allocations: 199.1 kB / 313.1 MB, free: 4.547 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.1796, allocations: 2.187 MB / 315.3 MB, free: 2.789 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.182e-05/0.1797, allocations: 41.7 kB / 315.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.1807, allocations: 2.46 MB / 317.8 MB, free: 424 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/0.181, allocations: 0.511 MB / 318.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006899/0.1817, allocations: 1.024 MB / 319.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.322e-05/0.1818, allocations: 336.3 kB / 319.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005814/0.1824, allocations: 0.5452 MB / 320.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/0.1844, allocations: 3.973 MB / 324.1 MB, free: 8.578 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003552/0.188, allocations: 5.21 MB / 329.4 MB, free: 1.965 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.062e-05/0.188, allocations: 40.48 kB / 329.4 MB, free: 1.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.00388/0.1919, allocations: 3.639 MB / 333 MB, free: 14.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.867e-05/0.192, allocations: 59.98 kB / 333.1 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001153/0.1921, allocations: 128 kB / 333.2 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001006/0.1922, allocations: 168 kB / 333.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002821/0.195, allocations: 1.566 MB / 334.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001738/0.1952, allocations: 251 kB / 335.2 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/0.1973, allocations: 0.7198 MB / 335.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002523/0.1976, allocations: 296 kB / 336.2 MB, free: 11.11 MB / 314.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.00087/0.1984, allocations: 0.5808 MB / 336.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.1986, allocations: 151.8 kB / 336.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.1989, allocations: 241.1 kB / 337.2 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.1989, allocations: 12 kB / 337.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.1989, allocations: 8 kB / 337.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.1989, allocations: 7.984 kB / 337.2 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.2011, allocations: 1.608 MB / 338.8 MB, free: 8.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.2011, allocations: 0 / 338.8 MB, free: 8.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.2023, allocations: 407.5 kB / 339.2 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/0.2025, allocations: 206.2 kB / 339.4 MB, free: 8.059 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.2025, allocations: 8 kB / 339.4 MB, free: 8.051 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.289e-05/0.2025, allocations: 26.64 kB / 339.4 MB, free: 8.027 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.2025, allocations: 14.22 kB / 339.4 MB, free: 8.016 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.2025, allocations: 4 kB / 339.5 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009732/0.2035, allocations: 1.395 MB / 340.8 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.2036, allocations: 27.98 kB / 340.9 MB, free: 6.578 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.204, allocations: 19.98 kB / 340.9 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.231e-05/0.2041, allocations: 59.78 kB / 341 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/0.2041, allocations: 26.64 kB / 341 MB, free: 6.477 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006063/0.2047, allocations: 0.8216 MB / 341.8 MB, free: 5.746 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2047, allocations: 0 / 341.8 MB, free: 5.746 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002127/0.2068, allocations: 0.8399 MB / 342.6 MB, free: 4.906 MB / 314.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.00026/0.2071, allocations: 143.3 kB / 342.8 MB, free: 4.762 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00215/0.2093, allocations: 1.981 MB / 344.8 MB, free: 2.855 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001395/0.2094, allocations: 95.75 kB / 344.9 MB, free: 2.754 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.2096, allocations: 240 kB / 345.1 MB, free: 2.523 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008486/0.2105, allocations: 379.2 kB / 345.5 MB, free: 2.156 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006887/0.2174, allocations: 5.204 MB / 350.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007054/0.2181, allocations: 0.8222 MB / 351.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009685/0.219, allocations: 393.1 kB / 351.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004794/0.2195, allocations: 401.3 kB / 352.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of SimCode: time 1.453e-06/0.2195, allocations: 0 / 352.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of Templates: time 0.02825/0.2478, allocations: 17.88 MB / 370.1 MB, free: 9.676 MB / 346.7 MB " [Timeout remaining time 660] 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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.292530659586191]