Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.001731/0.001731, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.002243/0.002243, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.612/1.612, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",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.002034/0.002034, allocations: 71.83 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1172, allocations: 53.33 MB / 427 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004763/0.122, allocations: 2.857 MB / 429.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002627/0.1246, allocations: 1.296 MB / 431.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000278/0.1249, allocations: 4 kB / 431.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.1252, allocations: 71.41 kB / 431.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006601/0.1259, allocations: 226.7 kB / 431.5 MB, free: 340 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.1262, allocations: 135.8 kB / 431.6 MB, free: 204 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2428/0.369, allocations: 454.8 kB / 432 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.3693, allocations: 65.64 kB / 432.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004714/0.3698, allocations: 193.6 kB / 432.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/0.3701, allocations: 221.4 kB / 432.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.465e-05/0.3702, allocations: 40.47 kB / 432.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004259/0.3706, allocations: 164.4 kB / 432.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.664e-05/0.3707, allocations: 97.56 kB / 432.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.3708, allocations: 180.3 kB / 433 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005959/0.3714, allocations: 0.5194 MB / 433.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3714, allocations: 0 / 433.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3714, allocations: 4.594 kB / 433.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.3714, allocations: 0 / 433.5 MB, free: 7.527 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001529/0.373, allocations: 0.7137 MB / 434.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.373, allocations: 8.625 kB / 434.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.875e-05/0.3731, allocations: 67.38 kB / 434.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.3732, allocations: 44.58 kB / 434.3 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004276/0.3737, allocations: 331.6 kB / 434.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.381e-05/0.3737, allocations: 54.12 kB / 434.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.3739, allocations: 46.61 kB / 434.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005831/0.3745, allocations: 323.2 kB / 435.1 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3745, allocations: 0 / 435.1 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.3745, allocations: 10 kB / 435.1 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.3745, allocations: 6.25 kB / 435.1 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006919/0.3752, allocations: 299.3 kB / 435.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.3773, allocations: 1.165 MB / 436.5 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007169/0.378, allocations: 277.5 kB / 436.8 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003505/0.3784, allocations: 161.9 kB / 437 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.3784, allocations: 6.984 kB / 437 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.3784, allocations: 37.17 kB / 437 MB, free: 5.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.445e-06/0.3784, allocations: 0 / 437 MB, free: 5.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.0102/0.3886, allocations: 2.417 MB / 439.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.3887, allocations: 85.73 kB / 439.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004848/0.3892, allocations: 291.3 kB / 439.8 MB, free: 5.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.3892, allocations: 38.05 kB / 439.8 MB, free: 5.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.3893, allocations: 168.3 kB / 440 MB, free: 4.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.3895, allocations: 151.8 kB / 440.1 MB, free: 4.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.3896, allocations: 79.95 kB / 440.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.374e-05/0.3897, allocations: 342.6 kB / 440.6 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004103/0.3901, allocations: 166.4 kB / 440.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004452/0.3906, allocations: 230.4 kB / 440.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008504/0.3914, allocations: 403.4 kB / 441.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3914, allocations: 4 kB / 441.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001287/0.3927, allocations: 487.8 kB / 441.8 MB, free: 3.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.3927, allocations: 6.5 kB / 441.8 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.3927, allocations: 1.375 kB / 441.8 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.3928, allocations: 8.031 kB / 441.8 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/0.3934, allocations: 119 kB / 441.9 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.3934, allocations: 2.969 kB / 442 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/0.3939, allocations: 31.56 kB / 442 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.3939, allocations: 18.48 kB / 442 MB, free: 3.812 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001957/0.3941, allocations: 163.2 kB / 442.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.3942, allocations: 31.81 kB / 442.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/0.3962, allocations: 0.6488 MB / 442.8 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.3962, allocations: 6.078 kB / 442.8 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.3962, allocations: 0 / 442.8 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.3962, allocations: 3.969 kB / 442.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003305/0.3995, allocations: 1.271 MB / 444.1 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3995, allocations: 3.938 kB / 444.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/0.4, allocations: 92.22 kB / 444.2 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001689/0.4017, allocations: 267.9 kB / 444.5 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.501e-05/0.4018, allocations: 18.3 kB / 444.5 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004106/0.4059, allocations: 2.438 MB / 446.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4059, allocations: 1.312 kB / 446.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002696/0.4086, allocations: 1.015 MB / 447.9 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.4088, allocations: 141.3 kB / 448.1 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.4089, allocations: 12.31 kB / 448.1 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004516/0.4093, allocations: 34.5 kB / 448.1 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.4095, allocations: 33.05 kB / 448.2 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.4095, allocations: 14.89 kB / 448.2 MB, free: 96 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003597/0.4099, allocations: 214.1 kB / 448.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4099, allocations: 0 / 448.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007586/0.4107, allocations: 118.3 kB / 448.5 MB, free: 15.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003453/0.4141, allocations: 1.596 MB / 450.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.4154, allocations: 405.7 kB / 450.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.4154, allocations: 4.312 kB / 450.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008592/0.4162, allocations: 373.9 kB / 450.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006116/0.4168, allocations: 40.52 kB / 450.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007103/0.4239, allocations: 3.866 MB / 454.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/0.4245, allocations: 0.799 MB / 455.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002774/0.4248, allocations: 44.52 kB / 455.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002636/0.425, allocations: 117.3 kB / 455.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of SimCode: time 1.653e-06/0.425, allocations: 0 / 455.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04653/0.4715, allocations: 9.766 MB / 465.5 MB, free: 7.352 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.1, allocations: 14.25 kB / 465.5 MB, free: 7.344 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.csv --start-time 0 --stop-time 0.02 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 4e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.860279484186321] Failed to read output from testmodel.py, exit status != 0: ['time', 'core.B', 'core.Hstat', 'core.MagRel', 'winding.i'] 13.19861966278404 13.21444793 12.839777042 Calling exit ...