Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 103.3 kB / 16.62 MB, free: 6.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 193.8 kB / 17.55 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001273, allocations: 55.92 kB / 279.5 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09987/0.1012, allocations: 46.62 MB / 326.1 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.04114/0.1423, allocations: 28.94 MB / 355.1 MB, free: 7.727 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01781/0.1602, allocations: 5.945 MB / 361 MB, free: 1.762 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005889/0.1662, allocations: 115.8 kB / 361.1 MB, free: 1.648 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00318/0.1695, allocations: 1.367 MB / 362.5 MB, free: 284 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003151/0.1726, allocations: 0.9106 MB / 363.4 MB, free: 15.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009574/0.1736, allocations: 243.6 kB / 363.7 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003761/0.1774, allocations: 2.228 MB / 365.9 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002864/0.1803, allocations: 1.654 MB / 367.5 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.1821, allocations: 0.8444 MB / 368.4 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002386/0.1845, allocations: 1.351 MB / 369.7 MB, free: 9.012 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007856/0.1853, allocations: 160 kB / 369.9 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/0.1873, allocations: 0.6631 MB / 370.5 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001831/0.1892, allocations: 1.188 MB / 371.7 MB, free: 7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002213/0.1914, allocations: 1.398 MB / 373.1 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004941/0.1964, allocations: 4.15 MB / 377.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.1964, allocations: 0 / 377.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1964, allocations: 0 / 377.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001424/0.1966, allocations: 0 / 377.3 MB, free: 1.43 MB / 318.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.1783/0.3749, allocations: 2.953 MB / 380.2 MB, free: 55.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3749, allocations: 13.64 kB / 380.3 MB, free: 55.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007189/0.3821, allocations: 1.776 MB / 382 MB, free: 54.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/0.3848, allocations: 1.152 MB / 383.2 MB, free: 54.19 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/0.385, allocations: 154.7 kB / 383.3 MB, free: 54.15 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004996/0.3855, allocations: 206.3 kB / 383.5 MB, free: 54.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01888/0.4044, allocations: 8.604 MB / 392.1 MB, free: 49.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.572e-05/0.4045, allocations: 40.16 kB / 392.2 MB, free: 49.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002635/0.4048, allocations: 106.2 kB / 392.3 MB, free: 49.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002533/0.4073, allocations: 1.671 MB / 394 MB, free: 48.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01577/0.4231, allocations: 7.168 MB / 401.1 MB, free: 42.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02823/0.4514, allocations: 30.18 MB / 431.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02049/0.4719, allocations: 5.036 MB / 436.3 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/0.4732, allocations: 1.24 MB / 437.6 MB, free: 4.535 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004008/0.4773, allocations: 3.741 MB / 441.3 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.4773, allocations: 54.83 kB / 441.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=111): time 3.086e-06/0.4773, allocations: 0 / 441.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.04605/0.5234, allocations: 9.26 MB / 450.6 MB, free: 7.238 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.5235, allocations: 195.9 kB / 450.8 MB, free: 7.004 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004049/0.5276, allocations: 3.039 MB / 453.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001894/0.5278, allocations: 41.7 kB / 453.9 MB, free: 3.898 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001503/0.5293, allocations: 2.414 MB / 456.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004799/0.5298, allocations: 0.5018 MB / 456.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001134/0.5309, allocations: 1.087 MB / 457.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.29e-05/0.531, allocations: 301.1 kB / 458.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001972/0.533, allocations: 1.607 MB / 459.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00421/0.5372, allocations: 5.174 MB / 465 MB, free: 6.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007554/0.5448, allocations: 7.325 MB / 472.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.982e-05/0.5449, allocations: 36 kB / 472.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.009812/0.5547, allocations: 6.438 MB / 478.8 MB, free: 7.359 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.483e-05/0.5548, allocations: 60 kB / 478.8 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001208/0.5549, allocations: 128.2 kB / 479 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001441/0.5551, allocations: 168 kB / 479.1 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00459/0.5597, allocations: 1.45 MB / 480.6 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001695/0.5599, allocations: 251 kB / 480.8 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00356/0.5634, allocations: 0.7459 MB / 481.6 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004619/0.5639, allocations: 347.9 kB / 481.9 MB, free: 4.227 MB / 366.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.002165/0.5661, allocations: 1.583 MB / 483.5 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004587/0.5665, allocations: 244.8 kB / 483.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.5678, allocations: 0.8295 MB / 484.6 MB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-05/0.5678, allocations: 12 kB / 484.6 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.5679, allocations: 4 kB / 484.6 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.5679, allocations: 3.984 kB / 484.6 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005266/0.5731, allocations: 3.398 MB / 488 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.5732, allocations: 0 / 488 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002348/0.5755, allocations: 411.9 kB / 488.4 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.5755, allocations: 4 kB / 488.4 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.555e-05/0.5757, allocations: 35.95 kB / 488.4 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.5757, allocations: 8 kB / 488.4 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.5757, allocations: 7.875 kB / 488.4 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003123/0.5788, allocations: 2.784 MB / 491.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006331/0.5795, allocations: 301.6 kB / 491.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00026/0.5797, allocations: 27.98 kB / 491.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008749/0.5806, allocations: 51.86 kB / 491.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.5808, allocations: 55.8 kB / 491.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.921e-05/0.5808, allocations: 31.98 kB / 491.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002667/0.5835, allocations: 1.845 MB / 493.5 MB, free: 8.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5835, allocations: 0 / 493.5 MB, free: 8.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004213/0.5877, allocations: 0.8248 MB / 494.3 MB, free: 7.652 MB / 382.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.0003794/0.5881, allocations: 176.3 kB / 494.5 MB, free: 7.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006287/0.5944, allocations: 3.795 MB / 498.3 MB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.5945, allocations: 0 / 498.3 MB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.5955, allocations: 0.716 MB / 499 MB, free: 3.008 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/0.5976, allocations: 268.5 kB / 499.3 MB, free: 2.754 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/0.6093, allocations: 8.439 MB / 0.4958 GB, free: 10.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002261/0.6116, allocations: 2.387 MB / 0.4982 GB, free: 7.859 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003907/0.6155, allocations: 1.632 MB / 0.4998 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004721/0.616, allocations: 191.4 kB / 0.4999 GB, free: 6.035 MB / 398.1 MB Notification: Performance of SimCode: time 8.52e-07/0.616, allocations: 0 / 0.4999 GB, free: 6.035 MB / 398.1 MB Notification: Performance of Templates: time 0.04295/0.6589, allocations: 21.4 MB / 0.5208 GB, free: 0.6172 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1)