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: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001166/0.001166, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2758, allocations: 50.55 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.005268/0.2811, allocations: 2.357 MB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.2832, allocations: 0.7556 MB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.2834, allocations: 4 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.2837, allocations: 43.58 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003917/0.2841, allocations: 87.27 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005482/0.2846, allocations: 115.8 kB / 413.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003954/0.2851, allocations: 302.6 kB / 413.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.2853, allocations: 64.7 kB / 413.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.2854, allocations: 119.5 kB / 413.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.2856, allocations: 127.4 kB / 413.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.398e-05/0.2857, allocations: 20 kB / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.181e-05/0.2857, allocations: 20 kB / 413.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.138e-05/0.2858, allocations: 55.78 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.286, allocations: 131.3 kB / 414.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.2863, allocations: 268.1 kB / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.2863, allocations: 3.984 kB / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2863, allocations: 0 / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.2864, allocations: 0 / 414.4 MB, free: 13.11 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.001048/0.2874, allocations: 0.5534 MB / 414.9 MB, free: 12.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.2875, allocations: 12.03 kB / 414.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.2875, allocations: 28.64 kB / 415 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.288, allocations: 257.5 kB / 415.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.288, allocations: 16.81 kB / 415.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-05/0.2881, allocations: 28.28 kB / 415.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005126/0.2886, allocations: 242.9 kB / 415.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.2886, allocations: 4 kB / 415.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.2887, allocations: 8 kB / 415.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.2887, allocations: 8 kB / 415.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004228/0.2891, allocations: 163.8 kB / 415.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.2906, allocations: 1.012 MB / 416.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006302/0.2913, allocations: 298.1 kB / 417 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.2915, allocations: 91.41 kB / 417.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.2915, allocations: 4.625 kB / 417.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.2915, allocations: 42.5 kB / 417.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 1.974e-06/0.2916, allocations: 0 / 417.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002154/0.2937, allocations: 1.328 MB / 418.4 MB, free: 8.598 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.2938, allocations: 136.5 kB / 418.6 MB, free: 8.434 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.294, allocations: 210.6 kB / 418.8 MB, free: 8.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.2941, allocations: 29.7 kB / 418.8 MB, free: 8.184 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.2942, allocations: 156.5 kB / 419 MB, free: 8.027 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.266e-05/0.2943, allocations: 126.2 kB / 419.1 MB, free: 7.902 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.331e-05/0.2944, allocations: 62.14 kB / 419.1 MB, free: 7.836 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.2945, allocations: 342.8 kB / 419.5 MB, free: 7.492 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.2948, allocations: 80.83 kB / 419.6 MB, free: 7.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.295, allocations: 194.1 kB / 419.7 MB, free: 7.172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000434/0.2955, allocations: 306.2 kB / 420 MB, free: 6.824 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2955, allocations: 3.938 kB / 420.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005759/0.296, allocations: 333.2 kB / 420.4 MB, free: 6.488 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2961, allocations: 8 kB / 420.4 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.2961, allocations: 7.984 kB / 420.4 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2961, allocations: 4 kB / 420.4 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.2965, allocations: 104.1 kB / 420.5 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.2965, allocations: 7.984 kB / 420.5 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.2967, allocations: 19.94 kB / 420.5 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.2967, allocations: 12 kB / 420.5 MB, free: 6.328 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.0001344/0.2969, allocations: 149.7 kB / 420.7 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.661e-05/0.297, allocations: 23.72 kB / 420.7 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.843e-05/0.297, allocations: 37.39 kB / 420.7 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.297, allocations: 4 kB / 420.7 MB, free: 6.109 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2971, allocations: 4 kB / 420.8 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.2971, allocations: 7.922 kB / 420.8 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.2984, allocations: 0.9711 MB / 421.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.2984, allocations: 4 kB / 421.7 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000364/0.2988, allocations: 75.91 kB / 421.8 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/0.2988, allocations: 4 kB / 421.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.2989, allocations: 15.98 kB / 421.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.2989, allocations: 4 kB / 421.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.2989, allocations: 7.938 kB / 421.8 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007825/0.2997, allocations: 0.7041 MB / 422.5 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.762e-05/0.2998, allocations: 96.83 kB / 422.6 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.2998, allocations: 11.98 kB / 422.6 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.3001, allocations: 12 kB / 422.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.3001, allocations: 31.91 kB / 422.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.3002, allocations: 12 kB / 422.7 MB, free: 4 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.3003, allocations: 140.6 kB / 422.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3003, allocations: 0 / 422.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004989/0.3008, allocations: 68 kB / 422.9 MB, free: 3.797 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.0001322/0.3009, allocations: 111.1 kB / 423 MB, free: 3.676 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004927/0.3014, allocations: 249 kB / 423.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3015, allocations: 0 / 423.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.3017, allocations: 125.3 kB / 423.4 MB, free: 3.312 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007588/0.3025, allocations: 77.98 kB / 423.5 MB, free: 3.242 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.304, allocations: 0.9761 MB / 424.4 MB, free: 2.199 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.3044, allocations: 0.7528 MB / 425.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.819e-05/0.3045, allocations: 31.42 kB / 425.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3045, allocations: 4 kB / 425.2 MB, free: 1.379 MB / 334.1 MB Notification: Performance of Templates: time 0.005585/0.3101, allocations: 3.369 MB / 428.6 MB, free: 14.02 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)