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.001644/0.001644, 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.00205/0.00205, allocations: 213.2 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.511/1.511, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.002007/0.002007, allocations: 64.77 kB / 378.5 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3203, allocations: 53.37 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004673/0.325, allocations: 2.884 MB / 434.8 MB, free: 4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00238/0.3274, allocations: 1.308 MB / 436.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.3275, allocations: 4 kB / 436.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.3278, allocations: 71.34 kB / 436.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005958/0.3284, allocations: 231.9 kB / 436.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.3287, allocations: 135.6 kB / 436.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005251/0.3293, allocations: 463.1 kB / 437 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.3294, allocations: 60.88 kB / 437.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.3297, allocations: 195.4 kB / 437.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003206/0.33, allocations: 219.2 kB / 437.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.171e-05/0.3301, allocations: 44 kB / 437.5 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003155/0.3304, allocations: 175.8 kB / 437.7 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.447e-05/0.3305, allocations: 87.67 kB / 437.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.3307, allocations: 187.2 kB / 437.9 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006795/0.3314, allocations: 0.5094 MB / 438.5 MB, free: 344 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.3314, allocations: 4 kB / 438.5 MB, free: 340 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3314, allocations: 0 / 438.5 MB, free: 340 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3314, allocations: 0 / 438.5 MB, free: 340 kB / 334.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.001736/0.3331, allocations: 0.6453 MB / 439.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.3332, allocations: 8.031 kB / 439.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.204e-05/0.3333, allocations: 62.73 kB / 439.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.3335, allocations: 44.73 kB / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005521/0.334, allocations: 291.2 kB / 439.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.3342, allocations: 98.33 kB / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.3343, allocations: 48.25 kB / 439.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006653/0.335, allocations: 313.6 kB / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.335, allocations: 0 / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.288e-05/0.335, allocations: 12 kB / 440 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.335, allocations: 12 kB / 440 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007363/0.3358, allocations: 301.7 kB / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.3377, allocations: 1.12 MB / 441.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006296/0.3383, allocations: 281 kB / 441.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.3387, allocations: 153.7 kB / 441.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.3387, allocations: 4 kB / 441.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.3387, allocations: 38.55 kB / 441.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.322e-06/0.3387, allocations: 0 / 441.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009222/0.348, allocations: 2.273 MB / 444.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.511e-05/0.348, allocations: 85.11 kB / 444.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004294/0.3485, allocations: 297 kB / 444.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/0.3485, allocations: 29.7 kB / 444.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.3487, allocations: 172.7 kB / 444.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.3488, allocations: 154.6 kB / 444.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.349, allocations: 78.11 kB / 444.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.3491, allocations: 346.7 kB / 445.3 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.3496, allocations: 168.7 kB / 445.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004476/0.35, allocations: 222.7 kB / 445.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008653/0.3509, allocations: 403.8 kB / 446 MB, free: 8.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3509, allocations: 0 / 446 MB, free: 8.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001101/0.352, allocations: 484.7 kB / 446.5 MB, free: 7.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.352, allocations: 12.19 kB / 446.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.352, allocations: 0 / 446.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.352, allocations: 4 kB / 446.5 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006057/0.3526, allocations: 119.8 kB / 446.6 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.3526, allocations: 4 kB / 446.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003769/0.353, allocations: 31.98 kB / 446.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.3531, allocations: 23.98 kB / 446.7 MB, free: 7.746 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.0001948/0.3533, allocations: 149.7 kB / 446.8 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.3534, allocations: 35.75 kB / 446.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001956/0.3553, allocations: 0.6486 MB / 447.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.3553, allocations: 4 kB / 447.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3553, allocations: 3.938 kB / 447.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.3553, allocations: 3.984 kB / 447.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003244/0.3586, allocations: 1.247 MB / 448.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3586, allocations: 0 / 448.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004723/0.3591, allocations: 95.88 kB / 448.9 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001597/0.3607, allocations: 272.5 kB / 449.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.3607, allocations: 12 kB / 449.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00423/0.3649, allocations: 2.348 MB / 451.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3649, allocations: 0 / 451.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002371/0.3673, allocations: 1.004 MB / 452.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.3675, allocations: 79.73 kB / 452.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.8e-05/0.3675, allocations: 8 kB / 452.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/0.368, allocations: 27.97 kB / 452.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.3681, allocations: 40.36 kB / 452.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.3681, allocations: 11.94 kB / 452.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002516/0.3684, allocations: 216.5 kB / 452.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3684, allocations: 0 / 452.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005586/0.3689, allocations: 123.9 kB / 453 MB, free: 1.223 MB / 350.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.002796/0.3717, allocations: 1.579 MB / 454.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.3728, allocations: 410.2 kB / 455 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3728, allocations: 12 kB / 455 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007154/0.3735, allocations: 368.9 kB / 455.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/0.3739, allocations: 32.5 kB / 455.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006199/0.3801, allocations: 3.879 MB / 459.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.3807, allocations: 0.7892 MB / 460.1 MB, free: 9.973 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002219/0.3809, allocations: 42.95 kB / 460.1 MB, free: 9.934 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.3811, allocations: 119.4 kB / 460.2 MB, free: 9.816 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3811, allocations: 0 / 460.2 MB, free: 9.816 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04529/0.4264, allocations: 10.05 MB / 470.3 MB, free: 15.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.75, allocations: 64 / 470.3 MB, free: 15.92 MB / 382.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.361202528700233] Failed to read output from testmodel.py, exit status != 0: ['time', 'core.B', 'core.Hstat', 'core.MagRel', 'winding.i'] 12.84753229888156 12.874719137 12.538067294 Calling exit ...