Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.001661/0.001661, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002123/0.002123, allocations: 212 kB / 24.54 MB, free: 4.016 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.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 8.066 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.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",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.001928/0.001928, allocations: 72.75 kB / 378.5 MB, free: 3.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2566, allocations: 53.37 MB / 431.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003342/0.2599, allocations: 2.03 MB / 433.9 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.2611, allocations: 0.7051 MB / 434.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.497e-05/0.2612, allocations: 4 kB / 434.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.2613, allocations: 15.8 kB / 434.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.917e-05/0.2614, allocations: 39.64 kB / 434.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.2617, allocations: 63.72 kB / 434.8 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.2619, allocations: 147.3 kB / 434.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.262, allocations: 25.31 kB / 434.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.553e-05/0.2621, allocations: 59.72 kB / 435 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.2622, allocations: 63.75 kB / 435 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.2623, allocations: 8 kB / 435.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.263e-05/0.2623, allocations: 27.98 kB / 435.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.919e-05/0.2624, allocations: 23.86 kB / 435.1 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.559e-05/0.2624, allocations: 59.73 kB / 435.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.2627, allocations: 156.2 kB / 435.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2627, allocations: 0 / 435.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2627, allocations: 0 / 435.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.2627, allocations: 4 kB / 435.3 MB, free: 3.625 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006689/0.2634, allocations: 369.7 kB / 435.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2634, allocations: 8.031 kB / 435.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.238e-05/0.2634, allocations: 38.75 kB / 435.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/0.2636, allocations: 32.83 kB / 435.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.2639, allocations: 145.2 kB / 435.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.2639, allocations: 8.375 kB / 435.9 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.2639, allocations: 16.12 kB / 435.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.2642, allocations: 109.6 kB / 436 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.2642, allocations: 3.953 kB / 436 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.2642, allocations: 8 kB / 436 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2642, allocations: 3.938 kB / 436.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002737/0.2645, allocations: 107.8 kB / 436.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008134/0.2653, allocations: 454.5 kB / 436.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003612/0.2657, allocations: 122.6 kB / 436.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.2658, allocations: 40.84 kB / 436.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.2658, allocations: 0 / 436.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.2659, allocations: 42.48 kB / 436.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.011e-06/0.2659, allocations: 0 / 436.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001042/0.2669, allocations: 413.2 kB / 437.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.267, allocations: 51.41 kB / 437.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.2671, allocations: 134.2 kB / 437.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.2671, allocations: 25.7 kB / 437.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.835e-05/0.2672, allocations: 120.2 kB / 437.5 MB, free: 1.215 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.2672, allocations: 47.58 kB / 437.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/0.2673, allocations: 41.66 kB / 437.6 MB, free: 1.121 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2674, allocations: 318.8 kB / 437.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.2676, allocations: 47.83 kB / 438 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.2677, allocations: 75.39 kB / 438 MB, free: 0.668 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.268, allocations: 129.6 kB / 438.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.268, allocations: 0 / 438.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003404/0.2683, allocations: 165.5 kB / 438.3 MB, free: 372 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.2683, allocations: 4 kB / 438.3 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2683, allocations: 0 / 438.3 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.2684, allocations: 8.062 kB / 438.3 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.2685, allocations: 39.91 kB / 438.4 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.2685, allocations: 4 kB / 438.4 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.352e-05/0.2686, allocations: 11.98 kB / 438.4 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.2686, allocations: 4 kB / 438.4 MB, free: 300 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 18 * 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.0001083/0.2688, allocations: 125.8 kB / 438.5 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.2688, allocations: 11.89 kB / 438.5 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.697e-05/0.2688, allocations: 12.78 kB / 438.6 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2688, allocations: 8 kB / 438.6 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.2688, allocations: 4 kB / 438.6 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2689, allocations: 0 / 438.6 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007254/0.2696, allocations: 447 kB / 439 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2696, allocations: 4 kB / 439 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.2698, allocations: 39.97 kB / 439 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.2698, allocations: 4 kB / 439 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.2698, allocations: 0 / 439 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.2698, allocations: 4 kB / 439.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2698, allocations: 0 / 439.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005082/0.2703, allocations: 313 kB / 439.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.767e-05/0.2703, allocations: 7.953 kB / 439.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.2703, allocations: 4 kB / 439.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.2705, allocations: 8.031 kB / 439.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.2705, allocations: 11.92 kB / 439.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.2705, allocations: 8 kB / 439.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.914e-05/0.2706, allocations: 105.5 kB / 439.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2706, allocations: 4 kB / 439.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.2709, allocations: 35.88 kB / 439.5 MB, free: 15.08 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,heatCapacitor.T) * 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 (13): * Single equations (assignments): 13 * 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.0007906/0.2716, allocations: 0.8389 MB / 440.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003196/0.272, allocations: 103.9 kB / 440.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.272, allocations: 0 / 440.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.2721, allocations: 55.91 kB / 440.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.2725, allocations: 32.16 kB / 440.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.275, allocations: 1.988 MB / 442.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.2753, allocations: 0.7158 MB / 443.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.635e-05/0.2754, allocations: 8.641 kB / 443.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.79e-05/0.2755, allocations: 35.44 kB / 443.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2755, allocations: 4 kB / 443.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02796/0.3034, allocations: 3.113 MB / 446.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.178/8.482, allocations: 11.86 kB / 446.4 MB, free: 8.113 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.800778639968485] Failed to read output from testmodel.py, exit status != 0: ['time', 'eddyCurrentForce.lossPower', 'mass.s', 'heatCapacitor.T'] 8.555567498784512 8.588579791 8.31964306 Calling exit ...