Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.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.SpringMassSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00139/0.00139, allocations: 184 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.318/1.318, allocations: 194.3 MB / 203.1 MB, free: 13.03 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.001576/0.001576, allocations: 124 kB / 248.1 MB, free: 24 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.856e-05, allocations: 7.938 kB / 298.1 MB, free: 35.49 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06778/0.06782, allocations: 44.49 MB / 342.6 MB, free: 6.984 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2843/0.3522, allocations: 87.36 MB / 429.9 MB, free: 8.355 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.3524, allocations: 80.98 kB / 430 MB, free: 8.344 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2097/0.5622, allocations: 81.93 MB / 0.4999 GB, free: 5.336 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5622, allocations: 0 / 0.4999 GB, free: 5.336 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002094/0.5624, allocations: 76 kB / 0.5 GB, free: 5.262 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1450 * Number of variables: 1450 Notification: Performance of Generate backend data structure: time 0.01059/0.5731, allocations: 3.795 MB / 0.5037 GB, free: 1.406 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.5731, allocations: 12.03 kB / 0.5037 GB, free: 1.395 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/0.5848, allocations: 2.436 MB / 0.5061 GB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01289/0.5978, allocations: 5.031 MB / 0.511 GB, free: 9.852 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000261/0.5981, allocations: 128 kB / 0.5111 GB, free: 9.727 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001603/0.5997, allocations: 243.9 kB / 0.5114 GB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01064/0.6103, allocations: 5.736 MB / 0.517 GB, free: 3.742 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01641/0.6268, allocations: 8.88 MB / 0.5257 GB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002108/0.627, allocations: 71.39 kB / 0.5257 GB, free: 9.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001015/0.628, allocations: 35.95 kB / 0.5258 GB, free: 9.695 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001587/0.6296, allocations: 0.9863 MB / 0.5267 GB, free: 8.703 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2415/0.8712, allocations: 44.58 MB / 0.5703 GB, free: 56.01 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/0.8737, allocations: 1.833 MB / 0.572 GB, free: 55.35 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009866/0.8747, allocations: 0.7381 MB / 0.5728 GB, free: 55.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003826/0.8751, allocations: 457.1 kB / 0.5732 GB, free: 54.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.8752, allocations: 48.61 kB / 0.5732 GB, free: 54.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=130): time 3.066e-06/0.8752, allocations: 0 / 0.5732 GB, free: 54.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=142): time 0.01309/0.8883, allocations: 6.869 MB / 0.58 GB, free: 52.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.8884, allocations: 147.2 kB / 0.5801 GB, free: 52.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00446/0.8928, allocations: 2.976 MB / 0.583 GB, free: 51.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002274/0.8931, allocations: 28.88 kB / 0.583 GB, free: 51.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001577/0.8947, allocations: 3.134 MB / 0.5861 GB, free: 50.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005255/0.8952, allocations: 0.5604 MB / 0.5866 GB, free: 49.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.8954, allocations: 0 / 0.5866 GB, free: 49.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002888/0.8957, allocations: 0.5543 MB / 0.5872 GB, free: 49.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/0.8973, allocations: 1.394 MB / 0.5885 GB, free: 49.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003028/0.9004, allocations: 5.227 MB / 0.5936 GB, free: 44.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003078/0.9035, allocations: 2.707 MB / 0.5963 GB, free: 44.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.944e-05/0.9035, allocations: 39.06 kB / 0.5963 GB, free: 44.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=774) (initialization): time 0.009507/0.913, allocations: 5.708 MB / 0.6019 GB, free: 43.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.072e-05/0.9132, allocations: 62.66 kB / 0.602 GB, free: 43.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001716/0.9134, allocations: 142.5 kB / 0.6021 GB, free: 43.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/0.9135, allocations: 201.2 kB / 0.6023 GB, free: 43.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003829/0.9174, allocations: 1.435 MB / 0.6037 GB, free: 43.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001557/0.9175, allocations: 270.7 kB / 0.6039 GB, free: 43.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00374/0.9213, allocations: 265.5 kB / 0.6042 GB, free: 43.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004103/0.9217, allocations: 367.1 kB / 0.6046 GB, free: 43.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 633 * Number of states: 0 () * Number of discrete variables: 33 (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],p1.boxColor[3],p1.boxColor[2],p1.boxColor[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 (750): * Single equations (assignments): 747 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005396/0.9223, allocations: 453.2 kB / 0.605 GB, free: 43.17 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003314/0.9226, allocations: 307.2 kB / 0.6053 GB, free: 43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/0.9241, allocations: 1.006 MB / 0.6063 GB, free: 42.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/0.9242, allocations: 21.09 kB / 0.6063 GB, free: 42.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.9242, allocations: 0.75 kB / 0.6063 GB, free: 42.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.9242, allocations: 10.78 kB / 0.6063 GB, free: 42.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006316/0.9305, allocations: 4.715 MB / 0.6109 GB, free: 40.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/0.9306, allocations: 14.78 kB / 0.6109 GB, free: 40.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000986/0.9315, allocations: 264.1 kB / 0.6112 GB, free: 40.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.048e-05/0.9316, allocations: 25.91 kB / 0.6112 GB, free: 40.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.428e-05/0.9317, allocations: 26.09 kB / 0.6112 GB, free: 40.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.676e-05/0.9317, allocations: 34.03 kB / 0.6112 GB, free: 40.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/0.9317, allocations: 26.53 kB / 0.6113 GB, free: 40.69 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00273/0.9344, allocations: 4.608 MB / 0.6158 GB, free: 36.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000738/0.9352, allocations: 492.2 kB / 0.6162 GB, free: 36.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002798/0.9355, allocations: 29.62 kB / 0.6163 GB, free: 36.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.9366, allocations: 65.77 kB / 0.6163 GB, free: 36.53 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.9367, allocations: 139.5 kB / 0.6165 GB, free: 36.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.678e-05/0.9368, allocations: 57.41 kB / 0.6165 GB, free: 36.47 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002302/0.9391, allocations: 1.966 MB / 0.6184 GB, free: 35.76 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.9391, allocations: 0 / 0.6184 GB, free: 35.76 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004528/0.9437, allocations: 0.7297 MB / 0.6191 GB, free: 35.76 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * Number of states: 4 (p1.s,p1.v,p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 132 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003761/0.9441, allocations: 168.3 kB / 0.6193 GB, free: 35.63 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004143/0.9482, allocations: 3.236 MB / 0.6225 GB, free: 34.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.9482, allocations: 2.969 kB / 0.6225 GB, free: 34.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000654/0.9489, allocations: 0.6526 MB / 0.6231 GB, free: 34.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.9505, allocations: 343 kB / 0.6234 GB, free: 34.19 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.9613, allocations: 6.742 MB / 0.63 GB, free: 31.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002648/0.964, allocations: 3.148 MB / 0.6331 GB, free: 29.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003965/0.968, allocations: 1.816 MB / 0.6349 GB, free: 28.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004075/0.9684, allocations: 222.5 kB / 0.6351 GB, free: 27.96 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.9684, allocations: 0 / 0.6351 GB, free: 27.96 MB / 394.7 MB Notification: Performance of Templates: time 0.04085/1.009, allocations: 21.74 MB / 0.6563 GB, free: 15.02 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.pipe 2>&1)