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.001167/0.001167, allocations: 110.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001202/0.001202, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.9 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 60.62 kB / 306.9 MB, free: 1.012 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09291/0.09424, allocations: 50.53 MB / 357.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003631/0.09791, allocations: 2.416 MB / 359.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.09944, allocations: 0.7634 MB / 360.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.09967, allocations: 4 kB / 360.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.09984, allocations: 27.77 kB / 360.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.1002, allocations: 63.47 kB / 360.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.1006, allocations: 107.8 kB / 360.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003636/0.101, allocations: 286.7 kB / 361.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.1012, allocations: 73 kB / 361.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.1013, allocations: 99.47 kB / 361.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.1015, allocations: 123.4 kB / 361.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.1016, allocations: 12 kB / 361.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.784e-05/0.1016, allocations: 16 kB / 361.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.915e-05/0.1017, allocations: 51.77 kB / 361.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.1018, allocations: 119.3 kB / 361.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.102, allocations: 195.8 kB / 361.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.102, allocations: 4 kB / 361.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.102, allocations: 4 kB / 361.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.102, allocations: 0 / 361.8 MB, free: 10.11 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.0009366/0.103, allocations: 0.5457 MB / 362.3 MB, free: 9.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.103, allocations: 12.03 kB / 362.3 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.759e-05/0.1031, allocations: 32.56 kB / 362.4 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.1034, allocations: 245.6 kB / 362.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.1035, allocations: 12.81 kB / 362.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.1035, allocations: 28.28 kB / 362.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/0.1039, allocations: 242.9 kB / 362.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.104, allocations: 0 / 362.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.104, allocations: 16 kB / 362.9 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.104, allocations: 4 kB / 362.9 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/0.1044, allocations: 159.8 kB / 363.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.1057, allocations: 1.028 MB / 364.1 MB, free: 7.609 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005257/0.1062, allocations: 286.5 kB / 364.4 MB, free: 7.293 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.1064, allocations: 95.34 kB / 364.5 MB, free: 7.188 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.1064, allocations: 4 kB / 364.5 MB, free: 7.184 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.1065, allocations: 46.55 kB / 364.5 MB, free: 7.129 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 2.775e-06/0.1065, allocations: 3.984 kB / 364.5 MB, free: 7.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001911/0.1084, allocations: 1.333 MB / 365.8 MB, free: 5.602 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.1085, allocations: 132.5 kB / 366 MB, free: 5.441 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.1087, allocations: 202.8 kB / 366.2 MB, free: 5.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.1087, allocations: 37.64 kB / 366.2 MB, free: 5.188 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.099e-05/0.1088, allocations: 152.4 kB / 366.4 MB, free: 5.035 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/0.1089, allocations: 126.3 kB / 366.5 MB, free: 4.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.109, allocations: 66.14 kB / 366.5 MB, free: 4.836 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1091, allocations: 338.8 kB / 366.9 MB, free: 4.496 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.1093, allocations: 80.83 kB / 366.9 MB, free: 4.418 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.1096, allocations: 198 kB / 367.1 MB, free: 4.176 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004406/0.1101, allocations: 293.6 kB / 367.4 MB, free: 3.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1101, allocations: 8 kB / 367.4 MB, free: 3.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006146/0.1107, allocations: 341 kB / 367.8 MB, free: 3.492 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1107, allocations: 11.98 kB / 367.8 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.1107, allocations: 4 kB / 367.8 MB, free: 3.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1108, allocations: 4 kB / 367.8 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.1111, allocations: 96.08 kB / 367.9 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.1112, allocations: 12 kB / 367.9 MB, free: 3.367 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.1113, allocations: 11.94 kB / 367.9 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.1114, allocations: 20 kB / 367.9 MB, free: 3.336 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.0001396/0.1115, allocations: 149.7 kB / 368.1 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.1116, allocations: 27.7 kB / 368.1 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.238e-05/0.1117, allocations: 25.41 kB / 368.1 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1117, allocations: 4 kB / 368.1 MB, free: 3.121 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.1117, allocations: 4 kB / 368.1 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.1117, allocations: 12.11 kB / 368.1 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.1131, allocations: 0.9712 MB / 369.1 MB, free: 2.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.1131, allocations: 4 kB / 369.1 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.1135, allocations: 75.91 kB / 369.2 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.1135, allocations: 4 kB / 369.2 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.1136, allocations: 11.98 kB / 369.2 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.1136, allocations: 11.94 kB / 369.2 MB, free: 1.945 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1136, allocations: 256 / 369.2 MB, free: 1.945 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008017/0.1144, allocations: 0.7005 MB / 369.9 MB, free: 1.199 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.608e-05/0.1145, allocations: 104.8 kB / 370 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.1145, allocations: 11.98 kB / 370 MB, free: 1.066 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.1148, allocations: 11.94 kB / 370 MB, free: 1.055 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.028e-05/0.1149, allocations: 35.84 kB / 370.1 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.1149, allocations: 15.94 kB / 370.1 MB, free: 1.004 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.115, allocations: 148.6 kB / 370.2 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.115, allocations: 0 / 370.2 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004862/0.1155, allocations: 60 kB / 370.3 MB, free: 0.8008 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.000128/0.1156, allocations: 115.2 kB / 370.4 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004874/0.1161, allocations: 235.9 kB / 370.6 MB, free: 460 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1162, allocations: 0 / 370.6 MB, free: 460 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002221/0.1164, allocations: 120.6 kB / 370.8 MB, free: 340 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007722/0.1172, allocations: 64.73 kB / 370.8 MB, free: 276 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1465/0.2636, allocations: 1.068 MB / 371.9 MB, free: 19.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.2639, allocations: 0.7594 MB / 372.7 MB, free: 18.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.2641, allocations: 29.09 kB / 372.7 MB, free: 18.9 MB / 302.1 MB Notification: Performance of SimCode: time 1.072e-06/0.2641, allocations: 0 / 372.7 MB, free: 18.9 MB / 302.1 MB Notification: Performance of Templates: time 0.006302/0.2704, allocations: 3.32 MB / 376 MB, free: 18.63 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)