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.0009833/0.0009833, allocations: 169.9 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.103/1.103, allocations: 170.6 MB / 183.8 MB, free: 11.5 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.001558/0.001558, allocations: 107.4 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.387e-05/2.39e-05, allocations: 0 / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06891/0.06895, allocations: 38.76 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2546/0.3236, allocations: 85.18 MB / 392.8 MB, free: 7.371 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.3239, allocations: 85.81 kB / 392.9 MB, free: 7.324 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1848/0.5088, allocations: 71.71 MB / 464.6 MB, free: 4.883 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5088, allocations: 0 / 464.6 MB, free: 4.883 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001797/0.509, allocations: 71.98 kB / 464.7 MB, free: 4.812 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.009968/0.519, allocations: 3.35 MB / 468 MB, free: 1.402 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.519, allocations: 8.031 kB / 468 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2049/0.724, allocations: 2.078 MB / 470.1 MB, free: 75.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01145/0.7355, allocations: 4.007 MB / 474.1 MB, free: 75.46 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000287/0.7358, allocations: 260.8 kB / 474.4 MB, free: 75.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001569/0.7374, allocations: 345.9 kB / 474.7 MB, free: 75.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01611/0.7535, allocations: 8.805 MB / 483.5 MB, free: 72.83 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001292/0.7537, allocations: 54 kB / 483.6 MB, free: 72.83 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005132/0.7542, allocations: 172.4 kB / 483.7 MB, free: 72.83 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009915/0.7552, allocations: 0.8725 MB / 484.6 MB, free: 72.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0122/0.7674, allocations: 7.056 MB / 491.7 MB, free: 72.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03682/0.8043, allocations: 42.6 MB / 0.5217 GB, free: 41.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006525/0.8109, allocations: 3.169 MB / 0.5248 GB, free: 40.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.8126, allocations: 1.415 MB / 0.5262 GB, free: 39.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005702/0.8183, allocations: 4.088 MB / 0.5302 GB, free: 37.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.8183, allocations: 46.91 kB / 0.5303 GB, free: 37.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=114): time 3.797e-06/0.8184, allocations: 3.719 kB / 0.5303 GB, free: 37.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.0203/0.8387, allocations: 9.391 MB / 0.5394 GB, free: 33.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.8388, allocations: 143.6 kB / 0.5396 GB, free: 33.08 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004288/0.8431, allocations: 3.267 MB / 0.5428 GB, free: 31.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001755/0.8433, allocations: 41.7 kB / 0.5428 GB, free: 31.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001274/0.8445, allocations: 2.735 MB / 0.5455 GB, free: 29.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004198/0.845, allocations: 0.4933 MB / 0.5459 GB, free: 28.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.8452, allocations: 106.5 kB / 0.5461 GB, free: 28.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002393/0.8454, allocations: 0.5242 MB / 0.5466 GB, free: 28.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002066/0.8475, allocations: 1.635 MB / 0.5482 GB, free: 26.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003121/0.8506, allocations: 5.033 MB / 0.5531 GB, free: 20.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003277/0.8539, allocations: 2.84 MB / 0.5558 GB, free: 17.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.126e-05/0.854, allocations: 36 kB / 0.5559 GB, free: 17.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.009379/0.8634, allocations: 6.548 MB / 0.5623 GB, free: 11.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.375e-05/0.8635, allocations: 58.19 kB / 0.5623 GB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.133e-05/0.8636, allocations: 124 kB / 0.5625 GB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005587/0.8641, allocations: 343.7 kB / 0.5628 GB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003465/0.8676, allocations: 1.27 MB / 0.564 GB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.8696, allocations: 2.335 MB / 0.5663 GB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003819/0.8734, allocations: 278.2 kB / 0.5666 GB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004677/0.8739, allocations: 331.4 kB / 0.5669 GB, free: 7.336 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 () * 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.0005937/0.8745, allocations: 0.5164 MB / 0.5674 GB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004746/0.875, allocations: 315.8 kB / 0.5677 GB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004258/0.8792, allocations: 2.305 MB / 0.5699 GB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/0.8793, allocations: 18.66 kB / 0.57 GB, free: 4.699 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.8793, allocations: 0 / 0.57 GB, free: 4.699 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.8793, allocations: 11.12 kB / 0.57 GB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009805/0.8891, allocations: 5.832 MB / 0.5757 GB, free: 56 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.8892, allocations: 4.062 kB / 0.5757 GB, free: 52 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009329/0.8901, allocations: 173.6 kB / 0.5758 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002176/0.8923, allocations: 0.7065 MB / 0.5765 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.8924, allocations: 23.8 kB / 0.5765 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006001/0.8984, allocations: 4.438 MB / 0.5809 GB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.8985, allocations: 7.953 kB / 0.5809 GB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007029/0.9055, allocations: 4.356 MB / 0.5851 GB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001557/0.9071, allocations: 0.5293 MB / 0.5857 GB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004507/0.9076, allocations: 16 kB / 0.5857 GB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.9087, allocations: 71.59 kB / 0.5857 GB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/0.9089, allocations: 60.33 kB / 0.5858 GB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.895e-05/0.909, allocations: 42.83 kB / 0.5858 GB, free: 7.016 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003991/0.913, allocations: 2.274 MB / 0.5881 GB, free: 4.918 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.9131, allocations: 0 / 0.5881 GB, free: 4.918 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004115/0.9172, allocations: 0.809 MB / 0.5888 GB, free: 4.113 MB / 362.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 () * 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.0003906/0.9176, allocations: 162.6 kB / 0.589 GB, free: 3.949 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006077/0.9237, allocations: 3.894 MB / 0.5928 GB, free: 72 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.9237, allocations: 0 / 0.5928 GB, free: 72 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1726/1.096, allocations: 1.07 MB / 0.5939 GB, free: 80.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/1.098, allocations: 348.7 kB / 0.5942 GB, free: 80.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/1.109, allocations: 5.814 MB / 0.5999 GB, free: 79.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003603/1.113, allocations: 2.83 MB / 0.6026 GB, free: 78.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004119/1.117, allocations: 1.644 MB / 0.6042 GB, free: 78.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006945/1.118, allocations: 206.7 kB / 0.6044 GB, free: 78.81 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/1.118, allocations: 2.625 kB / 0.6044 GB, free: 78.81 MB / 362.7 MB Notification: Performance of Templates: time 0.0499/1.168, allocations: 28.7 MB / 0.6325 GB, free: 77.55 MB / 362.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)