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.001308/0.001308, 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.001443/0.001443, 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.483/1.483, 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.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.001982/0.001982, allocations: 76.75 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2944, allocations: 53.35 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.00436/0.2987, allocations: 2.882 MB / 434.8 MB, free: 4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.3011, allocations: 1.312 MB / 436.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.3012, allocations: 4 kB / 436.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.3015, allocations: 67.38 kB / 436.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005916/0.3021, allocations: 235.8 kB / 436.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.3024, allocations: 127.8 kB / 436.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005815/0.303, allocations: 467 kB / 437 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.3032, allocations: 52.91 kB / 437 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.3035, allocations: 207.3 kB / 437.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.3038, allocations: 223.2 kB / 437.5 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.399e-05/0.3039, allocations: 40 kB / 437.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003031/0.3042, allocations: 163.9 kB / 437.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.953e-05/0.3043, allocations: 99.64 kB / 437.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.3045, allocations: 183.2 kB / 437.9 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006344/0.3051, allocations: 0.5094 MB / 438.4 MB, free: 344 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3051, allocations: 3.938 kB / 438.4 MB, free: 340 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3051, allocations: 0 / 438.4 MB, free: 340 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3051, allocations: 4 kB / 438.5 MB, free: 336 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.001677/0.3068, allocations: 0.6453 MB / 439.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3068, allocations: 8.031 kB / 439.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.835e-05/0.3069, allocations: 58.73 kB / 439.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.3071, allocations: 48.73 kB / 439.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005169/0.3076, allocations: 283.2 kB / 439.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.3077, allocations: 102.3 kB / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.3079, allocations: 44.25 kB / 439.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006326/0.3085, allocations: 321.6 kB / 439.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.3085, allocations: 0 / 439.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.3086, allocations: 12 kB / 440 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.3086, allocations: 8 kB / 440 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006927/0.3093, allocations: 297.7 kB / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/0.3112, allocations: 1.12 MB / 441.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006265/0.3118, allocations: 279.6 kB / 441.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/0.3122, allocations: 157.6 kB / 441.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.3122, allocations: 7.984 kB / 441.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.3122, allocations: 38.56 kB / 441.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.3122, allocations: 0 / 441.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009454/0.3217, allocations: 2.273 MB / 444.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.3217, allocations: 85.11 kB / 444.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004108/0.3222, allocations: 297 kB / 444.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.3222, allocations: 29.7 kB / 444.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.3223, allocations: 172.7 kB / 444.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.3225, allocations: 154.6 kB / 444.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.3226, allocations: 82.11 kB / 444.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3228, allocations: 346.7 kB / 445.3 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000403/0.3232, allocations: 160.8 kB / 445.4 MB, free: 9.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.3237, allocations: 230.7 kB / 445.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008544/0.3245, allocations: 395.8 kB / 446 MB, free: 8.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3245, allocations: 0 / 446 MB, free: 8.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001065/0.3256, allocations: 492.8 kB / 446.5 MB, free: 7.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.3256, allocations: 8 kB / 446.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.3256, allocations: 0 / 446.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.3256, allocations: 4 kB / 446.5 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006165/0.3262, allocations: 115.8 kB / 446.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.3263, allocations: 11.92 kB / 446.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003958/0.3266, allocations: 40.02 kB / 446.7 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.3267, allocations: 19.98 kB / 446.7 MB, free: 7.738 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.0001967/0.3269, allocations: 145.7 kB / 446.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.77e-05/0.327, allocations: 35.81 kB / 446.9 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/0.3289, allocations: 0.6524 MB / 447.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.3289, allocations: 4 kB / 447.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.3289, allocations: 4 kB / 447.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.3289, allocations: 3.984 kB / 447.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003284/0.3322, allocations: 1.247 MB / 448.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3322, allocations: 0 / 448.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004393/0.3326, allocations: 83.89 kB / 448.9 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00162/0.3342, allocations: 280.4 kB / 449.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.3343, allocations: 12 kB / 449.2 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004249/0.3385, allocations: 2.332 MB / 451.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.3385, allocations: 3.984 kB / 451.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/0.3409, allocations: 1.011 MB / 452.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.3411, allocations: 71.73 kB / 452.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.502e-05/0.3411, allocations: 8 kB / 452.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/0.3416, allocations: 31.97 kB / 452.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.3417, allocations: 32.38 kB / 452.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/0.3417, allocations: 19.92 kB / 452.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002575/0.342, allocations: 220.5 kB / 452.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.342, allocations: 3.938 kB / 452.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005533/0.3425, allocations: 115.9 kB / 453 MB, free: 1.227 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.002906/0.3454, allocations: 1.579 MB / 454.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.3465, allocations: 410 kB / 455 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3465, allocations: 7.938 kB / 455 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000765/0.3472, allocations: 368.9 kB / 455.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/0.3477, allocations: 52.94 kB / 455.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006213/0.354, allocations: 3.875 MB / 459.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/0.3545, allocations: 0.7892 MB / 460.1 MB, free: 9.961 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002328/0.3548, allocations: 42.95 kB / 460.1 MB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.355, allocations: 115.4 kB / 460.2 MB, free: 9.809 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.355, allocations: 0 / 460.2 MB, free: 9.809 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04227/0.3973, allocations: 10.05 MB / 470.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.73, allocations: 3.25 kB / 470.3 MB, free: 15.91 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_fmu --startTime=0 --stopTime=0.02 --stepSize=4e-06 --timeout=50 --tolerance=0.0001 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.154235562775284] Failed to read output from testmodel.py, exit status != 0: ['time', 'core.B', 'core.Hstat', 'core.MagRel', 'winding.i'] 12.830159586854279 12.855787235 12.546561984 Calling exit ...