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.0008912/0.0008913, allocations: 97.59 kB / 16.99 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009375/0.0009377, allocations: 200.9 kB / 17.9 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.2 MB / 245.9 MB, free: 10.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002293/0.0002293, allocations: 7.984 kB / 306.6 MB, free: 1.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08762/0.08786, allocations: 51.49 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.002105/0.09, allocations: 1.88 MB / 359.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.09113, allocations: 0.7366 MB / 360.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.09125, allocations: 4 kB / 360.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.157e-05/0.09131, allocations: 27.78 kB / 360.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.0916, allocations: 107.6 kB / 360.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.09187, allocations: 87.83 kB / 360.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002937/0.09217, allocations: 211.5 kB / 361.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.09232, allocations: 61.03 kB / 361.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.09243, allocations: 95.62 kB / 361.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.09258, allocations: 111.5 kB / 361.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.09262, allocations: 12 kB / 361.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.29e-05/0.09266, allocations: 12 kB / 361.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.848e-05/0.0927, allocations: 47.81 kB / 361.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/0.09276, allocations: 69.58 kB / 361.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.09294, allocations: 183.7 kB / 361.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.09295, allocations: 0 / 361.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.09296, allocations: 0 / 361.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.09297, allocations: 4 kB / 361.7 MB, free: 10.28 MB / 302.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.0008035/0.09378, allocations: 0.5183 MB / 362.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.09383, allocations: 8.031 kB / 362.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.618e-05/0.09389, allocations: 27.72 kB / 362.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.09418, allocations: 248.3 kB / 362.5 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.09421, allocations: 16.44 kB / 362.5 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.09427, allocations: 27.95 kB / 362.5 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.09467, allocations: 238.6 kB / 362.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.0947, allocations: 11.89 kB / 362.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.09472, allocations: 4 kB / 362.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.09474, allocations: 8 kB / 362.8 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003544/0.0951, allocations: 163.8 kB / 362.9 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.09634, allocations: 1.032 MB / 364 MB, free: 7.793 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005311/0.09688, allocations: 298.1 kB / 364.3 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.09692, allocations: 4.625 kB / 364.3 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.09696, allocations: 46.42 kB / 364.3 MB, free: 7.406 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.382e-06/0.09696, allocations: 0 / 364.3 MB, free: 7.406 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001822/0.09879, allocations: 1.336 MB / 365.7 MB, free: 5.879 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.09887, allocations: 144.4 kB / 365.8 MB, free: 5.707 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.09905, allocations: 195 kB / 366 MB, free: 5.504 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.09909, allocations: 37.64 kB / 366 MB, free: 5.461 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.353e-05/0.09919, allocations: 156.4 kB / 366.2 MB, free: 5.305 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.82e-05/0.09927, allocations: 118.3 kB / 366.3 MB, free: 5.188 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.301e-05/0.09929, allocations: 8 kB / 366.3 MB, free: 5.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.09942, allocations: 342.8 kB / 366.6 MB, free: 4.836 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.09961, allocations: 80.83 kB / 366.7 MB, free: 4.758 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.09986, allocations: 194.1 kB / 366.9 MB, free: 4.516 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.1001, allocations: 107.9 kB / 367 MB, free: 4.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1001, allocations: 0 / 367 MB, free: 4.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005468/0.1007, allocations: 345 kB / 367.3 MB, free: 4.066 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.1007, allocations: 8 kB / 367.4 MB, free: 4.059 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1007, allocations: 4 kB / 367.4 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.1007, allocations: 4 kB / 367.4 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/0.1011, allocations: 99.83 kB / 367.5 MB, free: 3.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.1011, allocations: 4.391 kB / 367.5 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.1013, allocations: 12 kB / 367.5 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.1013, allocations: 24.44 kB / 367.5 MB, free: 3.914 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.1015, allocations: 153.7 kB / 367.6 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.051e-05/0.1016, allocations: 23.72 kB / 367.7 MB, free: 3.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.711e-05/0.1016, allocations: 33.39 kB / 367.7 MB, free: 3.695 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1017, allocations: 7.984 kB / 367.7 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.1017, allocations: 4 kB / 367.7 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1017, allocations: 0 / 367.7 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.103, allocations: 0.9789 MB / 368.7 MB, free: 2.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.103, allocations: 0 / 368.7 MB, free: 2.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.1034, allocations: 80.14 kB / 368.8 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1034, allocations: 4 kB / 368.8 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.1034, allocations: 20 kB / 368.8 MB, free: 2.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.1034, allocations: 7.938 kB / 368.8 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.1034, allocations: 8.203 kB / 368.8 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008846/0.1043, allocations: 0.8402 MB / 369.7 MB, free: 1.551 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-05/0.1044, allocations: 104.8 kB / 369.8 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.1044, allocations: 8 kB / 369.8 MB, free: 1.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.1047, allocations: 15.98 kB / 369.8 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.999e-05/0.1048, allocations: 35.86 kB / 369.8 MB, free: 1.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.1048, allocations: 8 kB / 369.8 MB, free: 1.363 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.1049, allocations: 148.4 kB / 370 MB, free: 1.219 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1049, allocations: 4 kB / 370 MB, free: 1.215 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004682/0.1054, allocations: 64 kB / 370 MB, free: 1.152 MB / 302.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 (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.0001286/0.1055, allocations: 111.4 kB / 370.1 MB, free: 1.035 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004823/0.106, allocations: 244.1 kB / 370.4 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1061, allocations: 0 / 370.4 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.1063, allocations: 119.8 kB / 370.5 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/0.1069, allocations: 60.41 kB / 370.6 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1548/0.2617, allocations: 1.131 MB / 371.7 MB, free: 19.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.262, allocations: 0.767 MB / 372.5 MB, free: 18.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001854/0.2621, allocations: 39.98 kB / 372.5 MB, free: 18.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.424e-05/0.2622, allocations: 29.59 kB / 372.5 MB, free: 18.42 MB / 302.1 MB Notification: Performance of SimCode: time 1.082e-06/0.2622, allocations: 0 / 372.5 MB, free: 18.42 MB / 302.1 MB Notification: Performance of Templates: time 0.006798/0.269, allocations: 2.609 MB / 375.1 MB, free: 18.27 MB / 302.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)