Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.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.001622/0.001622, 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.002117/0.002117, 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.541/1.541, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_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.002169/0.002169, allocations: 60.78 kB / 378.5 MB, free: 3.262 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3194, allocations: 53.37 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.004702/0.3241, allocations: 2.013 MB / 433.9 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.3257, allocations: 0.7052 MB / 434.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.3258, allocations: 3.938 kB / 434.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.326, allocations: 27.72 kB / 434.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.3261, allocations: 43.64 kB / 434.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.3264, allocations: 47.86 kB / 434.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002871/0.3267, allocations: 147.3 kB / 434.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.3269, allocations: 21.3 kB / 434.9 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.327, allocations: 55.78 kB / 435 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.3272, allocations: 59.77 kB / 435 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.3272, allocations: 8 kB / 435 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.3273, allocations: 27.98 kB / 435.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.288e-05/0.3273, allocations: 19.92 kB / 435.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.3274, allocations: 75.61 kB / 435.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.3278, allocations: 148.2 kB / 435.3 MB, free: 3.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3278, allocations: 0 / 435.3 MB, free: 3.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3278, allocations: 0 / 435.3 MB, free: 3.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.3278, allocations: 0 / 435.3 MB, free: 3.504 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.0008526/0.3287, allocations: 365.7 kB / 435.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.3287, allocations: 12.03 kB / 435.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.529e-05/0.3288, allocations: 46.73 kB / 435.7 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000265/0.3291, allocations: 24.88 kB / 435.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.3294, allocations: 150.3 kB / 435.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.3294, allocations: 8.375 kB / 435.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/0.3295, allocations: 12.12 kB / 435.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003961/0.3299, allocations: 117.6 kB / 436 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.3299, allocations: 0 / 436 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.3299, allocations: 4 kB / 436 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.3299, allocations: 8 kB / 436 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003711/0.3303, allocations: 83.94 kB / 436.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.3316, allocations: 478.3 kB / 436.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.332, allocations: 94.58 kB / 436.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.3322, allocations: 44.81 kB / 436.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.3322, allocations: 4 kB / 436.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.3323, allocations: 30.56 kB / 436.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.3323, allocations: 8 kB / 436.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000724/0.333, allocations: 149.6 kB / 436.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/0.3331, allocations: 55.34 kB / 436.9 MB, free: 1.688 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.3332, allocations: 133.8 kB / 437.1 MB, free: 1.547 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.269e-05/0.3333, allocations: 25.7 kB / 437.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.3334, allocations: 120.2 kB / 437.2 MB, free: 1.391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.3335, allocations: 31.7 kB / 437.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.441e-05/0.3335, allocations: 33.7 kB / 437.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000296/0.3338, allocations: 322.8 kB / 437.6 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.334, allocations: 31.98 kB / 437.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.3342, allocations: 79.33 kB / 437.7 MB, free: 0.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.3345, allocations: 107.3 kB / 437.8 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3345, allocations: 0 / 437.8 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004663/0.335, allocations: 149.4 kB / 438 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.335, allocations: 12.09 kB / 438 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.335, allocations: 0 / 438 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.3351, allocations: 0 / 438 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.3354, allocations: 43.91 kB / 438 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.3354, allocations: 0 / 438 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.3356, allocations: 4 kB / 438 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.3356, allocations: 4 kB / 438 MB, free: 0.543 MB / 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 (14): * Single equations (assignments): 14 * 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.0001544/0.3357, allocations: 129.8 kB / 438.2 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.3358, allocations: 15.89 kB / 438.2 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.511e-05/0.3359, allocations: 16.66 kB / 438.2 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.3359, allocations: 4 kB / 438.2 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3359, allocations: 0 / 438.2 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3359, allocations: 0 / 438.2 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/0.3362, allocations: 192.5 kB / 438.4 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3362, allocations: 0 / 438.4 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.3365, allocations: 31.98 kB / 438.4 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3365, allocations: 0 / 438.4 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.3365, allocations: 0 / 438.4 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.3365, allocations: 8 kB / 438.4 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3365, allocations: 0 / 438.4 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006494/0.3371, allocations: 263.6 kB / 438.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.3372, allocations: 7.953 kB / 438.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.3372, allocations: 0 / 438.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.3374, allocations: 12.03 kB / 438.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.3374, allocations: 11.98 kB / 438.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.3374, allocations: 0 / 438.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.879e-05/0.3375, allocations: 106.7 kB / 438.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3375, allocations: 0 / 438.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004411/0.338, allocations: 27.95 kB / 438.8 MB, free: 15.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,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 (9): * Single equations (assignments): 9 * 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.001173/0.3391, allocations: 0.802 MB / 439.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004018/0.3395, allocations: 87.92 kB / 439.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3395, allocations: 0 / 439.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.3397, allocations: 40.11 kB / 439.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/0.3402, allocations: 35.34 kB / 439.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.3436, allocations: 1.882 MB / 441.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.344, allocations: 0.7079 MB / 442.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.96e-05/0.3441, allocations: 16.34 kB / 442.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.089e-05/0.3442, allocations: 35.42 kB / 442.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3442, allocations: 0 / 442.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03338/0.3776, allocations: 2.776 MB / 445.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.853/8.23, allocations: 7.094 kB / 445.2 MB, free: 9.234 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.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_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.81183605082333] Failed to read output from testmodel.py, exit status != 0: ['time', 'eddyCurrentTorque.lossPower', 'inertia.phi', 'heatCapacitor.T'] 8.305556720122695 8.332886465 8.000188617 Calling exit ...