Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001358/0.001358, 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.233/1.233, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001554/0.001554, allocations: 103.5 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.636e-05/2.638e-05, allocations: 8 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07658/0.07662, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3277/0.4043, allocations: 84.64 MB / 392.3 MB, free: 7.844 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.4046, allocations: 89.75 kB / 392.4 MB, free: 7.797 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4859/0.8906, allocations: 91.64 MB / 484 MB, free: 71.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.067e-06/0.8907, allocations: 0 / 484 MB, free: 71.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001948/0.8909, allocations: 86.56 kB / 484.1 MB, free: 71.71 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: 1644 * Number of variables: 1644 Notification: Performance of Generate backend data structure: time 0.01821/0.9091, allocations: 4.614 MB / 488.7 MB, free: 69.87 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.357e-05/0.9092, allocations: 12.31 kB / 488.7 MB, free: 69.87 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01323/0.9224, allocations: 2.675 MB / 491.4 MB, free: 69.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0147/0.9372, allocations: 5.531 MB / 496.9 MB, free: 68.97 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003206/0.9376, allocations: 354.8 kB / 497.3 MB, free: 68.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001858/0.9394, allocations: 469.4 kB / 497.7 MB, free: 68.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02391/0.9633, allocations: 12.28 MB / 0.4981 GB, free: 65.83 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001545/0.9635, allocations: 67.12 kB / 0.4981 GB, free: 65.83 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006536/0.9642, allocations: 233.1 kB / 0.4983 GB, free: 65.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001655/0.9659, allocations: 1.173 MB / 0.4995 GB, free: 65.81 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02217/0.988, allocations: 9.917 MB / 0.5092 GB, free: 64.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05806/1.046, allocations: 52.32 MB / 0.5603 GB, free: 19.14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009795/1.056, allocations: 4.036 MB / 0.5642 GB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001876/1.058, allocations: 1.6 MB / 0.5658 GB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01035/1.068, allocations: 7.401 MB / 0.573 GB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.068e-05/1.068, allocations: 55.56 kB / 0.5731 GB, free: 7.344 MB / 346.7 MB Notification: Performance of pre-optimization done (n=165): time 5.911e-06/1.068, allocations: 0 / 0.5731 GB, free: 7.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=188): time 0.03903/1.107, allocations: 13.82 MB / 0.5865 GB, free: 9.375 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001845/1.109, allocations: 1.593 MB / 0.5881 GB, free: 7.613 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007054/1.116, allocations: 3.661 MB / 0.5917 GB, free: 3.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005408/1.117, allocations: 57.61 kB / 0.5917 GB, free: 3.871 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002822/1.12, allocations: 3.386 MB / 0.595 GB, free: 496 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2458/1.366, allocations: 0.7357 MB / 0.5958 GB, free: 80.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001423/1.367, allocations: 130.3 kB / 0.5959 GB, free: 80.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005197/1.368, allocations: 0.5825 MB / 0.5965 GB, free: 80.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0038/1.372, allocations: 2.095 MB / 0.5985 GB, free: 80.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005649/1.377, allocations: 6.147 MB / 0.6045 GB, free: 74.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006401/1.384, allocations: 3.544 MB / 0.608 GB, free: 74.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001484/1.384, allocations: 41.62 kB / 0.608 GB, free: 74.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.0149/1.399, allocations: 8.659 MB / 0.6165 GB, free: 74.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/1.399, allocations: 68.56 kB / 0.6165 GB, free: 74.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004649/1.404, allocations: 2.626 MB / 0.6191 GB, free: 74.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002554/1.406, allocations: 0.9923 MB / 0.6201 GB, free: 74.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00506/1.411, allocations: 1.588 MB / 0.6216 GB, free: 74.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003039/1.414, allocations: 4.01 MB / 0.6255 GB, free: 71.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005864/1.42, allocations: 0.5053 MB / 0.626 GB, free: 71.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000782/1.421, allocations: 404.3 kB / 0.6264 GB, free: 71.47 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 42 (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],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],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 (828): * Single equations (assignments): 819 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001054/1.422, allocations: 0.6068 MB / 0.627 GB, free: 71.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006799/1.423, allocations: 373 kB / 0.6274 GB, free: 71.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005765/1.428, allocations: 3.132 MB / 0.6304 GB, free: 71.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004352/1.433, allocations: 2.598 MB / 0.6329 GB, free: 70.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/1.433, allocations: 3.969 kB / 0.6329 GB, free: 70.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.901e-05/1.433, allocations: 7.641 kB / 0.633 GB, free: 70.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/1.45, allocations: 9.952 MB / 0.6427 GB, free: 67.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.88e-05/1.45, allocations: 17.98 kB / 0.6427 GB, free: 67.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001447/1.452, allocations: 347.1 kB / 0.643 GB, free: 67.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002611/1.454, allocations: 0.9768 MB / 0.644 GB, free: 67.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001703/1.455, allocations: 58.92 kB / 0.644 GB, free: 67.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004111/1.459, allocations: 4.59 MB / 0.6485 GB, free: 64.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007606/1.459, allocations: 1.475 MB / 0.65 GB, free: 62.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008501/1.468, allocations: 7.134 MB / 0.6569 GB, free: 58.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002318/1.47, allocations: 0.6565 MB / 0.6576 GB, free: 57.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004293/1.471, allocations: 49.88 kB / 0.6576 GB, free: 57.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/1.473, allocations: 177.4 kB / 0.6578 GB, free: 57.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003059/1.473, allocations: 163.8 kB / 0.6579 GB, free: 57.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/1.473, allocations: 72.78 kB / 0.658 GB, free: 57.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004186/1.477, allocations: 2.515 MB / 0.6605 GB, free: 56.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.477, allocations: 4 kB / 0.6605 GB, free: 56.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006526/1.484, allocations: 1.114 MB / 0.6616 GB, free: 56.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 157 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005371/1.484, allocations: 208.3 kB / 0.6618 GB, free: 56.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01173/1.496, allocations: 5.484 MB / 0.6671 GB, free: 53.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.261e-05/1.496, allocations: 4 kB / 0.6671 GB, free: 53.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004067/1.5, allocations: 2.104 MB / 0.6692 GB, free: 51.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003824/1.504, allocations: 445.8 kB / 0.6696 GB, free: 50.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01902/1.523, allocations: 8.705 MB / 0.6781 GB, free: 42.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003454/1.527, allocations: 3.492 MB / 0.6815 GB, free: 40.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.005216/1.532, allocations: 2.001 MB / 0.6835 GB, free: 38.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008706/1.533, allocations: 271.8 kB / 0.6837 GB, free: 38.7 MB / 362.7 MB Notification: Performance of SimCode: time 2.625e-06/1.533, allocations: 0 / 0.6837 GB, free: 38.7 MB / 362.7 MB Notification: Performance of Templates: time 0.07152/1.604, allocations: 35.48 MB / 0.7184 GB, free: 7.297 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1)