Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.InitSpringConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00556/0.00556, allocations: 166.7 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.126/1.126, allocations: 170.8 MB / 186.6 MB, free: 0.9688 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.001548/0.001547, allocations: 118.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 16 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1697, allocations: 38.77 MB / 312.9 MB, free: 38.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09627/0.266, allocations: 85.27 MB / 398.2 MB, free: 5.219 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.2663, allocations: 91.95 kB / 398.3 MB, free: 5.129 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3838/0.6501, allocations: 71.68 MB / 469.9 MB, free: 53.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6501, allocations: 0 / 469.9 MB, free: 53.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001375/0.6503, allocations: 68 kB / 470 MB, free: 53.85 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.009267/0.6596, allocations: 3.559 MB / 473.6 MB, free: 50.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.6596, allocations: 12.03 kB / 473.6 MB, free: 50.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009096/0.6687, allocations: 2.086 MB / 475.7 MB, free: 48.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/0.679, allocations: 4.033 MB / 479.7 MB, free: 44.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/0.6792, allocations: 258.8 kB / 479.9 MB, free: 43.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001535/0.6808, allocations: 339.9 kB / 480.3 MB, free: 43.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01474/0.6955, allocations: 8.859 MB / 489.1 MB, free: 33.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/0.6957, allocations: 55.41 kB / 489.2 MB, free: 33.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005034/0.6962, allocations: 175.9 kB / 489.4 MB, free: 33.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009897/0.6972, allocations: 0.8682 MB / 490.2 MB, free: 32.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01127/0.7085, allocations: 7.167 MB / 497.4 MB, free: 25.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03967/0.7482, allocations: 42.59 MB / 0.5273 GB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007268/0.7556, allocations: 3.177 MB / 0.5304 GB, free: 9.973 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007799/0.7634, allocations: 4.077 MB / 0.5344 GB, free: 5.742 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.7635, allocations: 51.06 kB / 0.5345 GB, free: 5.684 MB / 346.7 MB Notification: Performance of pre-optimization done (n=114): time 4.849e-06/0.7635, allocations: 0 / 0.5345 GB, free: 5.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.1883/0.9518, allocations: 11.36 MB / 0.5456 GB, free: 83.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.9519, allocations: 143.4 kB / 0.5457 GB, free: 83.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005025/0.9569, allocations: 3.3 MB / 0.5489 GB, free: 83.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002868/0.9572, allocations: 39.14 kB / 0.5489 GB, free: 83.4 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001802/0.959, allocations: 2.739 MB / 0.5516 GB, free: 81.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006356/0.9597, allocations: 0.4935 MB / 0.5521 GB, free: 81.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.9599, allocations: 102.2 kB / 0.5522 GB, free: 81.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000341/0.9603, allocations: 0.5276 MB / 0.5527 GB, free: 81.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002813/0.9631, allocations: 1.663 MB / 0.5543 GB, free: 81.37 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004167/0.9673, allocations: 5.057 MB / 0.5593 GB, free: 76.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003643/0.971, allocations: 2.846 MB / 0.5621 GB, free: 76.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.571e-05/0.971, allocations: 37.31 kB / 0.5621 GB, free: 76.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01037/0.9814, allocations: 6.62 MB / 0.5686 GB, free: 75.14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.662e-05/0.9815, allocations: 58.59 kB / 0.5686 GB, free: 75.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001309/0.9817, allocations: 122.4 kB / 0.5687 GB, free: 75.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006294/0.9823, allocations: 345.2 kB / 0.5691 GB, free: 75.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003527/0.9858, allocations: 1.269 MB / 0.5703 GB, free: 74.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.9879, allocations: 2.383 MB / 0.5726 GB, free: 73.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003736/0.9916, allocations: 277.1 kB / 0.5729 GB, free: 73.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006433/0.9923, allocations: 331.9 kB / 0.5732 GB, free: 73.08 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (656): * Single equations (assignments): 652 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003265/0.9956, allocations: 1.771 MB / 0.5749 GB, free: 72.22 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/0.9966, allocations: 308.7 kB / 0.5752 GB, free: 72.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004272/1.001, allocations: 2.325 MB / 0.5775 GB, free: 71.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.694e-05/1.001, allocations: 17.27 kB / 0.5775 GB, free: 71.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/1.001, allocations: 3.25 kB / 0.5775 GB, free: 71.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/1.001, allocations: 11.2 kB / 0.5775 GB, free: 71.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/1.012, allocations: 5.838 MB / 0.5832 GB, free: 69.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/1.012, allocations: 7.234 kB / 0.5832 GB, free: 69.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007576/1.013, allocations: 159.7 kB / 0.5834 GB, free: 69.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001935/1.015, allocations: 0.718 MB / 0.5841 GB, free: 69.06 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/1.015, allocations: 23.47 kB / 0.5841 GB, free: 69.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004731/1.02, allocations: 4.56 MB / 0.5886 GB, free: 66.47 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.02, allocations: 0 / 0.5886 GB, free: 66.47 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005616/1.025, allocations: 4.38 MB / 0.5928 GB, free: 63.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/1.027, allocations: 0.5355 MB / 0.5934 GB, free: 63.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004935/1.027, allocations: 19.33 kB / 0.5934 GB, free: 63.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/1.028, allocations: 70 kB / 0.5935 GB, free: 63.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/1.029, allocations: 62.48 kB / 0.5935 GB, free: 62.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.741e-05/1.029, allocations: 36 kB / 0.5936 GB, free: 62.94 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003391/1.032, allocations: 2.304 MB / 0.5958 GB, free: 61.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.032, allocations: 0 / 0.5958 GB, free: 61.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005137/1.037, allocations: 0.8091 MB / 0.5966 GB, free: 60.25 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (90): * Single equations (assignments): 86 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004486/1.038, allocations: 165.5 kB / 0.5967 GB, free: 60.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005515/1.043, allocations: 3.94 MB / 0.6006 GB, free: 56.62 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/1.043, allocations: 6.953 kB / 0.6006 GB, free: 56.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001322/1.045, allocations: 1.077 MB / 0.6017 GB, free: 55.65 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/1.047, allocations: 357.3 kB / 0.602 GB, free: 55.35 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/1.06, allocations: 8.47 MB / 0.6103 GB, free: 47.58 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003964/1.065, allocations: 2.829 MB / 0.613 GB, free: 45.4 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.004199/1.069, allocations: 1.638 MB / 0.6146 GB, free: 44.38 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008693/1.07, allocations: 211.1 kB / 0.6148 GB, free: 44.18 MB / 346.7 MB Notification: Performance of SimCode: time 1.403e-06/1.07, allocations: 0 / 0.6148 GB, free: 44.18 MB / 346.7 MB Notification: Performance of Templates: time 0.05005/1.12, allocations: 28.67 MB / 0.6428 GB, free: 17.88 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1)