Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.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.SpringMassSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6727/0.6727, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.0016/0.0016, allocations: 159.4 kB / 144 MB, free: 4.789 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.463e-05/1.466e-05, allocations: 4 kB / 173.9 MB, free: 22.77 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03467/0.0347, allocations: 25.17 MB / 199 MB, free: 13.68 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.1766, allocations: 47.07 MB / 246.1 MB, free: 42.83 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.1769, allocations: 75.2 kB / 246.2 MB, free: 42.83 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.685/0.8619, allocations: 180 MB / 426.2 MB, free: 31.29 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.862, allocations: 1.031 kB / 426.2 MB, free: 31.29 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001954/0.8622, allocations: 105.2 kB / 426.3 MB, free: 31.29 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: 2050 * Number of variables: 2050 Notification: Performance of Generate backend data structure: time 0.0272/0.8894, allocations: 7.54 MB / 433.8 MB, free: 30.46 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.8894, allocations: 10.12 kB / 433.9 MB, free: 30.46 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1193/1.009, allocations: 24.84 MB / 458.7 MB, free: 29.67 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01606/1.025, allocations: 7.064 MB / 465.8 MB, free: 29 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003835/1.025, allocations: 189.6 kB / 465.9 MB, free: 29 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004178/1.029, allocations: 325.6 kB / 466.3 MB, free: 29 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02576/1.055, allocations: 16.03 MB / 482.3 MB, free: 23.71 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03367/1.089, allocations: 17.79 MB / 0.4884 GB, free: 7.293 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000239/1.089, allocations: 43.59 kB / 0.4884 GB, free: 7.266 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00281/1.092, allocations: 20 kB / 0.4884 GB, free: 7.246 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.04483/1.137, allocations: 9.997 MB / 0.4982 GB, free: 13.25 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8213/1.958, allocations: 125.4 MB / 0.6207 GB, free: 43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00437/1.963, allocations: 3.696 MB / 0.6243 GB, free: 42.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002149/1.965, allocations: 1.977 MB / 0.6262 GB, free: 42.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004009/1.965, allocations: 474.6 kB / 0.6267 GB, free: 41.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/1.965, allocations: 66.7 kB / 0.6267 GB, free: 41.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=240): time 7.114e-06/1.965, allocations: 0 / 0.6267 GB, free: 41.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=252): time 0.02862/1.994, allocations: 17.17 MB / 0.6435 GB, free: 33.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.855e-05/1.994, allocations: 362.2 kB / 0.6438 GB, free: 32.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005094/1.999, allocations: 3.832 MB / 0.6476 GB, free: 32.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006781/2, allocations: 25.7 kB / 0.6476 GB, free: 32.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002113/2.002, allocations: 4.047 MB / 0.6516 GB, free: 29.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001046/2.003, allocations: 0.9302 MB / 0.6525 GB, free: 29.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004506/2.003, allocations: 0 / 0.6525 GB, free: 29.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003584/2.004, allocations: 0.6428 MB / 0.6531 GB, free: 28.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003371/2.007, allocations: 2.929 MB / 0.656 GB, free: 28.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004919/2.012, allocations: 7.841 MB / 0.6636 GB, free: 21.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004704/2.017, allocations: 3.945 MB / 0.6675 GB, free: 20.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.969e-05/2.017, allocations: 53.41 kB / 0.6675 GB, free: 20.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=1052) (initialization): time 0.01355/2.031, allocations: 9.184 MB / 0.6765 GB, free: 18.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.696e-05/2.031, allocations: 84.75 kB / 0.6766 GB, free: 18.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003989/2.031, allocations: 383.7 kB / 0.6769 GB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000198/2.031, allocations: 259.1 kB / 0.6772 GB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006153/2.037, allocations: 1.99 MB / 0.6791 GB, free: 17.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001789/2.038, allocations: 346 kB / 0.6795 GB, free: 17.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01271/2.05, allocations: 1.742 MB / 0.6812 GB, free: 17.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001789/2.052, allocations: 0.6824 MB / 0.6818 GB, free: 16.67 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * 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 (1008): * Single equations (assignments): 995 * Array equations: 13 * 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.001249/2.053, allocations: 0.5294 MB / 0.6823 GB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/2.055, allocations: 399.1 kB / 0.6827 GB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002548/2.057, allocations: 1.587 MB / 0.6843 GB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01323/2.07, allocations: 3.917 MB / 0.6881 GB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-05/2.07, allocations: 4 kB / 0.6881 GB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.802e-05/2.07, allocations: 10.22 kB / 0.6881 GB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.055/2.125, allocations: 17.58 MB / 0.7053 GB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.269e-05/2.126, allocations: 27.94 kB / 0.7053 GB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001775/2.127, allocations: 440.9 kB / 0.7057 GB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.156e-05/2.127, allocations: 40 kB / 0.7058 GB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003953/2.128, allocations: 126 kB / 0.7059 GB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.665e-05/2.128, allocations: 51.61 kB / 0.7059 GB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.692e-05/2.128, allocations: 47.58 kB / 0.706 GB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/2.139, allocations: 10.45 MB / 0.7162 GB, free: 4.738 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002481/2.141, allocations: 0.9813 MB / 0.7171 GB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008638/2.142, allocations: 39.88 kB / 0.7172 GB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008441/2.15, allocations: 1.376 MB / 0.7185 GB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004966/2.151, allocations: 227.3 kB / 0.7187 GB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001206/2.152, allocations: 275.3 kB / 0.719 GB, free: 2.676 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.008212/2.161, allocations: 2.53 MB / 0.7215 GB, free: 488 kB / 282.7 MB Notification: Performance of sort global known variables: time 7.72e-07/2.161, allocations: 0 / 0.7215 GB, free: 488 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.1754/2.336, allocations: 1.142 MB / 0.7226 GB, free: 66.25 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 118 * 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 (226): * Single equations (assignments): 213 * Array equations: 13 * 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.0006937/2.337, allocations: 201.3 kB / 0.7228 GB, free: 66.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0101/2.347, allocations: 6.445 MB / 0.7291 GB, free: 66.15 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.971e-05/2.347, allocations: 4.094 kB / 0.7291 GB, free: 66.15 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002353/2.349, allocations: 1.943 MB / 0.731 GB, free: 66.15 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/2.352, allocations: 395.4 kB / 0.7313 GB, free: 66.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/2.366, allocations: 10.28 MB / 0.7414 GB, free: 63.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004275/2.371, allocations: 4.12 MB / 0.7454 GB, free: 62.58 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.008532/2.379, allocations: 2.979 MB / 0.7483 GB, free: 62.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002357/2.382, allocations: 0.6543 MB / 0.749 GB, free: 62.42 MB / 282.7 MB Notification: Performance of SimCode: time 1.613e-06/2.382, allocations: 5.125 kB / 0.749 GB, free: 62.42 MB / 282.7 MB Notification: Performance of Templates: time 0.07618/2.458, allocations: 54.19 MB / 0.8019 GB, free: 33.07 MB / 282.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe 2>&1)