Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009641/0.0009642, allocations: 195.5 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 226.5 MB / 244.7 MB, free: 6.434 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007607/0.0007607, allocations: 101.1 kB / 296.8 MB, free: 6.691 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002081/0.0002081, allocations: 8 kB / 356.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2016, allocations: 51.3 MB / 408 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.001782/0.2034, allocations: 1.973 MB / 410 MB, free: 25.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009158/0.2043, allocations: 0.7093 MB / 410.7 MB, free: 25.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.2045, allocations: 9.469 kB / 410.7 MB, free: 25.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.2046, allocations: 23.78 kB / 410.8 MB, free: 24.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.2048, allocations: 68.92 kB / 410.8 MB, free: 24.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.205, allocations: 93.05 kB / 410.9 MB, free: 24.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.2053, allocations: 282.7 kB / 411.2 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.2054, allocations: 53.56 kB / 411.2 MB, free: 24.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.99e-05/0.2055, allocations: 104.2 kB / 411.3 MB, free: 24.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.2057, allocations: 112.2 kB / 411.5 MB, free: 24.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.2057, allocations: 15.94 kB / 411.5 MB, free: 24.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.249e-05/0.2058, allocations: 12.5 kB / 411.5 MB, free: 24.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.013e-05/0.2058, allocations: 39.84 kB / 411.5 MB, free: 24.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.559e-05/0.2059, allocations: 149.6 kB / 411.7 MB, free: 24.06 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.206, allocations: 190 kB / 411.9 MB, free: 23.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.206, allocations: 0 / 411.9 MB, free: 23.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2061, allocations: 0 / 411.9 MB, free: 23.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2061, allocations: 0 / 411.9 MB, free: 23.88 MB / 298.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.0007271/0.2068, allocations: 0.5081 MB / 412.4 MB, free: 23.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.2068, allocations: 12.03 kB / 412.4 MB, free: 23.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.2069, allocations: 28.66 kB / 412.4 MB, free: 23.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.2071, allocations: 257.4 kB / 412.7 MB, free: 23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.2072, allocations: 16.81 kB / 412.7 MB, free: 22.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.2072, allocations: 28.38 kB / 412.7 MB, free: 22.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.2076, allocations: 247 kB / 412.9 MB, free: 22.69 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.2076, allocations: 11.84 kB / 412.9 MB, free: 22.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.2076, allocations: 8 kB / 413 MB, free: 22.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.2076, allocations: 4 kB / 413 MB, free: 22.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.208, allocations: 163.9 kB / 413.1 MB, free: 22.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009929/0.209, allocations: 1.032 MB / 414.2 MB, free: 21.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/0.2094, allocations: 302.1 kB / 414.4 MB, free: 21.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.2096, allocations: 92.03 kB / 414.5 MB, free: 20.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.2096, allocations: 15.98 kB / 414.6 MB, free: 20.94 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.2096, allocations: 38.55 kB / 414.6 MB, free: 20.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.543e-06/0.2096, allocations: 3.938 kB / 414.6 MB, free: 20.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001488/0.2111, allocations: 1.331 MB / 415.9 MB, free: 19.37 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.2112, allocations: 136.5 kB / 416.1 MB, free: 19.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.2113, allocations: 206.8 kB / 416.3 MB, free: 18.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.2114, allocations: 29.7 kB / 416.3 MB, free: 18.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.639e-05/0.2114, allocations: 152.5 kB / 416.4 MB, free: 18.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.2115, allocations: 114.3 kB / 416.6 MB, free: 18.69 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.386e-05/0.2115, allocations: 8 kB / 416.6 MB, free: 18.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.52e-05/0.2116, allocations: 342.8 kB / 416.9 MB, free: 18.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.2117, allocations: 88.77 kB / 417 MB, free: 18.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.2119, allocations: 197.9 kB / 417.2 MB, free: 18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/0.2123, allocations: 310.6 kB / 417.5 MB, free: 17.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2123, allocations: 4 kB / 417.5 MB, free: 17.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00047/0.2128, allocations: 344.8 kB / 417.8 MB, free: 17.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2128, allocations: 7.938 kB / 417.8 MB, free: 17.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2128, allocations: 8.25 kB / 417.8 MB, free: 17.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.2128, allocations: 8 kB / 417.8 MB, free: 17.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.2132, allocations: 87.89 kB / 417.9 MB, free: 17.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.2132, allocations: 11.94 kB / 417.9 MB, free: 17.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.2133, allocations: 23.92 kB / 418 MB, free: 17.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.2133, allocations: 16 kB / 418 MB, free: 17.14 MB / 298.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 9.522e-05/0.2135, allocations: 137.8 kB / 418.1 MB, free: 17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.495e-05/0.2135, allocations: 23.72 kB / 418.1 MB, free: 16.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.995e-05/0.2136, allocations: 41.39 kB / 418.2 MB, free: 16.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2136, allocations: 4 kB / 418.2 MB, free: 16.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.2136, allocations: 0 / 418.2 MB, free: 16.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.2136, allocations: 7.875 kB / 418.2 MB, free: 16.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.2147, allocations: 0.983 MB / 419.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2148, allocations: 4 kB / 419.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.2151, allocations: 83.89 kB / 419.3 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.2151, allocations: 4 kB / 419.3 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.2151, allocations: 8 kB / 419.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.2151, allocations: 4 kB / 419.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2152, allocations: 4 kB / 419.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005923/0.2157, allocations: 0.7045 MB / 420 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.2158, allocations: 100.8 kB / 420.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.2158, allocations: 12 kB / 420.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.2161, allocations: 15.98 kB / 420.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.2161, allocations: 35.84 kB / 420.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.2162, allocations: 8 kB / 420.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.654e-05/0.2163, allocations: 148.4 kB / 420.3 MB, free: 14.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.2163, allocations: 0 / 420.3 MB, free: 14.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004189/0.2167, allocations: 67.94 kB / 420.4 MB, free: 14.61 MB / 298.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.0001039/0.2168, allocations: 111.2 kB / 420.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004127/0.2172, allocations: 240.8 kB / 420.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2172, allocations: 0 / 420.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.2174, allocations: 133.1 kB / 420.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007402/0.2182, allocations: 62.44 kB / 420.9 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.2195, allocations: 1.173 MB / 422.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.2197, allocations: 0.7608 MB / 422.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.02e-05/0.2198, allocations: 27.44 kB / 422.9 MB, free: 12.02 MB / 298.7 MB Notification: Performance of SimCode: time 6.92e-07/0.2198, allocations: 3.938 kB / 422.9 MB, free: 12.01 MB / 298.7 MB Notification: Performance of Templates: time 0.004262/0.2241, allocations: 3.282 MB / 426.1 MB, free: 8.738 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce --alarm=480 > Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1)