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.0007825/0.0007824, allocations: 101.3 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008934/0.0008935, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001966/0.000197, allocations: 4 kB / 307.1 MB, free: 1.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0929/0.09312, allocations: 51.52 MB / 358.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.002121/0.09528, allocations: 1.97 MB / 360.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.09631, allocations: 0.7327 MB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.769e-05/0.09642, allocations: 4 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.09653, allocations: 27.78 kB / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.09675, allocations: 67.45 kB / 361.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.097, allocations: 95.75 kB / 361.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.09728, allocations: 278.7 kB / 361.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.09741, allocations: 53.03 kB / 361.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.09752, allocations: 95.58 kB / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.09767, allocations: 119.5 kB / 362 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.09771, allocations: 12 kB / 362.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.104e-05/0.09774, allocations: 12 kB / 362.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.842e-05/0.09779, allocations: 43.83 kB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.783e-05/0.09784, allocations: 69.58 kB / 362.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.09802, allocations: 195.7 kB / 362.4 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.09803, allocations: 0 / 362.4 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.09804, allocations: 0 / 362.4 MB, free: 9.891 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.09805, allocations: 3.938 kB / 362.4 MB, free: 9.887 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.000718/0.09877, allocations: 0.5145 MB / 362.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.09882, allocations: 12.03 kB / 362.9 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.09887, allocations: 23.72 kB / 362.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.09913, allocations: 244.3 kB / 363.2 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.09916, allocations: 16.44 kB / 363.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.09921, allocations: 27.94 kB / 363.2 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.09961, allocations: 242.6 kB / 363.4 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.09964, allocations: 3.906 kB / 363.4 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.09967, allocations: 8 kB / 363.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.09968, allocations: 4 kB / 363.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003466/0.1, allocations: 171.8 kB / 363.6 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.1012, allocations: 1.028 MB / 364.6 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000503/0.1017, allocations: 298.3 kB / 364.9 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.1019, allocations: 95.34 kB / 365 MB, free: 6.977 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.1019, allocations: 4 kB / 365 MB, free: 6.973 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.102, allocations: 46.5 kB / 365.1 MB, free: 6.918 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.333e-06/0.102, allocations: 0 / 365.1 MB, free: 6.918 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001715/0.1037, allocations: 1.34 MB / 366.4 MB, free: 5.387 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.1038, allocations: 136.5 kB / 366.6 MB, free: 5.223 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.1039, allocations: 206.7 kB / 366.8 MB, free: 5.008 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.104, allocations: 29.7 kB / 366.8 MB, free: 4.973 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.42e-05/0.104, allocations: 156.4 kB / 366.9 MB, free: 4.816 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.101e-05/0.1041, allocations: 122.3 kB / 367.1 MB, free: 4.695 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.424e-05/0.1042, allocations: 8 kB / 367.1 MB, free: 4.688 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1043, allocations: 342.7 kB / 367.4 MB, free: 4.344 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.1045, allocations: 84.83 kB / 367.5 MB, free: 4.258 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.1047, allocations: 196.7 kB / 367.7 MB, free: 4.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.1049, allocations: 104 kB / 367.8 MB, free: 3.918 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1049, allocations: 8 kB / 367.8 MB, free: 3.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005539/0.1055, allocations: 349.3 kB / 368.1 MB, free: 3.562 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1055, allocations: 6.812 kB / 368.1 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1055, allocations: 4.438 kB / 368.1 MB, free: 3.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1056, allocations: 12 kB / 368.2 MB, free: 3.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.1059, allocations: 91.89 kB / 368.2 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.1059, allocations: 15.94 kB / 368.3 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.1061, allocations: 19.97 kB / 368.3 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.1061, allocations: 16 kB / 368.3 MB, free: 3.402 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.1062, allocations: 145.7 kB / 368.4 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.506e-05/0.1063, allocations: 27.72 kB / 368.5 MB, free: 3.223 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.994e-05/0.1064, allocations: 33.39 kB / 368.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1064, allocations: 4 kB / 368.5 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1064, allocations: 3.938 kB / 368.5 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1064, allocations: 4 kB / 368.5 MB, free: 3.176 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.1077, allocations: 0.9714 MB / 369.5 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.1077, allocations: 8.031 kB / 369.5 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/0.1081, allocations: 79.89 kB / 369.6 MB, free: 2.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.1081, allocations: 4 kB / 369.6 MB, free: 2.031 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.1081, allocations: 8 kB / 369.6 MB, free: 2.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.812e-06/0.1081, allocations: 7.984 kB / 369.6 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.1081, allocations: 7.953 kB / 369.6 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007196/0.1089, allocations: 0.7206 MB / 370.3 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.813e-05/0.1089, allocations: 96.83 kB / 370.4 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.109, allocations: 12 kB / 370.4 MB, free: 1.117 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.1092, allocations: 15.92 kB / 370.4 MB, free: 1.102 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.1093, allocations: 31.92 kB / 370.5 MB, free: 1.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.1093, allocations: 12 kB / 370.5 MB, free: 1.059 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.1094, allocations: 140.6 kB / 370.6 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1094, allocations: 0 / 370.6 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004601/0.1099, allocations: 68 kB / 370.7 MB, free: 0.8555 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 (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 9.744e-05/0.11, allocations: 107.5 kB / 370.8 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000444/0.1105, allocations: 239.6 kB / 371 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1105, allocations: 0 / 371 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.1107, allocations: 132.8 kB / 371.1 MB, free: 388 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007074/0.1114, allocations: 62.09 kB / 371.2 MB, free: 328 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1859/0.2973, allocations: 1.141 MB / 372.3 MB, free: 18.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.2977, allocations: 0.7596 MB / 373.1 MB, free: 18.03 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003309/0.2981, allocations: 34.67 kB / 373.1 MB, free: 18.03 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.2982, allocations: 28.62 kB / 373.2 MB, free: 18.02 MB / 302.1 MB Notification: Performance of SimCode: time 1.643e-06/0.2982, allocations: 0 / 373.2 MB, free: 18.02 MB / 302.1 MB Notification: Performance of Templates: time 0.01257/0.3108, allocations: 2.629 MB / 375.8 MB, free: 17.85 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)