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.001141/0.001141, allocations: 115.5 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001325/0.001325, allocations: 204.6 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 60.09 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2772, allocations: 50.55 MB / 409.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003746/0.281, allocations: 2.362 MB / 411.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.2826, allocations: 0.7596 MB / 412.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002187/0.2829, allocations: 4 kB / 412.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.2831, allocations: 39.59 kB / 412.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.2835, allocations: 94.77 kB / 412.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.2839, allocations: 119.7 kB / 412.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000401/0.2843, allocations: 306.6 kB / 412.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.2845, allocations: 60.72 kB / 413 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.2847, allocations: 119.5 kB / 413.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.2849, allocations: 123.5 kB / 413.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.36e-05/0.2849, allocations: 24 kB / 413.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.161e-05/0.285, allocations: 20 kB / 413.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.583e-05/0.285, allocations: 59.7 kB / 413.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.2852, allocations: 123.4 kB / 413.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.2855, allocations: 276.1 kB / 413.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2855, allocations: 0 / 413.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2855, allocations: 0 / 413.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.049e-05/0.2855, allocations: 0 / 413.7 MB, free: 13.12 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.0009569/0.2865, allocations: 0.5533 MB / 414.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.2865, allocations: 12.03 kB / 414.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.07e-05/0.2866, allocations: 24.66 kB / 414.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.287, allocations: 253.5 kB / 414.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.287, allocations: 20.81 kB / 414.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.2871, allocations: 32.22 kB / 414.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004405/0.2875, allocations: 235 kB / 414.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.2876, allocations: 4 kB / 414.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.2876, allocations: 8 kB / 414.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2876, allocations: 8 kB / 414.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00037/0.288, allocations: 167.8 kB / 415 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.2893, allocations: 1.012 MB / 416 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000543/0.2898, allocations: 298.4 kB / 416.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.29, allocations: 95.33 kB / 416.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.2901, allocations: 8 kB / 416.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.2901, allocations: 34.56 kB / 416.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 1.763e-06/0.2901, allocations: 0 / 416.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.00185/0.2919, allocations: 1.329 MB / 417.8 MB, free: 8.613 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.292, allocations: 136.5 kB / 417.9 MB, free: 8.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.2922, allocations: 214.6 kB / 418.1 MB, free: 8.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.2922, allocations: 29.7 kB / 418.1 MB, free: 8.195 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/0.2923, allocations: 152.5 kB / 418.3 MB, free: 8.043 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.112e-05/0.2924, allocations: 122.2 kB / 418.4 MB, free: 7.922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.422e-05/0.2925, allocations: 70.12 kB / 418.5 MB, free: 7.848 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2927, allocations: 342.7 kB / 418.8 MB, free: 7.504 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.2929, allocations: 76.84 kB / 418.9 MB, free: 7.426 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.2931, allocations: 202 kB / 419.1 MB, free: 7.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004766/0.2936, allocations: 297.8 kB / 419.4 MB, free: 6.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2936, allocations: 3.938 kB / 419.4 MB, free: 6.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005902/0.2942, allocations: 337 kB / 419.7 MB, free: 6.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2942, allocations: 11.06 kB / 419.7 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.2943, allocations: 8 kB / 419.7 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.2943, allocations: 11.94 kB / 419.7 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.2946, allocations: 91.89 kB / 419.8 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.2947, allocations: 4 kB / 419.8 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.2948, allocations: 19.94 kB / 419.8 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.2949, allocations: 19.92 kB / 419.9 MB, free: 6.34 MB / 334.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.0001194/0.295, allocations: 145.7 kB / 420 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.8e-05/0.2951, allocations: 23.72 kB / 420 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.404e-05/0.2952, allocations: 41.39 kB / 420.1 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2952, allocations: 4 kB / 420.1 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2952, allocations: 0 / 420.1 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2952, allocations: 3.938 kB / 420.1 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.2966, allocations: 0.9711 MB / 421 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.2966, allocations: 4 kB / 421.1 MB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003765/0.297, allocations: 79.89 kB / 421.1 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.297, allocations: 4.188 kB / 421.1 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.297, allocations: 12 kB / 421.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.297, allocations: 12.19 kB / 421.2 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.297, allocations: 4 kB / 421.2 MB, free: 4.949 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007678/0.2978, allocations: 0.7038 MB / 421.9 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.039e-05/0.2979, allocations: 100.8 kB / 422 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.2979, allocations: 8 kB / 422 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.2982, allocations: 16 kB / 422 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.2983, allocations: 31.84 kB / 422 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.2983, allocations: 15.98 kB / 422 MB, free: 4.008 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.2984, allocations: 144.6 kB / 422.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2984, allocations: 0 / 422.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004892/0.2989, allocations: 64 kB / 422.2 MB, free: 3.805 MB / 334.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.0001239/0.299, allocations: 107.2 kB / 422.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005076/0.2996, allocations: 240.2 kB / 422.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.2996, allocations: 3.938 kB / 422.6 MB, free: 3.449 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.2998, allocations: 128.7 kB / 422.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007445/0.3006, allocations: 73.61 kB / 422.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.3022, allocations: 0.9393 MB / 423.7 MB, free: 2.254 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.3025, allocations: 0.7645 MB / 424.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001322/0.3026, allocations: 34.95 kB / 424.5 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.042e-05/0.3027, allocations: 27.44 kB / 424.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3027, allocations: 0 / 424.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of Templates: time 0.006739/0.3095, allocations: 2.985 MB / 427.5 MB, free: 14.43 MB / 350.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)