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.008749/0.008749, allocations: 163.1 kB / 15.11 MB, free: 5.969 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.524/1.524, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.001761/0.001761, allocations: 103.3 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003828, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2499, allocations: 38.76 MB / 312.9 MB, free: 38.73 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1172/0.3672, allocations: 82.49 MB / 395.4 MB, free: 8.016 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.3675, allocations: 83.95 kB / 395.5 MB, free: 7.934 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.407/0.7745, allocations: 83.59 MB / 479 MB, free: 44.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.7746, allocations: 0 / 479 MB, free: 44.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003346/0.775, allocations: 79.98 kB / 479.1 MB, free: 44.48 MB / 314.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.01499/0.79, allocations: 4.034 MB / 483.2 MB, free: 40.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.79, allocations: 8.031 kB / 483.2 MB, free: 40.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/0.8017, allocations: 2.432 MB / 485.6 MB, free: 37.94 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/0.8152, allocations: 5.055 MB / 490.7 MB, free: 32.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003886/0.8156, allocations: 308.4 kB / 491 MB, free: 32.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002586/0.8182, allocations: 411.8 kB / 491.4 MB, free: 32.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02514/0.8434, allocations: 9.937 MB / 0.4895 GB, free: 21.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000378/0.8438, allocations: 59.41 kB / 0.4896 GB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002169/0.846, allocations: 203.9 kB / 0.4898 GB, free: 20.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001479/0.8475, allocations: 0.9863 MB / 0.4908 GB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0165/0.864, allocations: 7.78 MB / 0.4984 GB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.284/1.148, allocations: 45.38 MB / 0.5427 GB, free: 71.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005915/1.154, allocations: 2.738 MB / 0.5453 GB, free: 70.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006523/1.161, allocations: 3.46 MB / 0.5487 GB, free: 69.6 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/1.161, allocations: 51.06 kB / 0.5488 GB, free: 69.56 MB / 346.7 MB Notification: Performance of pre-optimization done (n=127): time 4.639e-06/1.161, allocations: 0 / 0.5488 GB, free: 69.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.02168/1.182, allocations: 9.077 MB / 0.5576 GB, free: 66.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/1.182, allocations: 141.1 kB / 0.5578 GB, free: 66.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008377/1.191, allocations: 3.531 MB / 0.5612 GB, free: 66.1 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003673/1.191, allocations: 42.7 kB / 0.5613 GB, free: 66.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002521/1.194, allocations: 3.082 MB / 0.5643 GB, free: 64.31 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000917/1.195, allocations: 0.5811 MB / 0.5648 GB, free: 64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000311/1.195, allocations: 117 kB / 0.565 GB, free: 64 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003221/1.195, allocations: 0.5405 MB / 0.5655 GB, free: 63.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003026/1.198, allocations: 1.569 MB / 0.567 GB, free: 63.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004855/1.203, allocations: 5.285 MB / 0.5722 GB, free: 58.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00413/1.207, allocations: 2.818 MB / 0.5749 GB, free: 58.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.637e-05/1.208, allocations: 36.38 kB / 0.575 GB, free: 58.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.01232/1.22, allocations: 6.589 MB / 0.5814 GB, free: 57.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/1.22, allocations: 60.91 kB / 0.5815 GB, free: 57.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002453/1.22, allocations: 132.1 kB / 0.5816 GB, free: 57.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002514/1.221, allocations: 197.1 kB / 0.5818 GB, free: 57.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004403/1.225, allocations: 1.38 MB / 0.5831 GB, free: 57.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002069/1.225, allocations: 263.4 kB / 0.5834 GB, free: 57.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006335/1.232, allocations: 370.9 kB / 0.5837 GB, free: 57.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001311/1.233, allocations: 364.3 kB / 0.5841 GB, free: 57.43 MB / 346.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.005643/1.239, allocations: 1.953 MB / 0.586 GB, free: 56.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001546/1.24, allocations: 337.9 kB / 0.5863 GB, free: 56.31 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003415/1.244, allocations: 1.201 MB / 0.5875 GB, free: 55.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-05/1.244, allocations: 19.67 kB / 0.5875 GB, free: 55.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-05/1.244, allocations: 4.5 kB / 0.5875 GB, free: 55.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.917e-05/1.244, allocations: 5.109 kB / 0.5875 GB, free: 55.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01613/1.26, allocations: 5.638 MB / 0.593 GB, free: 53.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.695e-05/1.26, allocations: 19.25 kB / 0.593 GB, free: 53.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/1.261, allocations: 274 kB / 0.5933 GB, free: 53.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.526e-05/1.261, allocations: 30.45 kB / 0.5933 GB, free: 53.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.683e-05/1.261, allocations: 51.38 kB / 0.5934 GB, free: 53.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.459e-05/1.261, allocations: 42.47 kB / 0.5934 GB, free: 53.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.517e-05/1.261, allocations: 29.62 kB / 0.5934 GB, free: 53.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004243/1.265, allocations: 5.135 MB / 0.5984 GB, free: 48.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001657/1.267, allocations: 0.5151 MB / 0.5989 GB, free: 48.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004021/1.268, allocations: 49.44 kB / 0.599 GB, free: 48.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/1.269, allocations: 87.03 kB / 0.5991 GB, free: 48.58 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/1.269, allocations: 143.9 kB / 0.5992 GB, free: 48.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.873e-05/1.269, allocations: 68.55 kB / 0.5993 GB, free: 48.51 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004154/1.273, allocations: 2.459 MB / 0.6017 GB, free: 47.72 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.273, allocations: 0 / 0.6017 GB, free: 47.72 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006213/1.279, allocations: 0.8631 MB / 0.6025 GB, free: 46.94 MB / 346.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.0004766/1.28, allocations: 202.3 kB / 0.6027 GB, free: 46.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006328/1.286, allocations: 3.592 MB / 0.6062 GB, free: 43.6 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.379e-05/1.286, allocations: 4 kB / 0.6062 GB, free: 43.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009694/1.287, allocations: 0.7103 MB / 0.6069 GB, free: 42.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/1.29, allocations: 413.1 kB / 0.6073 GB, free: 42.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01857/1.309, allocations: 9.985 MB / 0.6171 GB, free: 33.17 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004081/1.313, allocations: 3.156 MB / 0.6202 GB, free: 30.77 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00471/1.318, allocations: 1.76 MB / 0.6219 GB, free: 29.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006148/1.318, allocations: 230.7 kB / 0.6221 GB, free: 29.44 MB / 346.7 MB Notification: Performance of SimCode: time 1.623e-06/1.318, allocations: 0 / 0.6221 GB, free: 29.44 MB / 346.7 MB Notification: Performance of Templates: time 0.05186/1.37, allocations: 25.28 MB / 0.6468 GB, free: 8.246 MB / 346.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)