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.001729/0.001729, allocations: 109 kB / 21.23 MB, free: 0.6719 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.002083/0.002083, allocations: 209.2 kB / 24.53 MB, free: 4.035 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.486/1.486, allocations: 230.6 MB / 258.3 MB, free: 8.07 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.002045/0.002045, allocations: 68.77 kB / 378.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3086, allocations: 53.36 MB / 431.9 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003514/0.3121, allocations: 2.038 MB / 433.9 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.3133, allocations: 0.7052 MB / 434.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.3135, allocations: 7.938 kB / 434.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.3136, allocations: 15.8 kB / 434.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.766e-05/0.3137, allocations: 47.62 kB / 434.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.3139, allocations: 47.88 kB / 434.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.3141, allocations: 151.3 kB / 434.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.3143, allocations: 25.23 kB / 434.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.405e-05/0.3144, allocations: 55.78 kB / 435 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.3145, allocations: 59.77 kB / 435 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.3145, allocations: 12 kB / 435.1 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.862e-05/0.3146, allocations: 27.98 kB / 435.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.162e-05/0.3146, allocations: 19.86 kB / 435.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.952e-05/0.3147, allocations: 63.73 kB / 435.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.3149, allocations: 164.1 kB / 435.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.315, allocations: 0 / 435.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.315, allocations: 0 / 435.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.315, allocations: 0 / 435.3 MB, free: 3.629 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.000682/0.3156, allocations: 369.7 kB / 435.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.3157, allocations: 8.031 kB / 435.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.435e-05/0.3157, allocations: 38.75 kB / 435.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.3159, allocations: 36.81 kB / 435.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.3162, allocations: 142.3 kB / 435.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.3162, allocations: 12.38 kB / 435.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.3162, allocations: 20.11 kB / 435.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.3165, allocations: 109.6 kB / 436 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.3165, allocations: 3.953 kB / 436 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.3166, allocations: 7.984 kB / 436.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3166, allocations: 11.94 kB / 436.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.3168, allocations: 87.94 kB / 436.2 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008282/0.3177, allocations: 458.5 kB / 436.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.318, allocations: 118.5 kB / 436.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.3182, allocations: 44.83 kB / 436.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.3182, allocations: 4 kB / 436.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.3182, allocations: 34.5 kB / 436.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.3182, allocations: 0 / 436.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009988/0.3192, allocations: 408.3 kB / 437.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.3193, allocations: 55.41 kB / 437.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.3194, allocations: 134.2 kB / 437.4 MB, free: 1.375 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.3194, allocations: 25.7 kB / 437.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.3195, allocations: 120.2 kB / 437.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.3195, allocations: 47.58 kB / 437.6 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/0.3196, allocations: 37.66 kB / 437.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3197, allocations: 322.8 kB / 437.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.3198, allocations: 51.81 kB / 438 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.32, allocations: 74.53 kB / 438 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.3203, allocations: 127.3 kB / 438.2 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.3203, allocations: 0 / 438.2 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003585/0.3206, allocations: 169.5 kB / 438.3 MB, free: 376 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3206, allocations: 4 kB / 438.3 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3206, allocations: 4 kB / 438.3 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3207, allocations: 3.984 kB / 438.3 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.3208, allocations: 39.92 kB / 438.4 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3209, allocations: 0 / 438.4 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.413e-05/0.3209, allocations: 15.92 kB / 438.4 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.321, allocations: 4 kB / 438.4 MB, free: 304 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.0001093/0.3211, allocations: 125.9 kB / 438.5 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.3211, allocations: 11.89 kB / 438.5 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.343e-05/0.3212, allocations: 16.78 kB / 438.6 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3212, allocations: 0 / 438.6 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3212, allocations: 0 / 438.6 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.3212, allocations: 3.984 kB / 438.6 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007614/0.3219, allocations: 455 kB / 439 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3219, allocations: 0 / 439 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.3221, allocations: 35.97 kB / 439 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3221, allocations: 0 / 439 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.3221, allocations: 4 kB / 439 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3221, allocations: 0 / 439 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3222, allocations: 4 kB / 439 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005193/0.3227, allocations: 309 kB / 439.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.683e-05/0.3227, allocations: 7.953 kB / 439.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.3227, allocations: 8.031 kB / 439.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.3228, allocations: 8 kB / 439.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.3229, allocations: 7.984 kB / 439.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.3229, allocations: 8 kB / 439.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.239e-05/0.323, allocations: 105.5 kB / 439.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.323, allocations: 0 / 439.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.3232, allocations: 35.88 kB / 439.5 MB, free: 15.09 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.0008137/0.324, allocations: 0.8426 MB / 440.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003214/0.3244, allocations: 107.9 kB / 440.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3244, allocations: 0 / 440.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.3245, allocations: 60.03 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.0003428/0.3248, allocations: 25.53 kB / 440.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.3274, allocations: 1.99 MB / 442.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.3278, allocations: 0.7119 MB / 443.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.52e-05/0.3278, allocations: 12.64 kB / 443.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.359e-05/0.3279, allocations: 43.36 kB / 443.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3279, allocations: 0 / 443.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.3555, allocations: 3.107 MB / 446.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.101/8.456, allocations: 7.219 kB / 446.4 MB, free: 8.129 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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: 11.001998357940465] Failed to read output from testmodel.py, exit status != 0: ['time', 'eddyCurrentForce.lossPower', 'mass.s', 'heatCapacitor.T'] 8.534146670252085 8.554625308 8.235801056 Calling exit ...