Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001042/0.001042, allocations: 198.8 kB / 18.07 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 226.5 MB / 245.4 MB, free: 8.246 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 105.9 kB / 297.4 MB, free: 6.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.00031, allocations: 8 kB / 357.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3621, allocations: 51.29 MB / 408.7 MB, free: 27.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.5288, allocations: 79.92 MB / 488.6 MB, free: 11.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.5291, allocations: 67.97 kB / 488.6 MB, free: 11.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02514/0.5543, allocations: 5.842 MB / 494.5 MB, free: 5.797 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.5543, allocations: 0 / 494.5 MB, free: 5.797 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.992e-05/0.5544, allocations: 12 kB / 494.5 MB, free: 5.785 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001263/0.5556, allocations: 0.5068 MB / 495 MB, free: 5.227 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.5557, allocations: 8.031 kB / 495 MB, free: 5.219 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.5559, allocations: 32.56 kB / 495 MB, free: 5.188 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/0.5564, allocations: 253.5 kB / 495.3 MB, free: 4.898 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.192e-05/0.5564, allocations: 16.81 kB / 495.3 MB, free: 4.883 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.779e-05/0.5565, allocations: 20.38 kB / 495.3 MB, free: 4.863 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007172/0.5573, allocations: 235.2 kB / 495.6 MB, free: 4.613 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/0.5573, allocations: 8.094 kB / 495.6 MB, free: 4.605 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/0.5574, allocations: 15.88 kB / 495.6 MB, free: 4.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.5574, allocations: 12 kB / 495.6 MB, free: 4.578 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006641/0.5581, allocations: 163.8 kB / 495.8 MB, free: 4.418 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.5601, allocations: 1.024 MB / 496.8 MB, free: 3.309 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009223/0.561, allocations: 302.3 kB / 497.1 MB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/0.5614, allocations: 95.41 kB / 497.2 MB, free: 2.871 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.872e-05/0.5614, allocations: 4 kB / 497.2 MB, free: 2.867 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.591e-05/0.5615, allocations: 42.55 kB / 497.2 MB, free: 2.816 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 5.12e-06/0.5615, allocations: 0 / 497.2 MB, free: 2.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.003077/0.5646, allocations: 1.34 MB / 498.5 MB, free: 1.285 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.597e-05/0.5647, allocations: 132.5 kB / 498.7 MB, free: 1.125 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.5651, allocations: 202.9 kB / 498.9 MB, free: 0.918 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.879e-05/0.5651, allocations: 29.7 kB / 498.9 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.5652, allocations: 156.4 kB / 499.1 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.5654, allocations: 118.3 kB / 499.2 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.5654, allocations: 12 kB / 499.2 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.5656, allocations: 338.8 kB / 499.5 MB, free: 264 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.5659, allocations: 80.83 kB / 499.6 MB, free: 184 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004507/0.5664, allocations: 202 kB / 499.8 MB, free: 15.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007957/0.5672, allocations: 301.6 kB / 0.4884 GB, free: 15.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.5672, allocations: 4 kB / 0.4884 GB, free: 15.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.005237/0.5725, allocations: 345.2 kB / 0.4887 GB, free: 15.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/0.5726, allocations: 8 kB / 0.4887 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.5726, allocations: 4 kB / 0.4887 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-05/0.5726, allocations: 8 kB / 0.4887 GB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007065/0.5734, allocations: 91.89 kB / 0.4888 GB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.46e-05/0.5734, allocations: 11.94 kB / 0.4888 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/0.5738, allocations: 15.98 kB / 0.4888 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.5738, allocations: 16 kB / 0.4888 GB, free: 15.09 MB / 378.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 () * Number of clocked 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.0002282/0.5741, allocations: 149.7 kB / 0.489 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.5743, allocations: 23.91 kB / 0.489 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.5744, allocations: 41.38 kB / 0.4891 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.5744, allocations: 4 kB / 0.4891 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.5744, allocations: 0 / 0.4891 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.5744, allocations: 3.984 kB / 0.4891 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.5767, allocations: 0.9866 MB / 0.49 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.5767, allocations: 11.92 kB / 0.49 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005494/0.5773, allocations: 79.91 kB / 0.4901 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.5773, allocations: 4 kB / 0.4901 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/0.5774, allocations: 11.98 kB / 0.4901 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.607e-06/0.5774, allocations: 4 kB / 0.4901 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.5774, allocations: 4 kB / 0.4901 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.5785, allocations: 0.7163 MB / 0.4908 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.431e-05/0.5786, allocations: 96.83 kB / 0.4909 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.535e-05/0.5787, allocations: 11.98 kB / 0.4909 GB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004067/0.5791, allocations: 16 kB / 0.491 GB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-05/0.5792, allocations: 31.84 kB / 0.491 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.5793, allocations: 12 kB / 0.491 GB, free: 12.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001702/0.5794, allocations: 144.4 kB / 0.4911 GB, free: 12.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5794, allocations: 0 / 0.4911 GB, free: 12.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007926/0.5802, allocations: 68 kB / 0.4912 GB, free: 12.52 MB / 378.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 () * Number of clocked 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.0002179/0.5805, allocations: 115.2 kB / 0.4913 GB, free: 12.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007162/0.5812, allocations: 239.9 kB / 0.4915 GB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.5812, allocations: 0.5 kB / 0.4915 GB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003487/0.5816, allocations: 128.3 kB / 0.4917 GB, free: 12.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.5828, allocations: 58.44 kB / 0.4917 GB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.5853, allocations: 1.178 MB / 0.4929 GB, free: 10.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.5858, allocations: 0.7569 MB / 0.4936 GB, free: 9.953 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.586, allocations: 31.42 kB / 0.4936 GB, free: 9.922 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.586, allocations: 0 / 0.4936 GB, free: 9.922 MB / 378.7 MB Notification: Performance of Templates: time 0.008134/0.5941, allocations: 3.254 MB / 0.4968 GB, free: 6.68 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce --alarm=480 > Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1)