Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001515/0.001515, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000925/0.0009251, allocations: 98.62 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.03e-05/3.033e-05, allocations: 0 / 343.7 MB, free: 8.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1551, allocations: 51.48 MB / 395.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.455/0.6102, allocations: 79.25 MB / 474.4 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.6106, allocations: 69.31 kB / 474.5 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02174/0.6324, allocations: 5.801 MB / 480.3 MB, free: 9.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6324, allocations: 0 / 480.3 MB, free: 9.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.65e-05/0.6325, allocations: 5.406 kB / 480.3 MB, free: 9.121 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009445/0.6334, allocations: 498.4 kB / 480.8 MB, free: 8.609 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.6335, allocations: 12.03 kB / 480.8 MB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.6336, allocations: 23.72 kB / 480.8 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.634, allocations: 241.2 kB / 481 MB, free: 8.309 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.6341, allocations: 8.859 kB / 481 MB, free: 8.301 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.809e-05/0.6342, allocations: 23.5 kB / 481.1 MB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003708/0.6345, allocations: 123.8 kB / 481.2 MB, free: 8.199 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004052/0.635, allocations: 208.1 kB / 481.4 MB, free: 8.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.635, allocations: 3.906 kB / 481.4 MB, free: 8.016 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.635, allocations: 0 / 481.4 MB, free: 8.016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.6351, allocations: 8 kB / 481.4 MB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.6365, allocations: 0.9611 MB / 482.4 MB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003884/0.6369, allocations: 246 kB / 482.6 MB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.6371, allocations: 76.5 kB / 482.7 MB, free: 6.812 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.6371, allocations: 6.594 kB / 482.7 MB, free: 6.809 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.6372, allocations: 45.36 kB / 482.7 MB, free: 6.758 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 2.194e-06/0.6372, allocations: 4 kB / 482.7 MB, free: 6.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.001703/0.6389, allocations: 1.171 MB / 483.9 MB, free: 5.484 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.639, allocations: 136.5 kB / 484 MB, free: 5.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.6392, allocations: 163.8 kB / 484.2 MB, free: 5.176 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.6392, allocations: 29.64 kB / 484.2 MB, free: 5.141 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.6393, allocations: 161.2 kB / 484.4 MB, free: 5.004 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.431e-05/0.6394, allocations: 108.4 kB / 484.5 MB, free: 4.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/0.6394, allocations: 0 / 484.5 MB, free: 4.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.271e-05/0.6395, allocations: 337.5 kB / 484.8 MB, free: 4.582 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.6397, allocations: 62.19 kB / 484.9 MB, free: 4.547 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.6399, allocations: 176.6 kB / 485.1 MB, free: 4.355 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.6401, allocations: 96.69 kB / 485.2 MB, free: 4.289 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.6402, allocations: 0 / 485.2 MB, free: 4.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005805/0.6407, allocations: 288.7 kB / 485.4 MB, free: 4.055 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.6408, allocations: 8 kB / 485.4 MB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.6408, allocations: 9.094 kB / 485.4 MB, free: 4.043 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.6408, allocations: 4 kB / 485.5 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000507/0.6413, allocations: 95.83 kB / 485.5 MB, free: 3.945 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/0.6414, allocations: 7.984 kB / 485.6 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.6416, allocations: 11.31 kB / 485.6 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/0.6417, allocations: 12 kB / 485.6 MB, free: 3.918 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * 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.0001065/0.6418, allocations: 122.2 kB / 485.7 MB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.642, allocations: 27.67 kB / 485.7 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.318e-05/0.6421, allocations: 28.45 kB / 485.8 MB, free: 3.758 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.6421, allocations: 7.938 kB / 485.8 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.6421, allocations: 4 kB / 485.8 MB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.6421, allocations: 3.984 kB / 485.8 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.6435, allocations: 0.8862 MB / 486.7 MB, free: 2.891 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.6435, allocations: 8.062 kB / 486.7 MB, free: 2.883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000364/0.6439, allocations: 83.52 kB / 486.7 MB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/0.6439, allocations: 4 kB / 486.7 MB, free: 2.801 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.6439, allocations: 4 kB / 486.8 MB, free: 2.797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.6439, allocations: 7.938 kB / 486.8 MB, free: 2.789 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.6439, allocations: 4 kB / 486.8 MB, free: 2.785 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005126/0.6445, allocations: 0.7883 MB / 487.6 MB, free: 1.969 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.6445, allocations: 100.8 kB / 487.6 MB, free: 1.852 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.6446, allocations: 4 kB / 487.7 MB, free: 1.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.6448, allocations: 8 kB / 487.7 MB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.6449, allocations: 31.36 kB / 487.7 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.6449, allocations: 15.42 kB / 487.7 MB, free: 1.801 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.689e-05/0.645, allocations: 138.4 kB / 487.8 MB, free: 1.684 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.645, allocations: 0 / 487.8 MB, free: 1.684 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004491/0.6455, allocations: 56 kB / 487.9 MB, free: 1.629 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * 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.0001367/0.6456, allocations: 113.5 kB / 488 MB, free: 1.512 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002962/0.6459, allocations: 191 kB / 488.2 MB, free: 1.375 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.646, allocations: 0.5 kB / 488.2 MB, free: 1.375 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.6461, allocations: 110.3 kB / 488.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.6466, allocations: 50.91 kB / 488.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.6478, allocations: 0.853 MB / 489.2 MB, free: 404 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.6481, allocations: 0.7684 MB / 490 MB, free: 15.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.6483, allocations: 39.27 kB / 490 MB, free: 15.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.908e-05/0.6484, allocations: 26.94 kB / 490 MB, free: 15.54 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.6484, allocations: 0 / 490 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Templates: time 0.006328/0.6547, allocations: 2.493 MB / 492.5 MB, free: 13.12 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1)