Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001372/0.001372, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001583/0.001583, allocations: 209.4 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.469/1.469, allocations: 230.4 MB / 258.1 MB, free: 8.137 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=50000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 75.83 kB / 378.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2787, allocations: 53.31 MB / 432 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003635/0.2823, allocations: 2.388 MB / 434.4 MB, free: 5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.2837, allocations: 0.7673 MB / 435.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.2838, allocations: 7.938 kB / 435.2 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.284, allocations: 35.59 kB / 435.2 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.2843, allocations: 91.31 kB / 435.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.2846, allocations: 115.7 kB / 435.4 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003765/0.285, allocations: 298.7 kB / 435.7 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.2851, allocations: 48.72 kB / 435.8 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.2853, allocations: 115.6 kB / 435.9 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.2855, allocations: 131.3 kB / 436 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.2855, allocations: 23.94 kB / 436 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.351e-05/0.2856, allocations: 20 kB / 436.1 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.631e-05/0.2856, allocations: 51.83 kB / 436.1 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.2858, allocations: 139.3 kB / 436.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.2861, allocations: 268.8 kB / 436.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.2861, allocations: 0 / 436.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2861, allocations: 0 / 436.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.2861, allocations: 0 / 436.5 MB, free: 2.902 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.001009/0.2872, allocations: 0.561 MB / 437.1 MB, free: 2.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2872, allocations: 8.031 kB / 437.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.329e-05/0.2873, allocations: 28.75 kB / 437.1 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.2877, allocations: 261.6 kB / 437.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.2877, allocations: 16.81 kB / 437.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-05/0.2878, allocations: 24.38 kB / 437.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/0.2882, allocations: 243 kB / 437.6 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.2883, allocations: 3.953 kB / 437.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.2883, allocations: 12 kB / 437.7 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.2883, allocations: 4 kB / 437.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003748/0.2887, allocations: 159.8 kB / 437.8 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.2901, allocations: 1.02 MB / 438.8 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005578/0.2906, allocations: 282.1 kB / 439.1 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.2909, allocations: 87.41 kB / 439.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.2909, allocations: 4.625 kB / 439.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.787e-05/0.2909, allocations: 46.56 kB / 439.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.532e-06/0.2909, allocations: 3.938 kB / 439.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002169/0.2931, allocations: 1.345 MB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.2932, allocations: 132.5 kB / 440.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.2935, allocations: 202.8 kB / 440.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.2935, allocations: 29.7 kB / 440.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.2936, allocations: 156.7 kB / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.2937, allocations: 126.9 kB / 441.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.2938, allocations: 70.12 kB / 441.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.294, allocations: 338.8 kB / 441.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.2942, allocations: 80.83 kB / 441.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.2945, allocations: 198 kB / 441.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000507/0.295, allocations: 301.8 kB / 442.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.295, allocations: 4 kB / 442.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006301/0.2956, allocations: 349.1 kB / 442.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.2957, allocations: 7.938 kB / 442.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.2957, allocations: 4.312 kB / 442.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.2957, allocations: 8 kB / 442.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.2961, allocations: 88.14 kB / 442.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.2961, allocations: 11.94 kB / 442.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.2963, allocations: 23.92 kB / 442.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.2963, allocations: 19.98 kB / 442.7 MB, free: 12.1 MB / 350.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.0001585/0.2964, allocations: 141.7 kB / 442.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.2966, allocations: 31.86 kB / 442.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.766e-05/0.2966, allocations: 29.39 kB / 442.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2966, allocations: 4 kB / 442.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2967, allocations: 0 / 442.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.2967, allocations: 11.94 kB / 442.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.2983, allocations: 0.9633 MB / 443.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.2983, allocations: 4 kB / 443.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.2986, allocations: 84.14 kB / 444 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.2987, allocations: 4 kB / 444 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.2987, allocations: 12 kB / 444 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.2987, allocations: 4 kB / 444 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.2987, allocations: 7.984 kB / 444 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009419/0.2996, allocations: 0.7086 MB / 444.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.2998, allocations: 101 kB / 444.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.101e-05/0.2998, allocations: 8 kB / 444.8 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.3001, allocations: 15.98 kB / 444.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.3002, allocations: 35.84 kB / 444.9 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.3002, allocations: 8 kB / 444.9 MB, free: 9.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.3003, allocations: 144.6 kB / 445 MB, free: 9.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3003, allocations: 0 / 445 MB, free: 9.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004764/0.3008, allocations: 64 kB / 445.1 MB, free: 9.57 MB / 350.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.0001607/0.301, allocations: 115.1 kB / 445.2 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006313/0.3016, allocations: 227.8 kB / 445.4 MB, free: 9.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3016, allocations: 4 kB / 445.4 MB, free: 9.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003149/0.3019, allocations: 116.8 kB / 445.5 MB, free: 9.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007789/0.3027, allocations: 78.05 kB / 445.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.3046, allocations: 0.9618 MB / 446.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006514/0.3052, allocations: 0.7643 MB / 447.3 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.3054, allocations: 34.97 kB / 447.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.039e-05/0.3055, allocations: 27.42 kB / 447.4 MB, free: 7.16 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3055, allocations: 4 kB / 447.4 MB, free: 7.156 MB / 350.1 MB Notification: Performance of Templates: time 0.007795/0.3133, allocations: 3.086 MB / 450.5 MB, free: 4.09 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.515368024818599] Failed to read output from testmodel.py, exit status != 0: 0.32160187466070056 0.336600919 0.047369529 Calling exit ...