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.001826/0.001826, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00189/0.00189, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 8.023 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_CompareBrakingForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_CompareBrakingForce",fmuType="me",version="2.0",platforms={"static"}) [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.001938/0.001938, allocations: 72.73 kB / 378.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2603, allocations: 53.37 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003776/0.2641, allocations: 2.381 MB / 434.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.2655, allocations: 0.7673 MB / 435.1 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.2657, allocations: 11.94 kB / 435.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.2658, allocations: 31.59 kB / 435.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.2661, allocations: 99.25 kB / 435.2 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.2665, allocations: 123.6 kB / 435.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003561/0.2668, allocations: 306.6 kB / 435.6 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.267, allocations: 47.31 kB / 435.7 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.2671, allocations: 119.6 kB / 435.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.2673, allocations: 123.5 kB / 435.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.2674, allocations: 23.94 kB / 435.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.078e-05/0.2674, allocations: 20 kB / 435.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.2675, allocations: 55.77 kB / 436 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.2676, allocations: 131.3 kB / 436.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.268, allocations: 275.6 kB / 436.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.268, allocations: 0 / 436.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.268, allocations: 4 kB / 436.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.268, allocations: 0 / 436.4 MB, free: 2.391 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.0009711/0.2689, allocations: 489.4 kB / 436.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.269, allocations: 8.031 kB / 436.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.456e-05/0.2691, allocations: 58.73 kB / 436.9 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.098e-05/0.2691, allocations: 28.75 kB / 437 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.2695, allocations: 203.8 kB / 437.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.2695, allocations: 12.81 kB / 437.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.2696, allocations: 24.31 kB / 437.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.27, allocations: 246.8 kB / 437.4 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.27, allocations: 7.953 kB / 437.5 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.2701, allocations: 8 kB / 437.5 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.2701, allocations: 8 kB / 437.5 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003714/0.2704, allocations: 159.8 kB / 437.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.2718, allocations: 0.9765 MB / 438.6 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005802/0.2724, allocations: 286.3 kB / 438.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.2726, allocations: 91.33 kB / 439 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.2726, allocations: 4 kB / 439 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.2726, allocations: 42.56 kB / 439 MB, free: 15.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.362e-06/0.2726, allocations: 0 / 439 MB, free: 15.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001847/0.2745, allocations: 1.04 MB / 440.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.039e-05/0.2746, allocations: 140.5 kB / 440.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.2748, allocations: 214.7 kB / 440.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.2748, allocations: 29.7 kB / 440.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.2749, allocations: 156.7 kB / 440.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.275, allocations: 123 kB / 440.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.285e-05/0.2751, allocations: 66.14 kB / 440.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.2753, allocations: 346.8 kB / 441.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.2755, allocations: 80.83 kB / 441.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.2758, allocations: 197.9 kB / 441.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005114/0.2763, allocations: 301.9 kB / 441.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2763, allocations: 0 / 441.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006426/0.2769, allocations: 345 kB / 442 MB, free: 12.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.2769, allocations: 8 kB / 442 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.2769, allocations: 4 kB / 442 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.277, allocations: 7.938 kB / 442 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/0.2773, allocations: 95.89 kB / 442.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.2773, allocations: 4 kB / 442.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.2775, allocations: 24.19 kB / 442.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.2775, allocations: 15.94 kB / 442.2 MB, free: 12.11 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.0001504/0.2777, allocations: 145.8 kB / 442.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-05/0.2778, allocations: 23.86 kB / 442.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.311e-05/0.2779, allocations: 33.41 kB / 442.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2779, allocations: 4 kB / 442.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2779, allocations: 0 / 442.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.2779, allocations: 7.922 kB / 442.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.2793, allocations: 0.9394 MB / 443.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.2793, allocations: 4 kB / 443.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.2797, allocations: 83.89 kB / 443.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.2797, allocations: 4 kB / 443.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.2798, allocations: 8 kB / 443.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.2798, allocations: 11.92 kB / 443.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2798, allocations: 4 kB / 443.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008709/0.2806, allocations: 0.7002 MB / 444.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.2807, allocations: 27.8 kB / 444.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.2807, allocations: 8 kB / 444.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.281, allocations: 11.98 kB / 444.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.2811, allocations: 35.84 kB / 444.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.2811, allocations: 15.98 kB / 444.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.2812, allocations: 144.6 kB / 444.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2812, allocations: 0 / 444.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004621/0.2817, allocations: 64 kB / 444.4 MB, free: 9.711 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.001202/0.2829, allocations: 1.25 MB / 445.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005051/0.2834, allocations: 224.1 kB / 445.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2834, allocations: 8.438 kB / 445.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.2836, allocations: 123.8 kB / 446 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007712/0.2844, allocations: 71.92 kB / 446.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004645/0.289, allocations: 3.488 MB / 449.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.2895, allocations: 0.7682 MB / 450.4 MB, free: 3.488 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.2896, allocations: 34.95 kB / 450.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.2897, allocations: 83.41 kB / 450.5 MB, free: 3.371 MB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.2897, allocations: 0 / 450.5 MB, free: 3.371 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.3202, allocations: 6.01 MB / 456.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.387, allocations: 12.03 kB / 456.5 MB, free: 13.46 MB / 366.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_CompareBrakingForce.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.863315225113183] Failed to read output from testmodel.py, exit status != 0: ['time', 'mass1.v', 'mass2.v', 'mass3.v', 'mass4.v'] 8.460229888092726 8.480647262 8.209163153 Calling exit ...