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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0008526/0.0008525, allocations: 97.28 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001173/0.001173, allocations: 205.8 kB / 18.29 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001892/0.0001891, allocations: 4 kB / 307.7 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09338/0.09359, allocations: 51.53 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.002303/0.09592, allocations: 2.047 MB / 361.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.09724, allocations: 0.7479 MB / 362.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.676e-05/0.09736, allocations: 7.938 kB / 362.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.566e-05/0.09745, allocations: 27.78 kB / 362.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.09766, allocations: 71.45 kB / 362.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.09792, allocations: 103.8 kB / 362.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.0982, allocations: 290.6 kB / 362.6 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.09833, allocations: 57.03 kB / 362.6 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.09845, allocations: 107.5 kB / 362.7 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.0986, allocations: 119.5 kB / 362.8 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.09864, allocations: 12 kB / 362.8 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.123e-05/0.09868, allocations: 12 kB / 362.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.499e-05/0.09873, allocations: 47.77 kB / 362.9 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.09884, allocations: 141 kB / 363 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.09907, allocations: 259.2 kB / 363.3 MB, free: 9.234 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.09908, allocations: 4 kB / 363.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.09909, allocations: 0 / 363.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.0991, allocations: 0 / 363.3 MB, free: 9.23 MB / 302.1 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.0007798/0.09988, allocations: 0.5068 MB / 363.8 MB, free: 8.676 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.09992, allocations: 12.03 kB / 363.8 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.09997, allocations: 24.66 kB / 363.8 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.1002, allocations: 257.5 kB / 364.1 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.1003, allocations: 20.75 kB / 364.1 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.1003, allocations: 32.27 kB / 364.1 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004429/0.1008, allocations: 238.9 kB / 364.4 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.1008, allocations: 4 kB / 364.4 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.1008, allocations: 4 kB / 364.4 MB, free: 8.035 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1008, allocations: 12 kB / 364.4 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003672/0.1012, allocations: 171.8 kB / 364.6 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.1025, allocations: 1.012 MB / 365.6 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005395/0.1031, allocations: 302.5 kB / 365.9 MB, free: 6.426 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.1032, allocations: 99.41 kB / 366 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.1033, allocations: 0 / 366 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.1033, allocations: 42.5 kB / 366 MB, free: 6.266 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.082e-06/0.1033, allocations: 0 / 366 MB, free: 6.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001798/0.1051, allocations: 1.34 MB / 367.3 MB, free: 4.734 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.1052, allocations: 144.5 kB / 367.5 MB, free: 4.562 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.1054, allocations: 206.6 kB / 367.7 MB, free: 4.348 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.1054, allocations: 29.7 kB / 367.7 MB, free: 4.312 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.262e-05/0.1055, allocations: 156.5 kB / 367.9 MB, free: 4.156 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.616e-05/0.1056, allocations: 122.2 kB / 368 MB, free: 4.035 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.1056, allocations: 33.7 kB / 368 MB, free: 3.996 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1058, allocations: 346.7 kB / 368.4 MB, free: 3.648 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.106, allocations: 80.84 kB / 368.4 MB, free: 3.566 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.1062, allocations: 198 kB / 368.6 MB, free: 3.324 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004749/0.1067, allocations: 309.6 kB / 368.9 MB, free: 2.973 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.1067, allocations: 4 kB / 368.9 MB, free: 2.969 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000616/0.1074, allocations: 345.2 kB / 369.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1074, allocations: 11.94 kB / 369.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1074, allocations: 4 kB / 369.3 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1074, allocations: 4 kB / 369.3 MB, free: 2.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.1078, allocations: 99.83 kB / 369.4 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.1078, allocations: 4 kB / 369.4 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.108, allocations: 19.94 kB / 369.4 MB, free: 2.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.108, allocations: 16 kB / 369.4 MB, free: 2.469 MB / 302.1 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 0.0001263/0.1081, allocations: 157.7 kB / 369.6 MB, free: 2.305 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.997e-05/0.1082, allocations: 23.72 kB / 369.6 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.468e-05/0.1083, allocations: 29.41 kB / 369.6 MB, free: 2.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.1083, allocations: 4 kB / 369.6 MB, free: 2.246 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.1084, allocations: 7.984 kB / 369.7 MB, free: 2.238 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1084, allocations: 7.875 kB / 369.7 MB, free: 2.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.1098, allocations: 0.983 MB / 370.6 MB, free: 1.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.1098, allocations: 4 kB / 370.6 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003808/0.1102, allocations: 83.88 kB / 370.7 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.1102, allocations: 4 kB / 370.7 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.1102, allocations: 12 kB / 370.7 MB, free: 1.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.1102, allocations: 4 kB / 370.7 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.1102, allocations: 7.938 kB / 370.8 MB, free: 1.051 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007926/0.111, allocations: 0.7125 MB / 371.5 MB, free: 300 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.1111, allocations: 100.8 kB / 371.6 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.1112, allocations: 12 kB / 371.6 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.1114, allocations: 12 kB / 371.6 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.1115, allocations: 27.91 kB / 371.6 MB, free: 128 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.1115, allocations: 20.23 kB / 371.6 MB, free: 108 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.1722/0.2838, allocations: 135 kB / 371.8 MB, free: 18.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 3e-07/0.2838, allocations: 0 / 371.8 MB, free: 18.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007541/0.2846, allocations: 65.19 kB / 371.8 MB, free: 18.68 MB / 302.1 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 0.0001711/0.2848, allocations: 112.5 kB / 371.9 MB, free: 18.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007521/0.2856, allocations: 237 kB / 372.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.2856, allocations: 1.094 kB / 372.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.2859, allocations: 134.4 kB / 372.3 MB, free: 18.58 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009288/0.2868, allocations: 63.39 kB / 372.4 MB, free: 18.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.2885, allocations: 1.169 MB / 373.5 MB, free: 17.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.2888, allocations: 0.759 MB / 374.3 MB, free: 17.11 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001685/0.289, allocations: 33.97 kB / 374.3 MB, free: 17.1 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.311e-05/0.2891, allocations: 27.91 kB / 374.4 MB, free: 17.09 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2891, allocations: 0 / 374.4 MB, free: 17.09 MB / 302.1 MB Notification: Performance of Templates: time 0.008/0.2971, allocations: 2.722 MB / 377.1 MB, free: 16.91 MB / 302.1 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)