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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001662/0.001662, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001368/0.001368, allocations: 218.8 kB / 23 MB, free: 5.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.1 MB " [Timeout remaining time 178] 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=50000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 63.89 kB / 376.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2513, allocations: 53.33 MB / 429.8 MB, free: 7.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003879/0.2552, allocations: 2.382 MB / 432.2 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.2567, allocations: 0.7674 MB / 432.9 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.2569, allocations: 7.938 kB / 432.9 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.257, allocations: 39.58 kB / 433 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.2573, allocations: 83.33 kB / 433.1 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.2577, allocations: 119.7 kB / 433.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003564/0.2581, allocations: 302.6 kB / 433.5 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.2582, allocations: 52.72 kB / 433.5 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.2584, allocations: 115.6 kB / 433.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.2585, allocations: 123.4 kB / 433.8 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.2586, allocations: 24 kB / 433.8 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.159e-05/0.2586, allocations: 20 kB / 433.8 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.073e-05/0.2587, allocations: 51.78 kB / 433.9 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.2588, allocations: 131.3 kB / 434 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.2591, allocations: 280.3 kB / 434.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2591, allocations: 0 / 434.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2591, allocations: 0 / 434.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.2591, allocations: 0 / 434.3 MB, free: 3.184 MB / 334.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.00104/0.2602, allocations: 0.5532 MB / 434.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2602, allocations: 15.97 kB / 434.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.41e-05/0.2603, allocations: 28.75 kB / 434.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004054/0.2607, allocations: 265.6 kB / 435.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.2607, allocations: 12.81 kB / 435.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.2608, allocations: 24.38 kB / 435.2 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004651/0.2612, allocations: 239 kB / 435.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.2613, allocations: 11.89 kB / 435.4 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.2613, allocations: 8 kB / 435.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.2613, allocations: 12 kB / 435.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/0.2617, allocations: 151.9 kB / 435.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.2631, allocations: 1.02 MB / 436.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000567/0.2637, allocations: 282.1 kB / 436.9 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.2638, allocations: 91.41 kB / 437 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.2639, allocations: 8.594 kB / 437 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.2639, allocations: 42.5 kB / 437 MB, free: 200 kB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 3.387e-06/0.2639, allocations: 3.984 kB / 437 MB, free: 196 kB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002141/0.2661, allocations: 1.329 MB / 438.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.422e-05/0.2662, allocations: 136.5 kB / 438.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.2664, allocations: 206.8 kB / 438.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.2664, allocations: 29.7 kB / 438.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.2665, allocations: 156.7 kB / 438.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.2666, allocations: 126.9 kB / 439 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.908e-05/0.2667, allocations: 62.14 kB / 439 MB, free: 13.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.2669, allocations: 350.7 kB / 439.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.2671, allocations: 84.78 kB / 439.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.2674, allocations: 186.1 kB / 439.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004952/0.2679, allocations: 313.7 kB / 440 MB, free: 12.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2679, allocations: 0 / 440 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006384/0.2685, allocations: 345.1 kB / 440.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.2685, allocations: 8 kB / 440.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.2685, allocations: 4 kB / 440.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.2686, allocations: 4 kB / 440.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003814/0.2689, allocations: 91.89 kB / 440.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.269, allocations: 8.25 kB / 440.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.2691, allocations: 19.94 kB / 440.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.2692, allocations: 16 kB / 440.4 MB, free: 12.4 MB / 350.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.0001498/0.2693, allocations: 149.9 kB / 440.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.2694, allocations: 27.86 kB / 440.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.398e-05/0.2695, allocations: 33.34 kB / 440.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.2695, allocations: 11.92 kB / 440.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.2695, allocations: 0 / 440.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.2695, allocations: 4.125 kB / 440.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.271, allocations: 0.9675 MB / 441.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.271, allocations: 8.062 kB / 441.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003943/0.2714, allocations: 80.14 kB / 441.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.2714, allocations: 8 kB / 441.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.2714, allocations: 12 kB / 441.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/0.2714, allocations: 7.984 kB / 441.7 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2714, allocations: 0 / 441.7 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008561/0.2723, allocations: 0.704 MB / 442.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.558e-05/0.2724, allocations: 109 kB / 442.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.2724, allocations: 11.94 kB / 442.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.2727, allocations: 8 kB / 442.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.2727, allocations: 31.91 kB / 442.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.2728, allocations: 8 kB / 442.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.2729, allocations: 148.6 kB / 442.8 MB, free: 9.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2729, allocations: 7.938 kB / 442.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000489/0.2734, allocations: 64 kB / 442.8 MB, free: 9.852 MB / 350.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.0001326/0.2735, allocations: 111.1 kB / 442.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005243/0.274, allocations: 232.2 kB / 443.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.274, allocations: 4 kB / 443.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000242/0.2743, allocations: 115.8 kB / 443.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007467/0.275, allocations: 67.66 kB / 443.3 MB, free: 9.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.2767, allocations: 0.9584 MB / 444.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.2772, allocations: 0.7604 MB / 445.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.2773, allocations: 38.94 kB / 445.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.847e-05/0.2774, allocations: 27.44 kB / 445.1 MB, free: 7.449 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2774, allocations: 0 / 445.1 MB, free: 7.449 MB / 350.1 MB Notification: Performance of Templates: time 0.007518/0.2849, allocations: 3.101 MB / 448.2 MB, free: 4.371 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.401919569820166]