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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.0009901/0.0009901, allocations: 204.6 kB / 18.11 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 226.5 MB / 245.4 MB, free: 8.168 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000788/0.0007883, allocations: 107.1 kB / 297.5 MB, free: 6.871 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000206/0.000206, allocations: 8 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1917, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09313/0.2849, allocations: 79.92 MB / 489.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001894/0.2851, allocations: 68.5 kB / 489.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01596/0.3011, allocations: 5.838 MB / 495.2 MB, free: 5.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3011, allocations: 0 / 495.2 MB, free: 5.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.3011, allocations: 4 kB / 495.2 MB, free: 5.676 MB / 362.7 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.0006726/0.3018, allocations: 0.5068 MB / 495.7 MB, free: 5.117 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.3018, allocations: 15.97 kB / 495.7 MB, free: 5.102 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.3019, allocations: 32.56 kB / 495.8 MB, free: 5.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.3022, allocations: 249.5 kB / 496 MB, free: 4.785 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.3022, allocations: 20.81 kB / 496 MB, free: 4.766 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.3023, allocations: 20.38 kB / 496 MB, free: 4.746 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004023/0.3027, allocations: 235.2 kB / 496.3 MB, free: 4.496 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.3027, allocations: 20.08 kB / 496.3 MB, free: 4.477 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.3027, allocations: 11.88 kB / 496.3 MB, free: 4.465 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.3027, allocations: 8 kB / 496.3 MB, free: 4.457 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003499/0.3031, allocations: 163.8 kB / 496.5 MB, free: 4.297 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.3043, allocations: 1.008 MB / 497.5 MB, free: 3.203 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005227/0.3048, allocations: 306 kB / 497.8 MB, free: 2.867 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.305, allocations: 99.41 kB / 497.9 MB, free: 2.758 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.305, allocations: 4.625 kB / 497.9 MB, free: 2.754 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.3051, allocations: 38.5 kB / 497.9 MB, free: 2.707 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/0.3051, allocations: 0 / 497.9 MB, free: 2.707 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001779/0.3069, allocations: 1.343 MB / 499.3 MB, free: 1.172 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.3069, allocations: 132.5 kB / 499.4 MB, free: 1.012 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.3071, allocations: 198.9 kB / 499.6 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3072, allocations: 33.7 kB / 499.6 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.293e-05/0.3072, allocations: 156.4 kB / 499.8 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.919e-05/0.3073, allocations: 118.3 kB / 499.9 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.42e-05/0.3073, allocations: 11.94 kB / 499.9 MB, free: 496 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3075, allocations: 342.8 kB / 0.4885 GB, free: 144 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.3076, allocations: 76.84 kB / 0.4886 GB, free: 68 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.3079, allocations: 202 kB / 0.4888 GB, free: 15.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004446/0.3084, allocations: 306.5 kB / 0.4891 GB, free: 15.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3084, allocations: 0 / 0.4891 GB, free: 15.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005741/0.309, allocations: 352.9 kB / 0.4894 GB, free: 15.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.309, allocations: 4 kB / 0.4894 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.309, allocations: 4 kB / 0.4894 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.309, allocations: 8 kB / 0.4894 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/0.3094, allocations: 95.83 kB / 0.4895 GB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.3094, allocations: 4 kB / 0.4895 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.3096, allocations: 16 kB / 0.4895 GB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.3096, allocations: 20.2 kB / 0.4895 GB, free: 14.97 MB / 378.7 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.0001261/0.3097, allocations: 153.7 kB / 0.4897 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.6e-05/0.3098, allocations: 23.72 kB / 0.4897 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.358e-05/0.3099, allocations: 33.39 kB / 0.4897 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3099, allocations: 8 kB / 0.4898 GB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3099, allocations: 0 / 0.4898 GB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3099, allocations: 0 / 0.4898 GB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.3112, allocations: 0.9827 MB / 0.4907 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.3112, allocations: 7.938 kB / 0.4907 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003643/0.3116, allocations: 75.89 kB / 0.4908 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.289e-06/0.3116, allocations: 8.25 kB / 0.4908 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.3117, allocations: 12 kB / 0.4908 GB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.3117, allocations: 8 kB / 0.4908 GB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.3117, allocations: 8.188 kB / 0.4908 GB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007237/0.3124, allocations: 0.7117 MB / 0.4915 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.943e-05/0.3125, allocations: 100.8 kB / 0.4916 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.3125, allocations: 12 kB / 0.4916 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.3128, allocations: 15.98 kB / 0.4916 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.3129, allocations: 27.91 kB / 0.4917 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.3129, allocations: 12 kB / 0.4917 GB, free: 12.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001105/0.313, allocations: 144.4 kB / 0.4918 GB, free: 12.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3131, allocations: 0 / 0.4918 GB, free: 12.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000449/0.3135, allocations: 72 kB / 0.4919 GB, free: 12.4 MB / 378.7 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 0.0001263/0.3136, allocations: 107.7 kB / 0.492 GB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004493/0.3141, allocations: 237.8 kB / 0.4922 GB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3141, allocations: 4 kB / 0.4922 GB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.3143, allocations: 127.8 kB / 0.4923 GB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007668/0.3151, allocations: 63.97 kB / 0.4924 GB, free: 11.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.3167, allocations: 1.159 MB / 0.4935 GB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.317, allocations: 0.7569 MB / 0.4943 GB, free: 9.871 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001344/0.3171, allocations: 34.91 kB / 0.4943 GB, free: 9.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.787e-05/0.3172, allocations: 31.44 kB / 0.4943 GB, free: 9.809 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3172, allocations: 0 / 0.4943 GB, free: 9.809 MB / 378.7 MB Notification: Performance of Templates: time 0.005485/0.3227, allocations: 2.645 MB / 0.4969 GB, free: 7.191 MB / 378.7 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)