Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002285/0.002285, allocations: 169.8 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.724/1.724, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001719/0.001719, allocations: 114.7 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.36e-05/2.364e-05, allocations: 0 / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08753/0.08757, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3484/0.436, allocations: 87.06 MB / 394.7 MB, free: 5.469 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.4364, allocations: 81.33 kB / 394.8 MB, free: 5.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.193/0.6293, allocations: 73.98 MB / 468.8 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6294, allocations: 3.938 kB / 468.8 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001327/0.6295, allocations: 64 kB / 468.8 MB, free: 0.6289 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: 1322 * Number of variables: 1322 Notification: Performance of Generate backend data structure: time 0.2137/0.8432, allocations: 3.415 MB / 472.2 MB, free: 74.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.8433, allocations: 10.78 kB / 472.2 MB, free: 74.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/0.8545, allocations: 2.26 MB / 474.5 MB, free: 74.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01152/0.866, allocations: 3.894 MB / 478.4 MB, free: 74.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003137/0.8664, allocations: 274 kB / 478.7 MB, free: 74.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00143/0.8678, allocations: 363.7 kB / 479 MB, free: 74.35 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0197/0.8875, allocations: 10.25 MB / 489.3 MB, free: 71.78 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000113/0.8877, allocations: 62.17 kB / 489.3 MB, free: 71.78 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005052/0.8882, allocations: 179.8 kB / 489.5 MB, free: 71.78 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001211/0.8895, allocations: 0.9836 MB / 490.5 MB, free: 71.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01595/0.9054, allocations: 8.461 MB / 498.9 MB, free: 71.69 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04096/0.9464, allocations: 44.03 MB / 0.5303 GB, free: 39.63 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008364/0.9548, allocations: 3.536 MB / 0.5337 GB, free: 38.28 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001962/0.9568, allocations: 1.728 MB / 0.5354 GB, free: 37.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009805/0.9666, allocations: 7.141 MB / 0.5424 GB, free: 33.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.9667, allocations: 47.34 kB / 0.5424 GB, free: 33.15 MB / 346.7 MB Notification: Performance of pre-optimization done (n=139): time 4.057e-06/0.9667, allocations: 3.844 kB / 0.5424 GB, free: 33.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=155): time 0.04141/1.008, allocations: 14.37 MB / 0.5564 GB, free: 21.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/1.008, allocations: 149.2 kB / 0.5566 GB, free: 21.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003856/1.012, allocations: 3.031 MB / 0.5595 GB, free: 18.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002713/1.012, allocations: 49.7 kB / 0.5596 GB, free: 18.46 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001148/1.014, allocations: 2.706 MB / 0.5622 GB, free: 16.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004982/1.014, allocations: 0.605 MB / 0.5628 GB, free: 15.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/1.014, allocations: 111.9 kB / 0.5629 GB, free: 15.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002113/1.014, allocations: 0.5276 MB / 0.5634 GB, free: 14.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002191/1.017, allocations: 1.842 MB / 0.5652 GB, free: 13.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003283/1.02, allocations: 5.204 MB / 0.5703 GB, free: 6.637 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003355/1.023, allocations: 3.045 MB / 0.5733 GB, free: 4.027 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.681e-05/1.023, allocations: 36 kB / 0.5733 GB, free: 3.992 MB / 346.7 MB Notification: Performance of matching and sorting (n=708) (initialization): time 0.01413/1.037, allocations: 7.897 MB / 0.581 GB, free: 12.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.459e-05/1.038, allocations: 56.22 kB / 0.5811 GB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001328/1.038, allocations: 124 kB / 0.5812 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003959/1.042, allocations: 1.307 MB / 0.5825 GB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004442/1.046, allocations: 1.259 MB / 0.5837 GB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009604/1.056, allocations: 6.112 MB / 0.5897 GB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004813/1.061, allocations: 343.5 kB / 0.59 GB, free: 3.066 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/1.062, allocations: 344 kB / 0.5903 GB, free: 2.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 547 * Number of states: 0 () * Number of discrete variables: 33 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (665): * Single equations (assignments): 661 * 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 {(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009105/1.063, allocations: 0.5166 MB / 0.5909 GB, free: 2.203 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006404/1.063, allocations: 300.1 kB / 0.5911 GB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2176/1.281, allocations: 3.236 MB / 0.5943 GB, free: 80.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.427e-05/1.281, allocations: 16.97 kB / 0.5943 GB, free: 80.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.66e-05/1.281, allocations: 5.688 kB / 0.5943 GB, free: 80.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.176e-05/1.281, allocations: 11.88 kB / 0.5943 GB, free: 80.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0175/1.299, allocations: 7.303 MB / 0.6015 GB, free: 80.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.143e-05/1.299, allocations: 2.344 kB / 0.6015 GB, free: 80.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002104/1.301, allocations: 230.5 kB / 0.6017 GB, free: 80.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006734/1.308, allocations: 1.114 MB / 0.6028 GB, free: 80.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000277/1.308, allocations: 23.45 kB / 0.6028 GB, free: 80.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01347/1.321, allocations: 5.742 MB / 0.6084 GB, free: 78.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.321, allocations: 0 / 0.6084 GB, free: 78.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01505/1.336, allocations: 5.557 MB / 0.6138 GB, free: 78.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00229/1.339, allocations: 0.5683 MB / 0.6144 GB, free: 78.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008604/1.34, allocations: 26.86 kB / 0.6144 GB, free: 78.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002844/1.343, allocations: 108.9 kB / 0.6145 GB, free: 78.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003411/1.343, allocations: 83.66 kB / 0.6146 GB, free: 78.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001839/1.343, allocations: 43.52 kB / 0.6146 GB, free: 78.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005615/1.349, allocations: 2.083 MB / 0.6167 GB, free: 78.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.349, allocations: 3.125 kB / 0.6167 GB, free: 78.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.007293/1.356, allocations: 0.8957 MB / 0.6175 GB, free: 78.19 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 115 * 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 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006258/1.357, allocations: 164.6 kB / 0.6177 GB, free: 78.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01037/1.367, allocations: 4.571 MB / 0.6222 GB, free: 77.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.367, allocations: 0 / 0.6222 GB, free: 77.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003251/1.37, allocations: 1.456 MB / 0.6236 GB, free: 77.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002996/1.373, allocations: 319.9 kB / 0.6239 GB, free: 77.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01882/1.392, allocations: 6.578 MB / 0.6303 GB, free: 75.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003784/1.396, allocations: 2.893 MB / 0.6331 GB, free: 74.22 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.006701/1.403, allocations: 1.689 MB / 0.6348 GB, free: 74.19 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008636/1.404, allocations: 212.8 kB / 0.635 GB, free: 74.18 MB / 362.7 MB Notification: Performance of SimCode: time 1.343e-06/1.404, allocations: 0 / 0.635 GB, free: 74.18 MB / 362.7 MB Notification: Performance of Templates: time 0.08648/1.49, allocations: 30.91 MB / 0.6652 GB, free: 59.62 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1)