Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009465/0.0009465, allocations: 180.7 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.22/1.22, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001555/0.001555, allocations: 115.9 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002836/0.0002837, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07989/0.08019, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2442/0.3244, allocations: 88.11 MB / 443.2 MB, free: 1.695 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.3247, allocations: 88.03 kB / 443.3 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3559/0.6806, allocations: 83.58 MB / 0.5145 GB, free: 85.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.6806, allocations: 0 / 0.5145 GB, free: 85.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003156/0.681, allocations: 73.34 kB / 0.5146 GB, free: 85.23 MB / 394.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.01054/0.6915, allocations: 4.038 MB / 0.5185 GB, free: 84.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.6916, allocations: 9.906 kB / 0.5185 GB, free: 84.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00974/0.7013, allocations: 2.43 MB / 0.5209 GB, free: 84.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01179/0.7131, allocations: 5.05 MB / 0.5258 GB, free: 83.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003458/0.7135, allocations: 313.1 kB / 0.5261 GB, free: 83.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001623/0.7152, allocations: 408.1 kB / 0.5265 GB, free: 83.69 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01979/0.735, allocations: 9.937 MB / 0.5362 GB, free: 80.87 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001648/0.7352, allocations: 67.05 kB / 0.5363 GB, free: 80.87 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006377/0.7358, allocations: 202.6 kB / 0.5365 GB, free: 80.87 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001498/0.7373, allocations: 0.9846 MB / 0.5374 GB, free: 80.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01628/0.7536, allocations: 7.784 MB / 0.545 GB, free: 80.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03725/0.7909, allocations: 45.38 MB / 0.5893 GB, free: 47.42 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004976/0.7959, allocations: 2.754 MB / 0.592 GB, free: 46.17 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004455/0.8004, allocations: 3.447 MB / 0.5954 GB, free: 44.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.8004, allocations: 44.59 kB / 0.5954 GB, free: 44.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=127): time 4.648e-06/0.8005, allocations: 3.031 kB / 0.5954 GB, free: 44.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=145): time 0.01787/0.8183, allocations: 9.074 MB / 0.6043 GB, free: 39.67 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.8184, allocations: 139.5 kB / 0.6044 GB, free: 39.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004152/0.8226, allocations: 3.526 MB / 0.6079 GB, free: 38.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.8227, allocations: 46.11 kB / 0.6079 GB, free: 38.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001296/0.824, allocations: 3.086 MB / 0.6109 GB, free: 35.85 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000355/0.8243, allocations: 0.5799 MB / 0.6115 GB, free: 35.44 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.8245, allocations: 116.8 kB / 0.6116 GB, free: 35.35 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002176/0.8247, allocations: 0.5433 MB / 0.6121 GB, free: 34.94 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/0.8269, allocations: 1.569 MB / 0.6137 GB, free: 34.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003378/0.8303, allocations: 5.284 MB / 0.6188 GB, free: 28.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003082/0.8334, allocations: 2.811 MB / 0.6216 GB, free: 26.87 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.001e-05/0.8334, allocations: 40 kB / 0.6216 GB, free: 26.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.00848/0.8419, allocations: 6.603 MB / 0.6281 GB, free: 20.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.197e-05/0.842, allocations: 60 kB / 0.6281 GB, free: 20.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/0.8421, allocations: 140.9 kB / 0.6283 GB, free: 20.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000127/0.8423, allocations: 192 kB / 0.6284 GB, free: 20.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003471/0.8457, allocations: 1.381 MB / 0.6298 GB, free: 19.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000134/0.8459, allocations: 264.2 kB / 0.63 GB, free: 19.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00377/0.8497, allocations: 368.5 kB / 0.6304 GB, free: 18.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003949/0.8501, allocations: 359.8 kB / 0.6307 GB, free: 18.48 MB / 394.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 () * Number of clocked 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.002494/0.8526, allocations: 1.966 MB / 0.6327 GB, free: 16.74 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004951/0.8531, allocations: 336.4 kB / 0.633 GB, free: 16.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/0.8548, allocations: 1.201 MB / 0.6342 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/0.8548, allocations: 16 kB / 0.6342 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.8548, allocations: 5.438 kB / 0.6342 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.8548, allocations: 6.562 kB / 0.6342 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008038/0.8629, allocations: 5.64 MB / 0.6397 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.815e-05/0.8629, allocations: 20 kB / 0.6397 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008276/0.8637, allocations: 269.7 kB / 0.64 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-05/0.8638, allocations: 37.58 kB / 0.64 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.728e-05/0.8639, allocations: 47.56 kB / 0.64 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.66e-05/0.8639, allocations: 35.3 kB / 0.6401 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.215e-05/0.8639, allocations: 27.88 kB / 0.6401 GB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003067/0.867, allocations: 5.137 MB / 0.6451 GB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009695/0.8679, allocations: 0.5139 MB / 0.6456 GB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002736/0.8682, allocations: 49.59 kB / 0.6457 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.8694, allocations: 89.84 kB / 0.6458 GB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.8695, allocations: 148.3 kB / 0.6459 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.276e-05/0.8696, allocations: 63.75 kB / 0.646 GB, free: 3.754 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003147/0.8727, allocations: 2.467 MB / 0.6484 GB, free: 1.754 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8727, allocations: 0 / 0.6484 GB, free: 1.754 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003981/0.8767, allocations: 0.8633 MB / 0.6492 GB, free: 0.8906 MB / 394.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 () * Number of clocked 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.0003264/0.8771, allocations: 201.3 kB / 0.6494 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005313/0.8824, allocations: 3.592 MB / 0.6529 GB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/0.8824, allocations: 4 kB / 0.6529 GB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000959/0.8834, allocations: 0.7089 MB / 0.6536 GB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/0.8855, allocations: 411.3 kB / 0.654 GB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/0.9005, allocations: 9.984 MB / 0.6637 GB, free: 3.051 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1551/1.056, allocations: 3.156 MB / 0.6668 GB, free: 85.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004678/1.06, allocations: 1.759 MB / 0.6685 GB, free: 85.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003751/1.061, allocations: 234.1 kB / 0.6688 GB, free: 85.51 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/1.061, allocations: 0 / 0.6688 GB, free: 85.51 MB / 410.7 MB Notification: Performance of Templates: time 0.0522/1.113, allocations: 25.27 MB / 0.6935 GB, free: 84.55 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe 2>&1)