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.001608/0.001608, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001821/0.001821, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 61 kB / 308.4 MB, free: 15.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0877/0.08884, allocations: 50.53 MB / 358.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003392/0.09227, allocations: 2.359 MB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.09356, allocations: 0.7711 MB / 362 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.0937, allocations: 8 kB / 362 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.09385, allocations: 35.59 kB / 362.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.09411, allocations: 79.33 kB / 362.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.09442, allocations: 115.7 kB / 362.3 MB, free: 10 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.09474, allocations: 310.6 kB / 362.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.09489, allocations: 68.7 kB / 362.6 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.09501, allocations: 119.5 kB / 362.7 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.09518, allocations: 127.4 kB / 362.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.09522, allocations: 20 kB / 362.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.392e-05/0.09526, allocations: 20 kB / 362.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.516e-05/0.09531, allocations: 51.78 kB / 363 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.09543, allocations: 131.3 kB / 363.1 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.09568, allocations: 270.9 kB / 363.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.09569, allocations: 0 / 363.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.0957, allocations: 0 / 363.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.09571, allocations: 4 kB / 363.4 MB, free: 8.902 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.0008529/0.09657, allocations: 0.5457 MB / 363.9 MB, free: 8.309 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.09661, allocations: 12.03 kB / 363.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.932e-05/0.09667, allocations: 28.56 kB / 363.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.09701, allocations: 253.6 kB / 364.2 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.09704, allocations: 16.81 kB / 364.2 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/0.0971, allocations: 28.28 kB / 364.2 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000426/0.09753, allocations: 246.9 kB / 364.5 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.09756, allocations: 4 kB / 364.5 MB, free: 7.672 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.09758, allocations: 8 kB / 364.5 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.0976, allocations: 8 kB / 364.5 MB, free: 7.656 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.09796, allocations: 159.8 kB / 364.6 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.09918, allocations: 1.02 MB / 365.7 MB, free: 6.395 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.09969, allocations: 298.4 kB / 366 MB, free: 6.066 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.09987, allocations: 91.41 kB / 366 MB, free: 5.965 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.0999, allocations: 0 / 366 MB, free: 5.965 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.09993, allocations: 46.48 kB / 366.1 MB, free: 5.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.202e-06/0.09994, allocations: 0 / 366.1 MB, free: 5.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001756/0.1017, allocations: 1.328 MB / 367.4 MB, free: 4.391 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.1018, allocations: 132.5 kB / 367.5 MB, free: 4.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.102, allocations: 202.8 kB / 367.7 MB, free: 4.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.102, allocations: 33.7 kB / 367.8 MB, free: 3.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.1021, allocations: 152.4 kB / 367.9 MB, free: 3.828 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.981e-05/0.1022, allocations: 130.2 kB / 368.1 MB, free: 3.699 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.121e-05/0.1023, allocations: 62.14 kB / 368.1 MB, free: 3.629 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1024, allocations: 342.8 kB / 368.5 MB, free: 3.285 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.1026, allocations: 84.83 kB / 368.5 MB, free: 3.203 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.1029, allocations: 194 kB / 368.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.1033, allocations: 310 kB / 369 MB, free: 2.613 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1033, allocations: 0 / 369 MB, free: 2.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005592/0.1039, allocations: 344.9 kB / 369.4 MB, free: 2.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1039, allocations: 8 kB / 369.4 MB, free: 2.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1039, allocations: 4 kB / 369.4 MB, free: 2.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1039, allocations: 4 kB / 369.4 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.1043, allocations: 95.83 kB / 369.5 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1043, allocations: 8 kB / 369.5 MB, free: 2.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.1045, allocations: 19.94 kB / 369.5 MB, free: 2.133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.1045, allocations: 12.25 kB / 369.5 MB, free: 2.121 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.0001294/0.1046, allocations: 157.6 kB / 369.7 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.553e-05/0.1047, allocations: 23.72 kB / 369.7 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.689e-05/0.1048, allocations: 29.41 kB / 369.7 MB, free: 1.902 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.1048, allocations: 8 kB / 369.7 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1048, allocations: 0 / 369.7 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.1048, allocations: 7.922 kB / 369.7 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.1062, allocations: 0.9674 MB / 370.7 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.1062, allocations: 12.17 kB / 370.7 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003599/0.1066, allocations: 83.89 kB / 370.8 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.1066, allocations: 4 kB / 370.8 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.1066, allocations: 12 kB / 370.8 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1066, allocations: 4 kB / 370.8 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.1066, allocations: 3.938 kB / 370.8 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1496/0.2562, allocations: 0.7007 MB / 371.5 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.2563, allocations: 100.3 kB / 371.6 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.902e-05/0.2564, allocations: 12.38 kB / 371.6 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.2568, allocations: 10.31 kB / 371.6 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/0.2568, allocations: 27.3 kB / 371.7 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.2569, allocations: 12.33 kB / 371.7 MB, free: 19.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.257, allocations: 147.9 kB / 371.8 MB, free: 19.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.257, allocations: 0 / 371.8 MB, free: 19.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005716/0.2576, allocations: 63.75 kB / 371.9 MB, free: 19.38 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.0001083/0.2577, allocations: 115.6 kB / 372 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005328/0.2583, allocations: 235.8 kB / 372.2 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2583, allocations: 1.156 kB / 372.2 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.2585, allocations: 126.3 kB / 372.4 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007099/0.2592, allocations: 70.95 kB / 372.4 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.2606, allocations: 0.9483 MB / 373.4 MB, free: 18.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.2608, allocations: 0.7548 MB / 374.1 MB, free: 18.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.2609, allocations: 38.44 kB / 374.2 MB, free: 18.01 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.197e-05/0.261, allocations: 32.09 kB / 374.2 MB, free: 18 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.261, allocations: 0 / 374.2 MB, free: 18 MB / 302.1 MB Notification: Performance of Templates: time 0.006514/0.2675, allocations: 2.922 MB / 377.1 MB, free: 17.82 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 -s gbode -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1)