Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6726/0.6726, allocations: 110.8 MB / 118.3 MB, free: 10.53 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001597/0.001597, allocations: 147.4 kB / 144 MB, free: 9.812 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.651e-05/1.653e-05, allocations: 4 kB / 173.9 MB, free: 11.88 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04645/0.04648, allocations: 25.18 MB / 199 MB, free: 2.641 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1431/0.1896, allocations: 44.45 MB / 243.5 MB, free: 11.48 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.1899, allocations: 71.97 kB / 243.6 MB, free: 11.41 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4563/0.6462, allocations: 122.3 MB / 365.9 MB, free: 3.504 MB / 218.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.6463, allocations: 0 / 365.9 MB, free: 3.504 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0001494/0.6464, allocations: 68 kB / 365.9 MB, free: 3.438 MB / 218.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1374 * Number of variables: 1374 Notification: Performance of Generate backend data structure: time 0.02191/0.6684, allocations: 5.715 MB / 371.7 MB, free: 13.66 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.6684, allocations: 8.031 kB / 371.7 MB, free: 13.66 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1995/0.8679, allocations: 18.58 MB / 390.2 MB, free: 39.75 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01258/0.8805, allocations: 5.104 MB / 395.3 MB, free: 39.5 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002304/0.8808, allocations: 125.9 kB / 395.5 MB, free: 39.5 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002518/0.8833, allocations: 212.2 kB / 395.7 MB, free: 39.5 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01788/0.9012, allocations: 11.7 MB / 407.4 MB, free: 39.48 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02297/0.9242, allocations: 12.75 MB / 420.1 MB, free: 36.09 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00015/0.9244, allocations: 29.22 kB / 420.2 MB, free: 36.08 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001483/0.9259, allocations: 18.88 kB / 420.2 MB, free: 36.08 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.03128/0.9572, allocations: 7.419 MB / 427.6 MB, free: 35.82 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4607/1.418, allocations: 93.72 MB / 0.5091 GB, free: 39.39 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004552/1.423, allocations: 3.803 MB / 0.5128 GB, free: 38.58 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002641/1.425, allocations: 2.292 MB / 0.515 GB, free: 38.5 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008028/1.426, allocations: 0.6795 MB / 0.5157 GB, free: 37.94 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/1.426, allocations: 61.66 kB / 0.5158 GB, free: 37.9 MB / 250.7 MB Notification: Performance of pre-optimization done (n=213): time 6.702e-06/1.426, allocations: 0 / 0.5158 GB, free: 37.9 MB / 250.7 MB Notification: Performance of matching and sorting (n=226): time 0.0279/1.454, allocations: 15.17 MB / 0.5306 GB, free: 33.01 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.79e-05/1.454, allocations: 307.1 kB / 0.5309 GB, free: 32.66 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004834/1.459, allocations: 2.699 MB / 0.5335 GB, free: 32.37 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006442/1.46, allocations: 25.7 kB / 0.5335 GB, free: 32.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001482/1.461, allocations: 2.692 MB / 0.5362 GB, free: 30.84 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00111/1.462, allocations: 0.8289 MB / 0.537 GB, free: 30.35 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008165/1.463, allocations: 0 / 0.537 GB, free: 30.35 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000373/1.463, allocations: 0.6185 MB / 0.5376 GB, free: 30.02 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003449/1.467, allocations: 3.064 MB / 0.5406 GB, free: 28.24 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004066/1.471, allocations: 6.613 MB / 0.547 GB, free: 20.43 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003737/1.475, allocations: 3.758 MB / 0.5507 GB, free: 17.38 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.264e-05/1.475, allocations: 36 kB / 0.5507 GB, free: 17.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=816) (initialization): time 0.01345/1.488, allocations: 9.566 MB / 0.5601 GB, free: 8.672 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.95e-05/1.488, allocations: 64.25 kB / 0.5601 GB, free: 8.609 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00552/1.494, allocations: 3.27 MB / 0.5633 GB, free: 5.336 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004032/1.498, allocations: 1.431 MB / 0.5647 GB, free: 3.898 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004655/1.503, allocations: 1.478 MB / 0.5662 GB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1231/1.626, allocations: 6.632 MB / 0.5726 GB, free: 39.88 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0112/1.637, allocations: 1.73 MB / 0.5743 GB, free: 39.88 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001589/1.639, allocations: 0.5621 MB / 0.5749 GB, free: 39.88 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 577 * 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 (749): * Single equations (assignments): 730 * Array equations: 16 * 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 {1} * 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.001112/1.64, allocations: 410.5 kB / 0.5753 GB, free: 39.77 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008487/1.641, allocations: 275.8 kB / 0.5755 GB, free: 39.77 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007168/1.648, allocations: 3.559 MB / 0.579 GB, free: 39.68 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01898/1.667, allocations: 5.907 MB / 0.5848 GB, free: 39.58 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.841e-05/1.667, allocations: 7.438 kB / 0.5848 GB, free: 39.58 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.613e-05/1.667, allocations: 14.17 kB / 0.5848 GB, free: 39.58 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05621/1.723, allocations: 19.61 MB / 0.604 GB, free: 38.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/1.723, allocations: 7.438 kB / 0.604 GB, free: 38.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/1.725, allocations: 345.4 kB / 0.6043 GB, free: 38.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004236/1.729, allocations: 1.378 MB / 0.6056 GB, free: 38.39 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005805/1.729, allocations: 104.3 kB / 0.6057 GB, free: 38.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00764/1.737, allocations: 6.99 MB / 0.6126 GB, free: 35.52 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007146/1.738, allocations: 1.401 MB / 0.6139 GB, free: 34.18 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01252/1.75, allocations: 9.643 MB / 0.6233 GB, free: 30.28 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009774/1.751, allocations: 415.2 kB / 0.6237 GB, free: 30.01 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005537/1.752, allocations: 15.72 kB / 0.6238 GB, free: 30 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00862/1.761, allocations: 1.483 MB / 0.6252 GB, free: 30 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006392/1.761, allocations: 142.4 kB / 0.6253 GB, free: 29.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005852/1.762, allocations: 246.2 kB / 0.6256 GB, free: 29.96 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.003008/1.765, allocations: 1.781 MB / 0.6273 GB, free: 29.28 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.765, allocations: 0 / 0.6273 GB, free: 29.28 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.006922/1.772, allocations: 0.9912 MB / 0.6283 GB, free: 29.28 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 (165): * Single equations (assignments): 149 * Array equations: 13 * 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.0007328/1.773, allocations: 166.1 kB / 0.6284 GB, free: 29.19 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0101/1.783, allocations: 7.208 MB / 0.6355 GB, free: 24.09 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.783, allocations: 3.938 kB / 0.6355 GB, free: 24.09 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004569/1.787, allocations: 3.063 MB / 0.6385 GB, free: 21.45 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/1.789, allocations: 227.8 kB / 0.6387 GB, free: 21.26 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/1.803, allocations: 8.476 MB / 0.647 GB, free: 13.51 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002823/1.806, allocations: 3.059 MB / 0.65 GB, free: 10.44 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.007473/1.814, allocations: 2.504 MB / 0.6524 GB, free: 7.938 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002382/1.816, allocations: 0.5496 MB / 0.6529 GB, free: 7.387 MB / 250.7 MB Notification: Performance of SimCode: time 2.435e-06/1.816, allocations: 0 / 0.6529 GB, free: 7.387 MB / 250.7 MB Notification: Performance of Templates: time 0.2004/2.016, allocations: 54.28 MB / 0.706 GB, free: 33.42 MB / 250.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1)