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.001825/0.001825, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.599/1.599, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009245/0.0009246, allocations: 94.06 kB / 292.1 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.982e-05/4.983e-05, allocations: 4 kB / 350.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1773, allocations: 51.5 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4168/0.5942, allocations: 79.91 MB / 481.9 MB, free: 9.566 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.5945, allocations: 67.12 kB / 482 MB, free: 9.531 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0145/0.609, allocations: 5.834 MB / 487.8 MB, free: 4.719 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.609, allocations: 0 / 487.8 MB, free: 4.719 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.449e-05/0.6091, allocations: 8 kB / 487.8 MB, free: 4.711 MB / 346.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.0006961/0.6098, allocations: 499.2 kB / 488.3 MB, free: 4.203 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.6098, allocations: 8.031 kB / 488.3 MB, free: 4.195 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.796e-05/0.6099, allocations: 31.7 kB / 488.4 MB, free: 4.164 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.6102, allocations: 242 kB / 488.6 MB, free: 3.898 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.6103, allocations: 16.3 kB / 488.6 MB, free: 3.891 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.201e-05/0.6103, allocations: 23.12 kB / 488.6 MB, free: 3.875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.6107, allocations: 232.7 kB / 488.9 MB, free: 3.691 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.6107, allocations: 7.906 kB / 488.9 MB, free: 3.684 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.6108, allocations: 6.75 kB / 488.9 MB, free: 3.684 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.6108, allocations: 8 kB / 488.9 MB, free: 3.676 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.611, allocations: 140.5 kB / 489 MB, free: 3.578 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.6122, allocations: 1.022 MB / 490.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.6126, allocations: 265.4 kB / 490.3 MB, free: 2.371 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.6127, allocations: 86.52 kB / 490.4 MB, free: 2.297 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.6127, allocations: 4.188 kB / 490.4 MB, free: 2.297 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.6128, allocations: 42.55 kB / 490.4 MB, free: 2.246 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 2.264e-06/0.6128, allocations: 0 / 490.4 MB, free: 2.246 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.001328/0.6141, allocations: 1.226 MB / 491.7 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.6142, allocations: 141 kB / 491.8 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.6143, allocations: 179.7 kB / 492 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.6144, allocations: 29.39 kB / 492 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.339e-05/0.6145, allocations: 156.8 kB / 492.2 MB, free: 464 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.682e-05/0.6145, allocations: 116.7 kB / 492.3 MB, free: 360 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/0.6145, allocations: 11.12 kB / 492.3 MB, free: 356 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.948e-05/0.6146, allocations: 337.6 kB / 492.6 MB, free: 20 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.6148, allocations: 73.8 kB / 492.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.615, allocations: 188.2 kB / 492.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.6152, allocations: 93.44 kB / 493 MB, free: 15.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.6152, allocations: 4 kB / 493 MB, free: 15.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005138/0.6157, allocations: 324.8 kB / 493.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.6157, allocations: 8 kB / 493.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.6157, allocations: 4 kB / 493.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.6158, allocations: 4 kB / 493.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/0.6162, allocations: 99.45 kB / 493.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/0.6162, allocations: 5.25 kB / 493.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.6164, allocations: 18.62 kB / 493.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.6164, allocations: 16.81 kB / 493.4 MB, free: 15.31 MB / 362.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 () * 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.0001254/0.6166, allocations: 136.8 kB / 493.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.6167, allocations: 23.72 kB / 493.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.773e-05/0.6168, allocations: 33.52 kB / 493.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.6168, allocations: 4 kB / 493.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.6168, allocations: 9.625 kB / 493.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.6168, allocations: 3.984 kB / 493.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.6181, allocations: 0.956 MB / 494.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.6182, allocations: 5.375 kB / 494.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.6186, allocations: 75.91 kB / 494.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.6186, allocations: 4 kB / 494.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.6186, allocations: 15.98 kB / 494.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/0.6186, allocations: 7.938 kB / 494.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.6186, allocations: 7.953 kB / 494.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007701/0.6194, allocations: 0.8076 MB / 495.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.14e-05/0.6195, allocations: 96.83 kB / 495.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.6196, allocations: 11.98 kB / 495.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.6198, allocations: 12 kB / 495.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.656e-05/0.6199, allocations: 39.86 kB / 495.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.6199, allocations: 8 kB / 495.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000125/0.6201, allocations: 148.4 kB / 495.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6201, allocations: 0 / 495.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004668/0.6206, allocations: 64 kB / 495.9 MB, free: 12.64 MB / 362.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 () * 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.0001747/0.6207, allocations: 115.6 kB / 496 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004066/0.6212, allocations: 219.3 kB / 496.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6212, allocations: 0 / 496.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.6214, allocations: 115.8 kB / 496.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/0.6219, allocations: 54.75 kB / 496.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.6235, allocations: 0.8699 MB / 497.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.624, allocations: 0.7686 MB / 498 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001702/0.6241, allocations: 30.97 kB / 498.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.782e-05/0.6242, allocations: 31.42 kB / 498.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.6242, allocations: 0 / 498.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of Templates: time 0.007011/0.6312, allocations: 2.629 MB / 0.489 GB, free: 7.805 MB / 362.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)