Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001439/0.001439, allocations: 169.3 kB / 12.72 MB, free: 2.59 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.454/1.454, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001485/0.001485, allocations: 103.5 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.955e-05/2.957e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06892/0.06897, allocations: 38.77 MB / 307.6 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.288/0.357, allocations: 79.42 MB / 387.1 MB, free: 12.99 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.3573, allocations: 85.2 kB / 387.1 MB, free: 12.95 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1493/0.5067, allocations: 56.46 MB / 443.6 MB, free: 9.965 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5067, allocations: 0 / 443.6 MB, free: 9.965 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.044e-05/0.5068, allocations: 48 kB / 443.6 MB, free: 9.918 MB / 330.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.01094/0.5177, allocations: 2.904 MB / 446.5 MB, free: 6.957 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.5178, allocations: 12.03 kB / 446.6 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009293/0.5271, allocations: 2.036 MB / 448.6 MB, free: 4.902 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009843/0.537, allocations: 3.584 MB / 452.2 MB, free: 1.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/0.5373, allocations: 188.8 kB / 452.4 MB, free: 1.082 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001518/0.5388, allocations: 247.8 kB / 452.6 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01344/0.5522, allocations: 6.825 MB / 459.4 MB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/0.5524, allocations: 39.69 kB / 459.5 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003743/0.5528, allocations: 119.9 kB / 459.6 MB, free: 9.113 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009979/0.5538, allocations: 0.7072 MB / 460.3 MB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01164/0.5654, allocations: 5.834 MB / 466.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2524/0.8179, allocations: 32.26 MB / 498.4 MB, free: 60.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006995/0.8249, allocations: 2.521 MB / 0.4892 GB, free: 60.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.8265, allocations: 0.9919 MB / 0.4901 GB, free: 60.24 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0058/0.8324, allocations: 3.549 MB / 0.4936 GB, free: 58.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.8325, allocations: 42.06 kB / 0.4936 GB, free: 58.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=105): time 5.03e-06/0.8325, allocations: 0 / 0.4936 GB, free: 58.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=118): time 0.02156/0.854, allocations: 8.685 MB / 0.5021 GB, free: 56.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001049/0.8551, allocations: 1.575 MB / 0.5037 GB, free: 55.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003296/0.8584, allocations: 2.395 MB / 0.506 GB, free: 54.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003711/0.8588, allocations: 43.3 kB / 0.506 GB, free: 54.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.8599, allocations: 2.06 MB / 0.5081 GB, free: 53.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00056/0.8605, allocations: 495.3 kB / 0.5085 GB, free: 53.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.8607, allocations: 87.78 kB / 0.5086 GB, free: 53.22 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.8609, allocations: 0.4906 MB / 0.5091 GB, free: 52.83 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002006/0.8629, allocations: 1.555 MB / 0.5106 GB, free: 52.33 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002979/0.8659, allocations: 4.291 MB / 0.5148 GB, free: 48.11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003264/0.8692, allocations: 2.569 MB / 0.5173 GB, free: 47.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.09e-05/0.8693, allocations: 30.03 kB / 0.5173 GB, free: 47.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=579) (initialization): time 0.01265/0.8819, allocations: 6.761 MB / 0.5239 GB, free: 45.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.345e-05/0.882, allocations: 47.47 kB / 0.524 GB, free: 45.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005149/0.8872, allocations: 2.402 MB / 0.5263 GB, free: 44.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004596/0.8918, allocations: 1.415 MB / 0.5277 GB, free: 44.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003557/0.8954, allocations: 1.019 MB / 0.5287 GB, free: 44.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007844/0.9033, allocations: 6.899 MB / 0.5354 GB, free: 40.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004269/0.9076, allocations: 370.4 kB / 0.5358 GB, free: 39.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/0.9087, allocations: 276.3 kB / 0.5361 GB, free: 39.73 MB / 346.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 (534): * Single equations (assignments): 526 * 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 {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.00149/0.9102, allocations: 441.3 kB / 0.5365 GB, free: 39.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006879/0.9109, allocations: 225.1 kB / 0.5367 GB, free: 39.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007034/0.9179, allocations: 2.791 MB / 0.5394 GB, free: 37 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005432/0.9234, allocations: 2.465 MB / 0.5418 GB, free: 35.19 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.057e-05/0.9235, allocations: 4 kB / 0.5418 GB, free: 35.19 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.269e-05/0.9235, allocations: 7.188 kB / 0.5418 GB, free: 35.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/0.9375, allocations: 6.707 MB / 0.5484 GB, free: 29.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/0.9375, allocations: 7.938 kB / 0.5484 GB, free: 29.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008491/0.9384, allocations: 167.4 kB / 0.5486 GB, free: 29.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004537/0.943, allocations: 1.426 MB / 0.5499 GB, free: 28.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000258/0.9432, allocations: 35.08 kB / 0.55 GB, free: 28.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008767/0.952, allocations: 7.435 MB / 0.5572 GB, free: 21.54 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008009/0.9529, allocations: 1.448 MB / 0.5587 GB, free: 19.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008287/0.9612, allocations: 4.794 MB / 0.5633 GB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000783/0.962, allocations: 301.9 kB / 0.5636 GB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000634/0.9627, allocations: 25.09 kB / 0.5636 GB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/0.9643, allocations: 127.8 kB / 0.5638 GB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002876/0.9646, allocations: 82.34 kB / 0.5638 GB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.9647, allocations: 35.42 kB / 0.5639 GB, free: 14.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002963/0.9677, allocations: 1.645 MB / 0.5655 GB, free: 12.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.9677, allocations: 112 / 0.5655 GB, free: 12.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004476/0.9722, allocations: 0.7607 MB / 0.5662 GB, free: 12.12 MB / 346.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.0005675/0.9728, allocations: 156.7 kB / 0.5664 GB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007676/0.9805, allocations: 4.048 MB / 0.5703 GB, free: 7.898 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.9805, allocations: 0 / 0.5703 GB, free: 7.898 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003084/0.9836, allocations: 1.683 MB / 0.572 GB, free: 6.168 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/0.9854, allocations: 237 kB / 0.5722 GB, free: 5.941 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.9956, allocations: 5.424 MB / 0.5775 GB, free: 0.5117 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003241/0.9989, allocations: 2.319 MB / 0.5798 GB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004115/1.003, allocations: 1.392 MB / 0.5811 GB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007683/1.004, allocations: 167.4 kB / 0.5813 GB, free: 12.61 MB / 362.7 MB Notification: Performance of SimCode: time 2.064e-06/1.004, allocations: 0 / 0.5813 GB, free: 12.61 MB / 362.7 MB Notification: Performance of Templates: time 0.2383/1.242, allocations: 25.64 MB / 0.6063 GB, free: 86.84 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1)