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.0009973/0.0009976, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.235/1.235, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008272/0.0008273, allocations: 97.28 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002298/0.00023, allocations: 4 kB / 357.9 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2014, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08826/0.2897, allocations: 79.99 MB / 489.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.29, allocations: 75.94 kB / 489.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01656/0.3066, allocations: 5.837 MB / 495.3 MB, free: 4.703 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3066, allocations: 3.938 kB / 495.3 MB, free: 4.699 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.05e-05/0.3066, allocations: 8 kB / 495.3 MB, free: 4.691 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.0008097/0.3075, allocations: 0.5066 MB / 495.8 MB, free: 4.137 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3075, allocations: 8.031 kB / 495.8 MB, free: 4.129 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.379e-05/0.3076, allocations: 27.62 kB / 495.9 MB, free: 4.102 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.3079, allocations: 248 kB / 496.1 MB, free: 3.816 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.308, allocations: 20.38 kB / 496.1 MB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.75e-05/0.308, allocations: 27.91 kB / 496.1 MB, free: 3.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004429/0.3085, allocations: 242.6 kB / 496.4 MB, free: 3.512 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.3085, allocations: 4 kB / 496.4 MB, free: 3.508 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.3085, allocations: 8 kB / 496.4 MB, free: 3.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3085, allocations: 4 kB / 496.4 MB, free: 3.496 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00037/0.3089, allocations: 167.3 kB / 496.6 MB, free: 3.336 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.3102, allocations: 1.032 MB / 497.6 MB, free: 2.219 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005219/0.3107, allocations: 294.6 kB / 497.9 MB, free: 1.895 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.3108, allocations: 7.938 kB / 497.9 MB, free: 1.887 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.3108, allocations: 34.56 kB / 497.9 MB, free: 1.844 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.3108, allocations: 0 / 497.9 MB, free: 1.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001849/0.3127, allocations: 1.336 MB / 499.3 MB, free: 324 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.3127, allocations: 140.4 kB / 499.4 MB, free: 152 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.3129, allocations: 186.1 kB / 499.6 MB, free: 15.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.313, allocations: 29.7 kB / 499.6 MB, free: 15.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.595e-05/0.3131, allocations: 156.5 kB / 499.8 MB, free: 15.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.799e-05/0.3132, allocations: 110.3 kB / 499.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/0.3132, allocations: 16 kB / 499.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3133, allocations: 334.8 kB / 0.4885 GB, free: 15.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.3135, allocations: 80.83 kB / 0.4886 GB, free: 15.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.3138, allocations: 198 kB / 0.4888 GB, free: 14.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.314, allocations: 120.4 kB / 0.4889 GB, free: 14.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.314, allocations: 0 / 0.4889 GB, free: 14.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005643/0.3146, allocations: 348.8 kB / 0.4892 GB, free: 14.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3146, allocations: 8 kB / 0.4892 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.3146, allocations: 4 kB / 0.4892 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/0.3147, allocations: 12 kB / 0.4892 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/0.315, allocations: 87.89 kB / 0.4893 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.315, allocations: 11.94 kB / 0.4893 GB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.3152, allocations: 16.25 kB / 0.4893 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.3153, allocations: 23.98 kB / 0.4894 GB, free: 14.36 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.000135/0.3154, allocations: 141.7 kB / 0.4895 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-05/0.3155, allocations: 23.91 kB / 0.4895 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.449e-05/0.3156, allocations: 41.38 kB / 0.4896 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3156, allocations: 4 kB / 0.4896 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.3156, allocations: 0 / 0.4896 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3156, allocations: 3.938 kB / 0.4896 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.317, allocations: 0.9827 MB / 0.4905 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.317, allocations: 4 kB / 0.4905 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.3174, allocations: 83.89 kB / 0.4906 GB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.3174, allocations: 4 kB / 0.4906 GB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.3175, allocations: 8 kB / 0.4906 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3175, allocations: 4.25 kB / 0.4906 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3175, allocations: 8.25 kB / 0.4906 GB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008273/0.3183, allocations: 0.8427 MB / 0.4914 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.477e-05/0.3184, allocations: 100.8 kB / 0.4915 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.3184, allocations: 12 kB / 0.4916 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.3187, allocations: 11.98 kB / 0.4916 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.3188, allocations: 31.86 kB / 0.4916 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.3188, allocations: 16 kB / 0.4916 GB, free: 11.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000114/0.3189, allocations: 140.4 kB / 0.4917 GB, free: 11.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3189, allocations: 8 kB / 0.4918 GB, free: 11.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004464/0.3194, allocations: 68 kB / 0.4918 GB, free: 11.59 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.0001321/0.3195, allocations: 111.2 kB / 0.4919 GB, free: 11.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004651/0.32, allocations: 241.7 kB / 0.4922 GB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.32, allocations: 0 / 0.4922 GB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.3203, allocations: 123.8 kB / 0.4923 GB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/0.3208, allocations: 61.94 kB / 0.4923 GB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.3223, allocations: 1.149 MB / 0.4935 GB, free: 9.867 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.3226, allocations: 0.7725 MB / 0.4942 GB, free: 9.062 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.3228, allocations: 34.91 kB / 0.4942 GB, free: 9.027 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.693e-05/0.3228, allocations: 23.44 kB / 0.4943 GB, free: 9.004 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3229, allocations: 0 / 0.4943 GB, free: 9.004 MB / 378.7 MB Notification: Performance of Templates: time 0.005401/0.3283, allocations: 2.599 MB / 0.4968 GB, free: 6.43 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)