Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6695/0.6695, allocations: 110.9 MB / 125.9 MB, free: 6.215 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001723/0.001723, allocations: 146.6 kB / 151.9 MB, free: 4.992 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002479/0.000248, allocations: 4 kB / 184.9 MB, free: 3.93 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1325, allocations: 25.16 MB / 210.1 MB, free: 29.74 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05199/0.1846, allocations: 41.61 MB / 251.7 MB, free: 8.215 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.1848, allocations: 71.97 kB / 251.7 MB, free: 8.145 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4216/0.6064, allocations: 127.6 MB / 379.4 MB, free: 6.977 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6064, allocations: 4 kB / 379.4 MB, free: 6.973 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001144/0.6066, allocations: 72 kB / 379.4 MB, free: 6.902 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1569 * Number of variables: 1569 Notification: Performance of Generate backend data structure: time 0.01882/0.6254, allocations: 5.575 MB / 385 MB, free: 1.254 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.6254, allocations: 8.031 kB / 385 MB, free: 1.246 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2042/0.8296, allocations: 20.22 MB / 405.2 MB, free: 40.06 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009801/0.8395, allocations: 3.044 MB / 408.3 MB, free: 39.86 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003676/0.8399, allocations: 325.2 kB / 408.6 MB, free: 39.84 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003542/0.8434, allocations: 425.5 kB / 409 MB, free: 39.84 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07475/0.9182, allocations: 25.15 MB / 434.2 MB, free: 34.23 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001399/0.9184, allocations: 40.56 kB / 434.2 MB, free: 34.21 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001046/0.9194, allocations: 194.3 kB / 434.4 MB, free: 34.16 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.03184/0.9513, allocations: 8.164 MB / 442.6 MB, free: 26.16 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07066/1.022, allocations: 26.66 MB / 469.2 MB, free: 15.78 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4716/1.494, allocations: 104.8 MB / 0.5606 GB, free: 3.945 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1362/1.63, allocations: 9.708 MB / 0.5701 GB, free: 49.93 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06321/1.693, allocations: 19.15 MB / 0.5888 GB, free: 47.27 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/1.693, allocations: 51.39 kB / 0.5888 GB, free: 47.23 MB / 250.7 MB Notification: Performance of pre-optimization done (n=164): time 5.491e-06/1.693, allocations: 0 / 0.5888 GB, free: 47.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=164): time 0.07132/1.765, allocations: 20.89 MB / 0.6092 GB, free: 45.33 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.756e-05/1.765, allocations: 196.5 kB / 0.6094 GB, free: 45.11 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005772/1.77, allocations: 3.647 MB / 0.613 GB, free: 44.21 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004631/1.771, allocations: 47.89 kB / 0.613 GB, free: 44.18 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001684/1.773, allocations: 3.2 MB / 0.6161 GB, free: 42.07 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006963/1.773, allocations: 0.6905 MB / 0.6168 GB, free: 41.61 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003676/1.774, allocations: 135.4 kB / 0.617 GB, free: 41.61 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003193/1.774, allocations: 0.606 MB / 0.6175 GB, free: 41.21 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01568/1.79, allocations: 5.552 MB / 0.623 GB, free: 36.9 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01818/1.808, allocations: 10.08 MB / 0.6328 GB, free: 24.86 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01468/1.823, allocations: 6.095 MB / 0.6388 GB, free: 18.9 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001267/1.823, allocations: 44 kB / 0.6388 GB, free: 18.86 MB / 250.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.03634/1.859, allocations: 14.38 MB / 0.6528 GB, free: 4.629 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/1.859, allocations: 76.03 kB / 0.6529 GB, free: 4.555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001896/1.86, allocations: 165.1 kB / 0.6531 GB, free: 4.395 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/1.86, allocations: 239.3 kB / 0.6533 GB, free: 4.164 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1262/1.986, allocations: 1.95 MB / 0.6552 GB, free: 40.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002224/1.986, allocations: 322.3 kB / 0.6555 GB, free: 40.91 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01103/1.997, allocations: 2.159 MB / 0.6576 GB, free: 40.91 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001714/1.999, allocations: 0.594 MB / 0.6582 GB, free: 40.91 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 739 * Number of states: 0 () * Number of discrete variables: 27 (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.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 (877): * Single equations (assignments): 866 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00385/2.003, allocations: 2.089 MB / 0.6602 GB, free: 40.8 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007199/2.004, allocations: 318.7 kB / 0.6605 GB, free: 40.74 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003789/2.007, allocations: 1.394 MB / 0.6619 GB, free: 40.68 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009677/2.017, allocations: 2.27 MB / 0.6641 GB, free: 40.68 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.483e-05/2.017, allocations: 8.234 kB / 0.6641 GB, free: 40.68 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.546e-05/2.017, allocations: 7.672 kB / 0.6641 GB, free: 40.68 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03555/2.053, allocations: 10.47 MB / 0.6744 GB, free: 40.4 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-05/2.053, allocations: 3.719 kB / 0.6744 GB, free: 40.4 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003012/2.056, allocations: 0.5516 MB / 0.6749 GB, free: 40.4 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/2.056, allocations: 7.25 kB / 0.6749 GB, free: 40.4 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004716/2.056, allocations: 104.1 kB / 0.675 GB, free: 40.4 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.307e-06/2.056, allocations: 9.141 kB / 0.675 GB, free: 40.4 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/2.056, allocations: 9.906 kB / 0.675 GB, free: 40.4 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03764/2.094, allocations: 13.64 MB / 0.6884 GB, free: 39.53 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/2.095, allocations: 452.5 kB / 0.6888 GB, free: 39.26 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005909/2.096, allocations: 42.22 kB / 0.6888 GB, free: 39.26 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006076/2.102, allocations: 1.222 MB / 0.69 GB, free: 39.26 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/2.102, allocations: 80.14 kB / 0.6901 GB, free: 39.26 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000268/2.102, allocations: 190.2 kB / 0.6903 GB, free: 39.26 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.004012/2.106, allocations: 2.468 MB / 0.6927 GB, free: 39.11 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.71e-07/2.106, allocations: 1.438 kB / 0.6927 GB, free: 39.11 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.006923/2.113, allocations: 1.247 MB / 0.6939 GB, free: 38.95 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 24 (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],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.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 (125): * Single equations (assignments): 114 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004926/2.114, allocations: 183.1 kB / 0.6941 GB, free: 38.86 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.03111/2.145, allocations: 11.62 MB / 0.7054 GB, free: 37.99 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/2.145, allocations: 0 / 0.7054 GB, free: 37.99 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01312/2.158, allocations: 4.378 MB / 0.7097 GB, free: 33.65 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/2.16, allocations: 267.7 kB / 0.71 GB, free: 33.4 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0261/2.186, allocations: 14.59 MB / 0.7242 GB, free: 19.04 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002462/2.188, allocations: 3.214 MB / 0.7274 GB, free: 15.82 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.007197/2.196, allocations: 2.593 MB / 0.7299 GB, free: 13.22 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001872/2.197, allocations: 0.538 MB / 0.7304 GB, free: 12.68 MB / 250.7 MB Notification: Performance of SimCode: time 2.113e-06/2.197, allocations: 3.75 kB / 0.7304 GB, free: 12.68 MB / 250.7 MB Notification: Performance of Templates: time 0.1969/2.394, allocations: 48.09 MB / 0.7774 GB, free: 47.07 MB / 266.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1)