Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 120.1 kB / 18.49 MB, free: 4.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002168/0.002168, allocations: 215 kB / 21.45 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 254.8 MB, free: 15.26 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 47.92 kB / 373.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1036, allocations: 53.33 MB / 427 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004263/0.1078, allocations: 2.867 MB / 429.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.1099, allocations: 1.293 MB / 431.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.1101, allocations: 11.94 kB / 431.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002666/0.1103, allocations: 63.44 kB / 431.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005361/0.1109, allocations: 226.7 kB / 431.5 MB, free: 368 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.1112, allocations: 131.8 kB / 431.6 MB, free: 236 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005178/0.1117, allocations: 463 kB / 432 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.1118, allocations: 72.56 kB / 432.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002977/0.1121, allocations: 195.4 kB / 432.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.1124, allocations: 223.1 kB / 432.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.984e-05/0.1125, allocations: 40 kB / 432.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000279/0.1128, allocations: 167.9 kB / 432.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.699e-05/0.1129, allocations: 95.72 kB / 432.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.113, allocations: 179.2 kB / 433 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006235/0.1137, allocations: 0.5175 MB / 433.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1137, allocations: 0 / 433.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1137, allocations: 0 / 433.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1137, allocations: 0 / 433.5 MB, free: 14.3 MB / 366.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.001615/0.1153, allocations: 0.7168 MB / 434.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1153, allocations: 12.03 kB / 434.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.183e-05/0.1154, allocations: 4.75 kB / 434.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.297e-05/0.1154, allocations: 58.73 kB / 434.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.1156, allocations: 44.73 kB / 434.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/0.1161, allocations: 337.4 kB / 434.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.005e-05/0.1162, allocations: 54.83 kB / 434.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.1163, allocations: 40.06 kB / 434.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006173/0.1169, allocations: 324.4 kB / 435.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1169, allocations: 0 / 435.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/0.117, allocations: 12 kB / 435.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.117, allocations: 11.98 kB / 435.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007208/0.1177, allocations: 298 kB / 435.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.1195, allocations: 1.168 MB / 436.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006266/0.1202, allocations: 281 kB / 436.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/0.1205, allocations: 149.7 kB / 437 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.1205, allocations: 12.42 kB / 437 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.1205, allocations: 38.5 kB / 437 MB, free: 10.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 1.513e-06/0.1206, allocations: 0 / 437 MB, free: 10.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0094/0.13, allocations: 2.407 MB / 439.5 MB, free: 8.059 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.13, allocations: 81.11 kB / 439.5 MB, free: 7.961 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003569/0.1304, allocations: 300.9 kB / 439.8 MB, free: 7.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.1304, allocations: 33.7 kB / 439.9 MB, free: 7.621 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.1305, allocations: 168.6 kB / 440 MB, free: 7.453 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.1307, allocations: 162.6 kB / 440.2 MB, free: 7.293 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.1308, allocations: 74.11 kB / 440.3 MB, free: 7.211 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.131, allocations: 342.8 kB / 440.6 MB, free: 6.867 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/0.1314, allocations: 164.8 kB / 440.7 MB, free: 6.707 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/0.1318, allocations: 234.5 kB / 441 MB, free: 6.461 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008709/0.1327, allocations: 403.8 kB / 441.4 MB, free: 6.047 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.1327, allocations: 0 / 441.4 MB, free: 6.047 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001078/0.1338, allocations: 492.4 kB / 441.9 MB, free: 5.559 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1338, allocations: 10.22 kB / 441.9 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1338, allocations: 4 kB / 441.9 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1338, allocations: 0 / 441.9 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/0.1344, allocations: 115.9 kB / 442 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.1344, allocations: 4 kB / 442 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/0.1348, allocations: 31.97 kB / 442 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.1349, allocations: 20 kB / 442 MB, free: 5.379 MB / 366.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.0001862/0.135, allocations: 161.6 kB / 442.2 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.722e-05/0.1351, allocations: 31.81 kB / 442.2 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/0.1371, allocations: 0.6447 MB / 442.9 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1371, allocations: 4 kB / 442.9 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1371, allocations: 4 kB / 442.9 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1371, allocations: 0 / 442.9 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/0.1403, allocations: 1.279 MB / 444.2 MB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1403, allocations: 0 / 444.2 MB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004587/0.1408, allocations: 103.8 kB / 444.3 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001549/0.1423, allocations: 272.5 kB / 444.5 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.1423, allocations: 11.98 kB / 444.5 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004183/0.1465, allocations: 2.436 MB / 447 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.1465, allocations: 3.984 kB / 447 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1763/0.3229, allocations: 0.998 MB / 448 MB, free: 24.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.323, allocations: 152.9 kB / 448.1 MB, free: 24.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.3231, allocations: 12.47 kB / 448.1 MB, free: 24.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/0.3235, allocations: 28.31 kB / 448.2 MB, free: 24.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.3236, allocations: 39.67 kB / 448.2 MB, free: 24.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.3237, allocations: 13.94 kB / 448.2 MB, free: 24.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002053/0.3239, allocations: 217.7 kB / 448.4 MB, free: 24.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3239, allocations: 0 / 448.4 MB, free: 24.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005354/0.3244, allocations: 115.9 kB / 448.5 MB, free: 24.27 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.002379/0.3268, allocations: 1.583 MB / 450.1 MB, free: 23.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009047/0.3277, allocations: 406.9 kB / 450.5 MB, free: 23.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3277, allocations: 0 / 450.5 MB, free: 23.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006225/0.3283, allocations: 376.2 kB / 450.9 MB, free: 23.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.3288, allocations: 43.8 kB / 450.9 MB, free: 23.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004927/0.3337, allocations: 3.852 MB / 454.8 MB, free: 21.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.3339, allocations: 0.794 MB / 455.6 MB, free: 20.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001933/0.3341, allocations: 41.45 kB / 455.6 MB, free: 20.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.3343, allocations: 116.4 kB / 455.7 MB, free: 20.37 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3344, allocations: 0 / 455.7 MB, free: 20.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03526/0.3696, allocations: 9.815 MB / 465.5 MB, free: 18.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.38, allocations: 4.125 kB / 465.5 MB, free: 18.62 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_fmu --startTime=0 --stopTime=0.02 --stepSize=4e-06 --timeout=50 --tolerance=0.0001 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.860225571028423] Failed to read output from testmodel.py, exit status != 0: ['time', 'core.B', 'core.Hstat', 'core.MagRel', 'winding.i'] 12.530391228967346 12.549272172 12.432503347 Calling exit ...