Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002015/0.002016, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.248/1.248, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001616/0.001616, allocations: 107.5 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.718e-05/2.722e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07197/0.07202, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2585/0.3305, allocations: 82.39 MB / 390 MB, free: 10.05 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.3308, allocations: 82.27 kB / 390.1 MB, free: 10.01 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4197/0.7505, allocations: 83.62 MB / 473.7 MB, free: 72.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.7506, allocations: 1.219 kB / 473.7 MB, free: 72.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002062/0.7508, allocations: 79.3 kB / 473.8 MB, free: 72.36 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1450 * Number of variables: 1450 Notification: Performance of Generate backend data structure: time 0.01331/0.7641, allocations: 3.795 MB / 477.6 MB, free: 70.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.7642, allocations: 8.438 kB / 477.6 MB, free: 70.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01244/0.7766, allocations: 2.437 MB / 480 MB, free: 70.53 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01238/0.7891, allocations: 5.038 MB / 485.1 MB, free: 69.97 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002073/0.7893, allocations: 310.9 kB / 485.4 MB, free: 69.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008259/0.7902, allocations: 406.4 kB / 485.8 MB, free: 69.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/0.8037, allocations: 9.807 MB / 495.6 MB, free: 67.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001209/0.8039, allocations: 62.91 kB / 495.7 MB, free: 67.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005103/0.8044, allocations: 199.2 kB / 495.9 MB, free: 67.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001148/0.8056, allocations: 0.9909 MB / 496.8 MB, free: 67.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01226/0.8179, allocations: 7.528 MB / 0.4925 GB, free: 67.03 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04153/0.8594, allocations: 45.38 MB / 0.5369 GB, free: 32.9 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005258/0.8647, allocations: 2.713 MB / 0.5395 GB, free: 31.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000917/0.8657, allocations: 0.8209 MB / 0.5403 GB, free: 31.33 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004845/0.8705, allocations: 3.465 MB / 0.5437 GB, free: 29.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.8706, allocations: 42.45 kB / 0.5437 GB, free: 29.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=127): time 3.446e-06/0.8706, allocations: 0 / 0.5437 GB, free: 29.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.01773/0.8883, allocations: 8.196 MB / 0.5517 GB, free: 23.63 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.8884, allocations: 149.2 kB / 0.5519 GB, free: 23.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004207/0.8926, allocations: 3.429 MB / 0.5552 GB, free: 20.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001324/0.8928, allocations: 49.7 kB / 0.5553 GB, free: 20.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001469/0.8943, allocations: 3.064 MB / 0.5583 GB, free: 17.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000509/0.8948, allocations: 0.5904 MB / 0.5588 GB, free: 17.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.895, allocations: 112 kB / 0.559 GB, free: 17 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000262/0.8952, allocations: 0.5554 MB / 0.5595 GB, free: 16.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/0.897, allocations: 1.462 MB / 0.5609 GB, free: 15.19 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00311/0.9001, allocations: 5.174 MB / 0.566 GB, free: 8.371 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003663/0.9038, allocations: 2.76 MB / 0.5687 GB, free: 6.008 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.851e-05/0.9039, allocations: 40 kB / 0.5687 GB, free: 5.969 MB / 346.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.0137/0.9176, allocations: 6.389 MB / 0.5749 GB, free: 268 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.484e-05/0.9178, allocations: 60 kB / 0.575 GB, free: 208 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001504/0.9179, allocations: 135.9 kB / 0.5751 GB, free: 72 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/0.9195, allocations: 253.3 kB / 0.5754 GB, free: 0 / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008458/0.928, allocations: 1.389 MB / 0.5767 GB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003748/0.9284, allocations: 264.3 kB / 0.577 GB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008661/0.9371, allocations: 366 kB / 0.5773 GB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001509/0.9387, allocations: 362.9 kB / 0.5777 GB, free: 13.9 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * Number of states: 0 () * Number of discrete variables: 33 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],p1.boxColor[3],p1.boxColor[2],p1.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (726): * Single equations (assignments): 723 * Array equations: 3 * 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.002121/0.9408, allocations: 0.5622 MB / 0.5782 GB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/0.942, allocations: 331.7 kB / 0.5785 GB, free: 13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004289/0.9464, allocations: 1.173 MB / 0.5797 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.329e-05/0.9464, allocations: 16 kB / 0.5797 GB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.9465, allocations: 0 / 0.5797 GB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.659e-05/0.9465, allocations: 11.31 kB / 0.5797 GB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01713/0.9637, allocations: 5.62 MB / 0.5852 GB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.405e-05/0.9638, allocations: 20 kB / 0.5852 GB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001907/0.9657, allocations: 270 kB / 0.5855 GB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.526e-05/0.9658, allocations: 28.72 kB / 0.5855 GB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/0.9659, allocations: 44 kB / 0.5856 GB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.033e-05/0.966, allocations: 46.33 kB / 0.5856 GB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.507e-05/0.9661, allocations: 31.83 kB / 0.5856 GB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008101/0.9742, allocations: 5.097 MB / 0.5906 GB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002026/0.9763, allocations: 0.5089 MB / 0.5911 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005024/0.9768, allocations: 54.52 kB / 0.5912 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002139/0.9789, allocations: 85.91 kB / 0.5912 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002721/0.9792, allocations: 146.5 kB / 0.5914 GB, free: 468 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/0.9794, allocations: 67.84 kB / 0.5914 GB, free: 404 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.2337/1.213, allocations: 2.724 MB / 0.5941 GB, free: 76.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.51e-07/1.213, allocations: 0 / 0.5941 GB, free: 76.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00571/1.219, allocations: 0.8645 MB / 0.5949 GB, free: 76.41 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 79 * Number of states: 4 (p1.s,p1.v,p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (138): * Single equations (assignments): 135 * Array equations: 3 * 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.0004654/1.219, allocations: 196.7 kB / 0.5951 GB, free: 76.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006226/1.226, allocations: 3.475 MB / 0.5985 GB, free: 76.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.429e-05/1.226, allocations: 2.688 kB / 0.5985 GB, free: 76.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/1.227, allocations: 0.6994 MB / 0.5992 GB, free: 76.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/1.229, allocations: 411.2 kB / 0.5996 GB, free: 76.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/1.24, allocations: 6.918 MB / 0.6064 GB, free: 74.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002537/1.242, allocations: 3.169 MB / 0.6095 GB, free: 73.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003852/1.246, allocations: 1.763 MB / 0.6112 GB, free: 73.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003765/1.247, allocations: 227.2 kB / 0.6114 GB, free: 73.5 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/1.247, allocations: 0 / 0.6114 GB, free: 73.5 MB / 362.7 MB Notification: Performance of Templates: time 0.04367/1.29, allocations: 25.28 MB / 0.6361 GB, free: 72.26 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe 2>&1)