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.008701/0.008701, allocations: 165.9 kB / 15.11 MB, free: 5.973 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.369/1.369, allocations: 170.8 MB / 186.6 MB, free: 1.145 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.001841/0.001841, allocations: 109.3 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004019, allocations: 8 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2725, allocations: 38.77 MB / 312.9 MB, free: 38.74 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.121/0.3936, allocations: 84.74 MB / 397.6 MB, free: 5.773 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.3939, allocations: 95.94 kB / 397.7 MB, free: 5.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4192/0.8131, allocations: 91.57 MB / 489.3 MB, free: 34.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.8132, allocations: 0 / 489.3 MB, free: 34.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001732/0.8133, allocations: 91.98 kB / 489.4 MB, free: 34.32 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: 1644 * Number of variables: 1644 Notification: Performance of Generate backend data structure: time 0.01841/0.8318, allocations: 4.861 MB / 494.3 MB, free: 29.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.605e-05/0.8319, allocations: 16.02 kB / 494.3 MB, free: 29.37 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/0.8438, allocations: 2.674 MB / 496.9 MB, free: 26.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01383/0.8577, allocations: 5.548 MB / 0.4907 GB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003174/0.8581, allocations: 353.2 kB / 0.491 GB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002719/0.8608, allocations: 471.8 kB / 0.4915 GB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02813/0.8889, allocations: 12.42 MB / 0.5036 GB, free: 6.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002488/0.8892, allocations: 59.41 kB / 0.5037 GB, free: 6.621 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001252/0.8905, allocations: 227.9 kB / 0.5039 GB, free: 6.398 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001603/0.8921, allocations: 1.178 MB / 0.5051 GB, free: 5.219 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02437/0.9165, allocations: 10.18 MB / 0.515 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2875/1.204, allocations: 52.32 MB / 0.5661 GB, free: 36.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009639/1.214, allocations: 4.084 MB / 0.5701 GB, free: 35.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01048/1.224, allocations: 7.393 MB / 0.5773 GB, free: 33.47 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/1.224, allocations: 53.38 kB / 0.5773 GB, free: 33.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=165): time 4.448e-06/1.224, allocations: 0 / 0.5773 GB, free: 33.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=188): time 0.04235/1.267, allocations: 16.29 MB / 0.5933 GB, free: 29.78 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00122/1.268, allocations: 1.613 MB / 0.5948 GB, free: 28.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007275/1.275, allocations: 3.763 MB / 0.5985 GB, free: 27.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005333/1.276, allocations: 53.91 kB / 0.5986 GB, free: 27.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002199/1.278, allocations: 3.377 MB / 0.6019 GB, free: 25.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009896/1.279, allocations: 0.7437 MB / 0.6026 GB, free: 25.15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/1.279, allocations: 131.8 kB / 0.6027 GB, free: 25.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003217/1.28, allocations: 0.5856 MB / 0.6033 GB, free: 24.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003479/1.283, allocations: 2.221 MB / 0.6055 GB, free: 23.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005486/1.289, allocations: 6.272 MB / 0.6116 GB, free: 17.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005501/1.294, allocations: 3.618 MB / 0.6151 GB, free: 16.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001085/1.294, allocations: 46.28 kB / 0.6152 GB, free: 16.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.01991/1.314, allocations: 8.917 MB / 0.6239 GB, free: 13.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002327/1.315, allocations: 70.62 kB / 0.6239 GB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005686/1.32, allocations: 2.673 MB / 0.6265 GB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002911/1.323, allocations: 1.006 MB / 0.6275 GB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005883/1.329, allocations: 1.59 MB / 0.6291 GB, free: 9.434 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00396/1.333, allocations: 4.045 MB / 0.633 GB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008836/1.342, allocations: 0.4937 MB / 0.6335 GB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001886/1.344, allocations: 411.3 kB / 0.6339 GB, free: 4.707 MB / 346.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 () * Number of clocked 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.006903/1.351, allocations: 2.177 MB / 0.636 GB, free: 2.785 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001385/1.352, allocations: 367.2 kB / 0.6364 GB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008009/1.36, allocations: 3.245 MB / 0.6395 GB, free: 0 / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006073/1.366, allocations: 2.691 MB / 0.6422 GB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.36e-05/1.367, allocations: 4 kB / 0.6422 GB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.333e-05/1.367, allocations: 14.03 kB / 0.6422 GB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02804/1.395, allocations: 9.996 MB / 0.652 GB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-05/1.395, allocations: 15.95 kB / 0.652 GB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001765/1.397, allocations: 344.2 kB / 0.6523 GB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003085/1.4, allocations: 0.9818 MB / 0.6533 GB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004388/1.4, allocations: 60.73 kB / 0.6533 GB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006015/1.406, allocations: 4.677 MB / 0.6579 GB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001548/1.408, allocations: 1.478 MB / 0.6593 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/1.421, allocations: 7.214 MB / 0.6664 GB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002515/1.424, allocations: 0.6562 MB / 0.667 GB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001281/1.425, allocations: 47.98 kB / 0.6671 GB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00268/1.428, allocations: 175.8 kB / 0.6672 GB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004404/1.428, allocations: 156.5 kB / 0.6674 GB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000228/1.428, allocations: 71.98 kB / 0.6674 GB, free: 5.316 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006769/1.435, allocations: 2.617 MB / 0.67 GB, free: 2.691 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.21e-07/1.435, allocations: 4 kB / 0.67 GB, free: 2.688 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008655/1.444, allocations: 1.107 MB / 0.6711 GB, free: 1.586 MB / 378.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 () * Number of clocked 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.001078/1.445, allocations: 219 kB / 0.6713 GB, free: 1.379 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01304/1.458, allocations: 5.652 MB / 0.6768 GB, free: 11.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.98e-05/1.458, allocations: 4 kB / 0.6768 GB, free: 11.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004892/1.463, allocations: 2.137 MB / 0.6789 GB, free: 9.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00533/1.468, allocations: 443.2 kB / 0.6793 GB, free: 9.074 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2508/1.719, allocations: 12.24 MB / 0.6913 GB, free: 107.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004554/1.724, allocations: 3.495 MB / 0.6947 GB, free: 106.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004993/1.729, allocations: 1.995 MB / 0.6966 GB, free: 106.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007008/1.729, allocations: 262.7 kB / 0.6969 GB, free: 106.3 MB / 394.7 MB Notification: Performance of SimCode: time 2.405e-06/1.729, allocations: 0 / 0.6969 GB, free: 106.3 MB / 394.7 MB Notification: Performance of Templates: time 0.07672/1.806, allocations: 35.48 MB / 0.7315 GB, free: 103.4 MB / 394.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)