Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001483/0.001483, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.481/1.481, allocations: 194.3 MB / 208.4 MB, free: 6.719 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001648/0.001648, allocations: 128.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.849e-05/2.85e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07299/0.07303, allocations: 44.5 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3149/0.388, allocations: 85.04 MB / 434.5 MB, free: 8.332 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.3883, allocations: 92.75 kB / 434.6 MB, free: 8.312 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1417/0.53, allocations: 56.64 MB / 491.2 MB, free: 8.637 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5301, allocations: 0 / 491.2 MB, free: 8.637 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.641e-05/0.5302, allocations: 48 kB / 491.3 MB, free: 8.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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.009853/0.54, allocations: 2.908 MB / 494.2 MB, free: 5.625 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.5401, allocations: 8.031 kB / 494.2 MB, free: 5.617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009265/0.5494, allocations: 2.056 MB / 496.2 MB, free: 3.555 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009343/0.5588, allocations: 3.583 MB / 499.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.559, allocations: 188.8 kB / 500 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009423/0.5599, allocations: 247.8 kB / 0.4885 GB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01205/0.572, allocations: 6.822 MB / 0.4952 GB, free: 7.922 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/0.5722, allocations: 39.62 kB / 0.4952 GB, free: 7.883 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004065/0.5726, allocations: 123.9 kB / 0.4953 GB, free: 7.762 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001195/0.5738, allocations: 0.7072 MB / 0.496 GB, free: 7.051 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01263/0.5864, allocations: 5.838 MB / 0.5017 GB, free: 1.203 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03297/0.6194, allocations: 32.27 MB / 0.5332 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006341/0.6258, allocations: 2.518 MB / 0.5357 GB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.6271, allocations: 0.9852 MB / 0.5367 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00534/0.6325, allocations: 3.552 MB / 0.5401 GB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.6326, allocations: 46.98 kB / 0.5402 GB, free: 8.383 MB / 410.7 MB Notification: Performance of pre-optimization done (n=105): time 5.11e-06/0.6326, allocations: 0 / 0.5402 GB, free: 8.383 MB / 410.7 MB Notification: Performance of matching and sorting (n=118): time 0.2177/0.8503, allocations: 8.686 MB / 0.5487 GB, free: 115.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001002/0.8513, allocations: 1.584 MB / 0.5502 GB, free: 114.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003571/0.8549, allocations: 2.405 MB / 0.5526 GB, free: 114 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002732/0.8552, allocations: 39.45 kB / 0.5526 GB, free: 114 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009802/0.8562, allocations: 2.046 MB / 0.5546 GB, free: 113.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004751/0.8567, allocations: 495.5 kB / 0.5551 GB, free: 113 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.8568, allocations: 84.62 kB / 0.5551 GB, free: 113 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.8571, allocations: 0.4888 MB / 0.5556 GB, free: 112.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/0.8592, allocations: 1.555 MB / 0.5571 GB, free: 112.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002832/0.862, allocations: 4.299 MB / 0.5613 GB, free: 109.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003255/0.8653, allocations: 2.574 MB / 0.5639 GB, free: 109.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.163e-05/0.8653, allocations: 28.66 kB / 0.5639 GB, free: 109.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=579) (initialization): time 0.01256/0.8779, allocations: 6.865 MB / 0.5706 GB, free: 108.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.63e-05/0.878, allocations: 52.91 kB / 0.5706 GB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005102/0.8831, allocations: 2.484 MB / 0.5731 GB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004868/0.888, allocations: 1.495 MB / 0.5745 GB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003031/0.8911, allocations: 0.997 MB / 0.5755 GB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008349/0.8994, allocations: 7.285 MB / 0.5826 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004087/0.9035, allocations: 368.1 kB / 0.583 GB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006763/0.9042, allocations: 273.9 kB / 0.5832 GB, free: 104.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 447 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (531): * Single equations (assignments): 523 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007546/0.905, allocations: 457.5 kB / 0.5837 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004399/0.9055, allocations: 228.4 kB / 0.5839 GB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005833/0.9113, allocations: 2.777 MB / 0.5866 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004956/0.9163, allocations: 2.462 MB / 0.589 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/0.9163, allocations: 6.875 kB / 0.589 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/0.9164, allocations: 8.891 kB / 0.589 GB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/0.9278, allocations: 6.704 MB / 0.5956 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.9279, allocations: 0 / 0.5956 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007611/0.9286, allocations: 162.5 kB / 0.5957 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004205/0.9328, allocations: 1.43 MB / 0.5971 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001684/0.933, allocations: 38.05 kB / 0.5971 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007989/0.941, allocations: 7.436 MB / 0.6044 GB, free: 96.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006719/0.9417, allocations: 1.451 MB / 0.6058 GB, free: 94.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007413/0.9492, allocations: 4.799 MB / 0.6105 GB, free: 93.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008158/0.95, allocations: 302.3 kB / 0.6108 GB, free: 92.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/0.9503, allocations: 23.11 kB / 0.6108 GB, free: 92.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.9514, allocations: 124.8 kB / 0.6109 GB, free: 92.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002937/0.9517, allocations: 76.55 kB / 0.611 GB, free: 92.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.9518, allocations: 36.59 kB / 0.611 GB, free: 92.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002271/0.9541, allocations: 1.651 MB / 0.6127 GB, free: 91.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.9541, allocations: 0 / 0.6127 GB, free: 91.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003448/0.9576, allocations: 0.759 MB / 0.6134 GB, free: 90.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 71 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004095/0.958, allocations: 162.1 kB / 0.6135 GB, free: 90.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006023/0.964, allocations: 4.192 MB / 0.6176 GB, free: 86.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.9641, allocations: 0 / 0.6176 GB, free: 86.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002682/0.9667, allocations: 1.671 MB / 0.6193 GB, free: 85.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.9682, allocations: 235.6 kB / 0.6195 GB, free: 85.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008011/0.9762, allocations: 5.419 MB / 0.6248 GB, free: 80.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001732/0.978, allocations: 2.322 MB / 0.6271 GB, free: 78.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002924/0.9809, allocations: 1.392 MB / 0.6284 GB, free: 77.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003949/0.9813, allocations: 167 kB / 0.6286 GB, free: 77.42 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.9813, allocations: 0 / 0.6286 GB, free: 77.42 MB / 410.7 MB Notification: Performance of Templates: time 0.03906/1.02, allocations: 26.28 MB / 0.6542 GB, free: 52.69 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1)