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.001106/0.001107, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001243/0.001243, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2429, allocations: 50.54 MB / 409.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003248/0.2462, allocations: 2.362 MB / 411.6 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.2474, allocations: 0.7595 MB / 412.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.2476, allocations: 7.938 kB / 412.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.2477, allocations: 39.58 kB / 412.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.248, allocations: 91.33 kB / 412.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.2483, allocations: 115.7 kB / 412.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.2486, allocations: 302.6 kB / 412.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.2488, allocations: 68.7 kB / 413 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.2489, allocations: 115.6 kB / 413.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.2491, allocations: 131.4 kB / 413.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.2491, allocations: 20 kB / 413.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.615e-05/0.2492, allocations: 20 kB / 413.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.757e-05/0.2492, allocations: 51.78 kB / 413.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.2494, allocations: 131.4 kB / 413.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.2497, allocations: 276.1 kB / 413.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2497, allocations: 0 / 413.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2497, allocations: 0 / 413.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.2497, 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.000886/0.2506, allocations: 0.5573 MB / 414.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.2506, allocations: 8.031 kB / 414.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.845e-05/0.2507, allocations: 28.66 kB / 414.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.251, allocations: 257.5 kB / 414.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.2511, allocations: 16.81 kB / 414.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/0.2511, allocations: 28.28 kB / 414.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.2515, allocations: 239 kB / 414.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.2516, allocations: 0 / 414.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.2516, allocations: 12 kB / 414.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.2516, allocations: 7.984 kB / 414.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003797/0.252, allocations: 175.3 kB / 415 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.2532, allocations: 1.012 MB / 416 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000546/0.2538, allocations: 290.2 kB / 416.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.254, allocations: 95.41 kB / 416.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.254, allocations: 4 kB / 416.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.2541, allocations: 39.02 kB / 416.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.2541, allocations: 3.938 kB / 416.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.00186/0.2559, allocations: 1.327 MB / 417.8 MB, free: 8.609 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.898e-05/0.256, allocations: 132.5 kB / 417.9 MB, free: 8.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.2562, allocations: 214.6 kB / 418.1 MB, free: 8.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.2563, allocations: 29.7 kB / 418.1 MB, free: 8.195 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.472e-05/0.2564, allocations: 152.5 kB / 418.3 MB, free: 8.043 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.164e-05/0.2564, allocations: 122.2 kB / 418.4 MB, free: 7.922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.635e-05/0.2565, allocations: 70.14 kB / 418.5 MB, free: 7.848 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.2567, allocations: 334.8 kB / 418.8 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.2569, allocations: 80.83 kB / 418.9 MB, free: 7.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.2571, allocations: 202 kB / 419.1 MB, free: 7.184 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.2576, allocations: 298.6 kB / 419.4 MB, free: 6.844 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2576, allocations: 3.938 kB / 419.4 MB, free: 6.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000594/0.2582, allocations: 353.1 kB / 419.7 MB, free: 6.488 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2583, allocations: 10.38 kB / 419.7 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.2583, allocations: 4 kB / 419.7 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.2583, allocations: 8 kB / 419.7 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.2587, allocations: 87.89 kB / 419.8 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.2587, allocations: 7.938 kB / 419.8 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.2589, allocations: 19.94 kB / 419.8 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.2589, allocations: 16 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.0001291/0.259, allocations: 145.7 kB / 420 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.2591, allocations: 35.72 kB / 420 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.817e-05/0.2592, allocations: 25.41 kB / 420.1 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2592, allocations: 4 kB / 420.1 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2592, allocations: 0 / 420.1 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.2592, allocations: 11.92 kB / 420.1 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.2606, allocations: 0.9671 MB / 421 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2606, allocations: 4 kB / 421.1 MB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/0.261, allocations: 83.89 kB / 421.1 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.261, allocations: 4.25 kB / 421.1 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.261, allocations: 12 kB / 421.2 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.2611, allocations: 4 kB / 421.2 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.2611, allocations: 4.25 kB / 421.2 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007831/0.2619, allocations: 0.7038 MB / 421.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-05/0.2619, allocations: 104.8 kB / 422 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.262, allocations: 12 kB / 422 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.2623, allocations: 12 kB / 422 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.2624, allocations: 35.78 kB / 422 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.2624, allocations: 8 kB / 422 MB, free: 4.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.2625, allocations: 148.6 kB / 422.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2625, allocations: 0 / 422.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004801/0.263, 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.0001364/0.2631, allocations: 115.2 kB / 422.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000514/0.2637, allocations: 233.1 kB / 422.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2637, allocations: 3.938 kB / 422.6 MB, free: 3.449 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.2639, allocations: 128.3 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.0007651/0.2647, allocations: 68.61 kB / 422.8 MB, free: 3.258 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.2662, allocations: 0.9515 MB / 423.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.2666, allocations: 0.7567 MB / 424.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.2667, 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 7.73e-05/0.2668, allocations: 31.44 kB / 424.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2668, allocations: 0 / 424.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of Templates: time 0.00627/0.2731, allocations: 2.984 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)