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.001631/0.001631, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009892/0.0009893, allocations: 107.4 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008927/0.0008928, allocations: 52.16 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1858, allocations: 50.45 MB / 407 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.002588/0.1885, allocations: 2.417 MB / 409.5 MB, free: 25.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008947/0.1894, allocations: 0.7441 MB / 410.2 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.488e-05/0.1895, allocations: 4 kB / 410.2 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.1896, allocations: 31.77 kB / 410.2 MB, free: 24.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.1898, allocations: 63.47 kB / 410.3 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.1901, allocations: 110.5 kB / 410.4 MB, free: 24.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.1903, allocations: 294.7 kB / 410.7 MB, free: 24.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1904, allocations: 65 kB / 410.8 MB, free: 24.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.062e-05/0.1905, allocations: 99.53 kB / 410.9 MB, free: 23.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.1906, allocations: 123.4 kB / 411 MB, free: 23.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.1907, allocations: 16 kB / 411 MB, free: 23.85 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.439e-05/0.1907, allocations: 16 kB / 411 MB, free: 23.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.366e-05/0.1907, allocations: 55.7 kB / 411.1 MB, free: 23.78 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.678e-05/0.1908, allocations: 115.4 kB / 411.2 MB, free: 23.67 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.191, allocations: 260.5 kB / 411.4 MB, free: 23.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.191, allocations: 0 / 411.4 MB, free: 23.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.191, allocations: 0 / 411.4 MB, free: 23.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.191, allocations: 0 / 411.4 MB, free: 23.41 MB / 298.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.0007196/0.1918, allocations: 0.5495 MB / 412 MB, free: 22.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.1918, allocations: 12.03 kB / 412 MB, free: 22.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.1919, allocations: 24.66 kB / 412 MB, free: 22.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.1921, allocations: 261.1 kB / 412.3 MB, free: 22.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.1921, allocations: 16.81 kB / 412.3 MB, free: 22.47 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/0.1921, allocations: 32.27 kB / 412.3 MB, free: 22.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.1925, allocations: 242.9 kB / 412.6 MB, free: 22.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.1925, allocations: 4 kB / 412.6 MB, free: 22.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.1925, allocations: 8 kB / 412.6 MB, free: 22.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1925, allocations: 4 kB / 412.6 MB, free: 22.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.1928, allocations: 167.8 kB / 412.7 MB, free: 22 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009637/0.1938, allocations: 1.016 MB / 413.8 MB, free: 20.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/0.1943, allocations: 290.1 kB / 414 MB, free: 20.58 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.1944, allocations: 103.3 kB / 414.1 MB, free: 20.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.1944, allocations: 4.609 kB / 414.1 MB, free: 20.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/0.1945, allocations: 42.55 kB / 414.2 MB, free: 20.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.1945, allocations: 0 / 414.2 MB, free: 20.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001397/0.1959, allocations: 1.324 MB / 415.5 MB, free: 18.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.1959, allocations: 140.5 kB / 415.6 MB, free: 18.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1961, allocations: 203 kB / 415.8 MB, free: 18.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.1961, allocations: 29.7 kB / 415.9 MB, free: 18.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.1961, allocations: 156.5 kB / 416 MB, free: 18.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/0.1962, allocations: 114.3 kB / 416.1 MB, free: 18.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.286e-05/0.1963, allocations: 70.12 kB / 416.2 MB, free: 18.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.507e-05/0.1963, allocations: 342.8 kB / 416.5 MB, free: 17.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.1965, allocations: 84.83 kB / 416.6 MB, free: 17.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.1967, allocations: 193.9 kB / 416.8 MB, free: 17.47 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.197, allocations: 305.7 kB / 417.1 MB, free: 17.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.197, allocations: 0 / 417.1 MB, free: 17.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004772/0.1975, allocations: 345.1 kB / 417.4 MB, free: 16.78 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1976, allocations: 8 kB / 417.5 MB, free: 16.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1976, allocations: 4 kB / 417.5 MB, free: 16.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1976, allocations: 4 kB / 417.5 MB, free: 16.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.1979, allocations: 95.83 kB / 417.6 MB, free: 16.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.198, allocations: 8 kB / 417.6 MB, free: 16.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.1981, allocations: 19.92 kB / 417.6 MB, free: 16.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.1981, allocations: 16 kB / 417.6 MB, free: 16.62 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.179e-05/0.1982, allocations: 155.3 kB / 417.8 MB, free: 16.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-05/0.1983, allocations: 23.72 kB / 417.8 MB, free: 16.44 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.559e-05/0.1984, allocations: 37.39 kB / 417.8 MB, free: 16.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1984, allocations: 4.188 kB / 417.8 MB, free: 16.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.1984, allocations: 0 / 417.8 MB, free: 16.4 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1984, allocations: 7.922 kB / 417.8 MB, free: 16.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.1997, allocations: 0.9671 MB / 418.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.1997, allocations: 4.25 kB / 418.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/0.2001, allocations: 79.89 kB / 418.9 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.2001, allocations: 4.25 kB / 418.9 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.2002, allocations: 12 kB / 418.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.2002, allocations: 11.94 kB / 418.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2002, allocations: 4 kB / 418.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003277/0.2035, allocations: 2.309 MB / 421.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.2035, allocations: 104.8 kB / 421.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.2036, allocations: 16 kB / 421.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.2039, allocations: 15.92 kB / 421.3 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/0.204, allocations: 23.97 kB / 421.4 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.204, allocations: 8 kB / 421.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001007/0.2041, allocations: 148.4 kB / 421.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2041, allocations: 0 / 421.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006505/0.2048, allocations: 96 kB / 421.6 MB, free: 12.33 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.255e-05/0.2049, allocations: 103.7 kB / 421.7 MB, free: 12.22 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004692/0.2053, allocations: 231.9 kB / 421.9 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2054, allocations: 0.5 kB / 421.9 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.2056, allocations: 131.8 kB / 422.1 MB, free: 11.87 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009232/0.2065, allocations: 63.08 kB / 422.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.2079, allocations: 1.277 MB / 423.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.2081, allocations: 0.7686 MB / 424.2 MB, free: 9.664 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001408/0.2082, allocations: 42.95 kB / 424.2 MB, free: 9.621 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.899e-05/0.2083, allocations: 27.44 kB / 424.2 MB, free: 9.594 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2083, allocations: 0 / 424.2 MB, free: 9.594 MB / 298.7 MB Notification: Performance of Templates: time 0.005325/0.2136, allocations: 3.351 MB / 427.6 MB, free: 6.273 MB / 298.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)