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.00141/0.00141, allocations: 105.5 kB / 19.74 MB, free: 2.566 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.001542/0.001542, allocations: 222.1 kB / 22.92 MB, free: 5.535 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.281/1.281, allocations: 230.5 MB / 256.4 MB, free: 8.434 MB / 206.1 MB " [Timeout remaining time 179] 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.001777/0.001777, allocations: 67.83 kB / 376.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2101, allocations: 53.32 MB / 429.4 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003878/0.214, allocations: 2.878 MB / 432.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.2159, allocations: 1.304 MB / 433.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.216, allocations: 4 kB / 433.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.2162, allocations: 63.42 kB / 433.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004786/0.2167, allocations: 238.7 kB / 433.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.217, allocations: 127.7 kB / 434 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004477/0.2174, allocations: 463 kB / 434.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.2175, allocations: 68.08 kB / 434.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002588/0.2178, allocations: 187.4 kB / 434.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.2181, allocations: 227.1 kB / 434.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.998e-05/0.2182, allocations: 40 kB / 435 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.2185, allocations: 171.9 kB / 435.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.095e-05/0.2185, allocations: 91.66 kB / 435.2 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.2187, allocations: 191.1 kB / 435.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005617/0.2193, allocations: 0.503 MB / 435.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2193, allocations: 0 / 435.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2193, allocations: 0 / 435.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.2193, allocations: 0 / 435.9 MB, free: 0.8906 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00152/0.2208, allocations: 0.7168 MB / 436.6 MB, free: 128 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.2208, allocations: 8.031 kB / 436.6 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.212e-05/0.2209, allocations: 66.72 kB / 436.7 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.2211, allocations: 48.81 kB / 436.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.2215, allocations: 337.3 kB / 437.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.716e-05/0.2216, allocations: 46.83 kB / 437.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.2217, allocations: 48.19 kB / 437.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005725/0.2223, allocations: 324.4 kB / 437.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.2223, allocations: 4 kB / 437.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.2224, allocations: 12 kB / 437.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2224, allocations: 4 kB / 437.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006442/0.223, allocations: 302 kB / 437.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.2246, allocations: 1.16 MB / 439 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005748/0.2252, allocations: 273.1 kB / 439.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.2255, allocations: 158.1 kB / 439.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.2256, allocations: 4 kB / 439.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.2256, allocations: 38.55 kB / 439.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.323e-06/0.2256, allocations: 4 kB / 439.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.00876/0.2343, allocations: 2.415 MB / 441.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.2344, allocations: 81.11 kB / 441.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.2347, allocations: 293 kB / 442.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/0.2348, allocations: 37.69 kB / 442.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.2349, allocations: 168.6 kB / 442.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.235, allocations: 150.7 kB / 442.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.2351, allocations: 86.09 kB / 442.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2353, allocations: 346.7 kB / 443 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003897/0.2357, allocations: 168.7 kB / 443.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004188/0.2361, allocations: 222.7 kB / 443.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008139/0.2369, allocations: 403.8 kB / 443.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2369, allocations: 0 / 443.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009768/0.2379, allocations: 492.5 kB / 444.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2379, allocations: 11.12 kB / 444.3 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.2379, allocations: 3.984 kB / 444.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2379, allocations: 7.984 kB / 444.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005663/0.2385, allocations: 115.9 kB / 444.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.2385, allocations: 4 kB / 444.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.2388, allocations: 35.95 kB / 444.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.2389, allocations: 15.98 kB / 444.4 MB, free: 7.973 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.000158/0.239, allocations: 157.7 kB / 444.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.841e-05/0.2391, allocations: 31.8 kB / 444.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/0.2409, allocations: 0.6486 MB / 445.3 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2409, allocations: 4 kB / 445.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.2409, allocations: 4 kB / 445.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.2409, allocations: 4 kB / 445.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003004/0.2439, allocations: 1.272 MB / 446.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.2439, allocations: 8 kB / 446.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004372/0.2444, allocations: 87.88 kB / 446.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001466/0.2458, allocations: 276.5 kB / 446.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/0.2459, allocations: 15.98 kB / 446.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003871/0.2497, allocations: 2.436 MB / 449.4 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2497, allocations: 0 / 449.4 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/0.2519, allocations: 1.015 MB / 450.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.2521, allocations: 152.8 kB / 450.5 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.2521, allocations: 8 kB / 450.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000416/0.2525, allocations: 27.97 kB / 450.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.2526, allocations: 36.39 kB / 450.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.2527, allocations: 8 kB / 450.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000217/0.2529, allocations: 220.5 kB / 450.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2529, allocations: 0 / 450.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005003/0.2534, allocations: 119.9 kB / 450.9 MB, free: 1.199 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.002604/0.256, allocations: 1.586 MB / 452.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009011/0.2569, allocations: 410 kB / 452.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2569, allocations: 4 kB / 452.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006522/0.2575, allocations: 372.8 kB / 453.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.258, allocations: 36.8 kB / 453.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005512/0.2635, allocations: 3.867 MB / 457.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.2639, allocations: 0.7891 MB / 458 MB, free: 9.953 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001661/0.2641, allocations: 38.97 kB / 458 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.2643, allocations: 119.4 kB / 458.1 MB, free: 9.801 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2643, allocations: 0 / 458.1 MB, free: 9.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03934/0.3036, allocations: 9.773 MB / 467.9 MB, free: 176 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.84, allocations: 12 kB / 467.9 MB, free: 164 kB / 366.1 MB " [Timeout remaining time 649] (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 --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: 12.919316273997538]