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.001015/0.001015, allocations: 164.4 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.14/1.14, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001579/0.001579, allocations: 107.5 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.571e-05/1.572e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06231/0.06234, allocations: 38.77 MB / 301 MB, free: 3.633 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2695/0.3319, allocations: 83.98 MB / 385 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.3322, allocations: 85.77 kB / 385.1 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.451/0.7832, allocations: 89.62 MB / 474.7 MB, free: 70.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.7832, allocations: 0 / 474.7 MB, free: 70.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003132/0.7836, allocations: 85.98 kB / 474.8 MB, free: 70.59 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.02008/0.8037, allocations: 4.62 MB / 479.4 MB, free: 69 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.8037, allocations: 8.562 kB / 479.4 MB, free: 69 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01389/0.8176, allocations: 2.669 MB / 482.1 MB, free: 68.69 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01583/0.8335, allocations: 5.535 MB / 487.6 MB, free: 68.1 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004258/0.834, allocations: 152.5 kB / 487.7 MB, free: 68.1 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002527/0.8365, allocations: 265.5 kB / 488 MB, free: 68.1 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01288/0.8495, allocations: 6.735 MB / 494.7 MB, free: 68.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02366/0.8732, allocations: 10.19 MB / 0.4931 GB, free: 65.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004166/0.8736, allocations: 65.48 kB / 0.4932 GB, free: 65.03 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002108/0.8758, allocations: 34.19 kB / 0.4932 GB, free: 65.03 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001979/0.8778, allocations: 1.17 MB / 0.4943 GB, free: 65.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05357/0.9314, allocations: 51.93 MB / 0.545 GB, free: 28.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003451/0.9349, allocations: 2.648 MB / 0.5476 GB, free: 26.78 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001928/0.9368, allocations: 1.454 MB / 0.549 GB, free: 26.19 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005504/0.9374, allocations: 0.5681 MB / 0.5496 GB, free: 25.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.9375, allocations: 55.38 kB / 0.5497 GB, free: 25.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=168): time 5.079e-06/0.9375, allocations: 0 / 0.5497 GB, free: 25.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=185): time 0.02896/0.9664, allocations: 12.19 MB / 0.5616 GB, free: 17.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.9665, allocations: 149.8 kB / 0.5617 GB, free: 16.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005453/0.972, allocations: 3.193 MB / 0.5648 GB, free: 14.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000264/0.9723, allocations: 25.7 kB / 0.5648 GB, free: 14.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001647/0.9739, allocations: 3.418 MB / 0.5682 GB, free: 10.94 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006755/0.9746, allocations: 0.7273 MB / 0.5689 GB, free: 10.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005167/0.9752, allocations: 0 / 0.5689 GB, free: 10.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004738/0.9756, allocations: 0.6022 MB / 0.5695 GB, free: 9.762 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002812/0.9785, allocations: 2.006 MB / 0.5714 GB, free: 7.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004404/0.9829, allocations: 6.173 MB / 0.5775 GB, free: 40 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005579/0.9885, allocations: 3.519 MB / 0.5809 GB, free: 13.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.649e-05/0.9886, allocations: 44 kB / 0.5809 GB, free: 13.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=887) (initialization): time 0.01465/1.003, allocations: 7.878 MB / 0.5886 GB, free: 6.414 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001708/1.003, allocations: 72 kB / 0.5887 GB, free: 6.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004649/1.008, allocations: 2.505 MB / 0.5912 GB, free: 4.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002968/1.011, allocations: 0.991 MB / 0.5921 GB, free: 3.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005668/1.017, allocations: 1.634 MB / 0.5937 GB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2307/1.247, allocations: 3.891 MB / 0.5975 GB, free: 72.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007999/1.256, allocations: 388.5 kB / 0.5979 GB, free: 72.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002049/1.258, allocations: 423.6 kB / 0.5983 GB, free: 72.28 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 685 * 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 (852): * Single equations (assignments): 843 * 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.002998/1.261, allocations: 489.3 kB / 0.5988 GB, free: 72.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001635/1.262, allocations: 341.2 kB / 0.5991 GB, free: 72.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008633/1.271, allocations: 2.923 MB / 0.6019 GB, free: 72.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005336/1.276, allocations: 2.452 MB / 0.6043 GB, free: 71.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.785e-05/1.276, allocations: 2.75 kB / 0.6043 GB, free: 71.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.464e-05/1.276, allocations: 8.094 kB / 0.6043 GB, free: 71.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01952/1.296, allocations: 9.077 MB / 0.6132 GB, free: 70.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.483e-05/1.296, allocations: 7.688 kB / 0.6132 GB, free: 70.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/1.298, allocations: 344.5 kB / 0.6135 GB, free: 70.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002763/1.3, allocations: 0.9608 MB / 0.6145 GB, free: 70.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002359/1.301, allocations: 31 kB / 0.6145 GB, free: 70.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00406/1.305, allocations: 4.469 MB / 0.6189 GB, free: 68.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007653/1.305, allocations: 1.408 MB / 0.6203 GB, free: 67.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008591/1.314, allocations: 6.627 MB / 0.6267 GB, free: 65.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001736/1.316, allocations: 0.614 MB / 0.6273 GB, free: 64.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001146/1.317, allocations: 22.56 kB / 0.6273 GB, free: 64.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002336/1.319, allocations: 148.2 kB / 0.6275 GB, free: 64.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/1.32, allocations: 147.2 kB / 0.6276 GB, free: 64.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/1.32, allocations: 68.17 kB / 0.6277 GB, free: 64.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.006082/1.326, allocations: 2.101 MB / 0.6297 GB, free: 64.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.974e-06/1.326, allocations: 0 / 0.6297 GB, free: 64.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.007665/1.334, allocations: 0.9775 MB / 0.6307 GB, free: 64.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 14 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 (161): * Single equations (assignments): 154 * 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.0007633/1.334, allocations: 181.1 kB / 0.6309 GB, free: 64.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009728/1.344, allocations: 5.218 MB / 0.636 GB, free: 64.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/1.344, allocations: 0 / 0.636 GB, free: 64.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003713/1.348, allocations: 2.042 MB / 0.638 GB, free: 63.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/1.351, allocations: 364.1 kB / 0.6383 GB, free: 63.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02094/1.372, allocations: 8.536 MB / 0.6466 GB, free: 61.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007131/1.379, allocations: 3.477 MB / 0.65 GB, free: 60.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.007306/1.386, allocations: 2.065 MB / 0.6521 GB, free: 60.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/1.388, allocations: 253.3 kB / 0.6523 GB, free: 60.18 MB / 362.7 MB Notification: Performance of SimCode: time 1.733e-06/1.388, allocations: 0 / 0.6523 GB, free: 60.18 MB / 362.7 MB Notification: Performance of Templates: time 0.06205/1.45, allocations: 31.23 MB / 0.6828 GB, free: 43.06 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)