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.SinglePhaseTransformerWithHysteresis1.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.001743/0.001743, allocations: 122.2 kB / 18.51 MB, free: 4.617 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.002069/0.002069, allocations: 215.3 kB / 21.46 MB, free: 1.664 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.527/1.527, allocations: 230.5 MB / 254.7 MB, free: 14.87 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.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",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.002042/0.002042, allocations: 71.83 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1258, allocations: 53.32 MB / 426.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005389/0.1312, allocations: 3.463 MB / 430.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2317/0.363, allocations: 1.658 MB / 432 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000533/0.3635, allocations: 5.281 kB / 432 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004098/0.3676, allocations: 2.659 MB / 434.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009594/0.3686, allocations: 230.1 kB / 434.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009961/0.3696, allocations: 317.9 kB / 435.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002993/0.3725, allocations: 1.815 MB / 437 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002604/0.3728, allocations: 97 kB / 437.1 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006896/0.3735, allocations: 322.1 kB / 437.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005159/0.374, allocations: 363.8 kB / 437.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.3741, allocations: 45.03 kB / 437.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/0.3744, allocations: 98.98 kB / 437.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009562/0.3754, allocations: 0.8473 MB / 438.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009619/0.3763, allocations: 0.9377 MB / 439.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003839/0.3802, allocations: 2.651 MB / 442.4 MB, free: 6.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.3802, allocations: 0.7969 kB / 442.4 MB, free: 6.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3802, allocations: 0 / 442.4 MB, free: 6.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.361e-05/0.3803, allocations: 0 / 442.4 MB, free: 6.227 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.005761/0.386, allocations: 2.92 MB / 445.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.3861, allocations: 10.64 kB / 445.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/0.3862, allocations: 74.92 kB / 445.4 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006474/0.3868, allocations: 311.8 kB / 445.7 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003481/0.3903, allocations: 1.861 MB / 447.5 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.974e-05/0.3904, allocations: 57.89 kB / 447.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/0.3906, allocations: 48.12 kB / 447.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000725/0.3913, allocations: 398.3 kB / 448 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.3913, allocations: 0 / 448 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.3914, allocations: 15.78 kB / 448 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.3914, allocations: 9.219 kB / 448 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006898/0.3921, allocations: 329 kB / 448.4 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005156/0.3972, allocations: 2.907 MB / 451.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006171/0.3978, allocations: 298 kB / 451.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/0.3981, allocations: 158.5 kB / 451.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.3982, allocations: 13.25 kB / 451.7 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.3982, allocations: 37.19 kB / 451.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.813e-06/0.3982, allocations: 0 / 451.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.005728/0.4039, allocations: 2.474 MB / 454.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.404, allocations: 83.52 kB / 454.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009543/0.4135, allocations: 5.454 MB / 459.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.4137, allocations: 32.3 kB / 459.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001352/0.415, allocations: 1.197 MB / 461 MB, free: 11.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/0.4152, allocations: 168.4 kB / 461.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.4154, allocations: 92.27 kB / 461.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4155, allocations: 327.4 kB / 461.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.4159, allocations: 141.2 kB / 461.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/0.4163, allocations: 227.5 kB / 461.9 MB, free: 10.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007259/0.417, allocations: 383.9 kB / 462.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.417, allocations: 0 / 462.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001827/0.4188, allocations: 0.7036 MB / 463 MB, free: 10.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.4189, allocations: 6.844 kB / 463 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.4189, allocations: 1.438 kB / 463 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.4189, allocations: 4.406 kB / 463 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005151/0.4194, allocations: 124.2 kB / 463.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.4194, allocations: 5.312 kB / 463.2 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009289/0.4204, allocations: 17.67 kB / 463.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.4204, allocations: 22.59 kB / 463.2 MB, free: 10.2 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (62): * Single equations (assignments): 62 * 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.001932/0.4223, allocations: 0.927 MB / 464.1 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007783/0.4231, allocations: 283.8 kB / 464.4 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/0.4252, allocations: 0.787 MB / 465.2 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.4252, allocations: 5.5 kB / 465.2 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4252, allocations: 1.375 kB / 465.2 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.4252, allocations: 3.984 kB / 465.2 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/0.4279, allocations: 1.483 MB / 466.7 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.4279, allocations: 0 / 466.7 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004912/0.4284, allocations: 99.81 kB / 466.8 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004161/0.4288, allocations: 101.3 kB / 466.9 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.4288, allocations: 12 kB / 466.9 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006537/0.4295, allocations: 0.6297 MB / 467.5 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4295, allocations: 4.031 kB / 467.5 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.4317, allocations: 1.091 MB / 468.6 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/0.4331, allocations: 0.4963 MB / 469.1 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002805/0.4333, allocations: 12 kB / 469.1 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000515/0.4338, allocations: 23.98 kB / 469.1 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.77e-05/0.4339, allocations: 32.39 kB / 469.2 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.434, allocations: 8 kB / 469.2 MB, free: 5.434 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.006986/0.4409, allocations: 3.99 MB / 473.2 MB, free: 1.453 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4409, allocations: 0 / 473.2 MB, free: 1.453 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001663/0.4426, allocations: 204 kB / 473.4 MB, free: 1.254 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * 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 (41): * Single equations (assignments): 40 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004032/0.4466, allocations: 1.955 MB / 475.3 MB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009122/0.4476, allocations: 360.9 kB / 475.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4476, allocations: 0 / 475.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004773/0.448, allocations: 210.8 kB / 475.9 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.4499, allocations: 190.4 kB / 476.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05371/0.5036, allocations: 19.42 MB / 495.5 MB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002101/0.5057, allocations: 1.825 MB / 497.3 MB, free: 9.289 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001027/0.5067, allocations: 279.8 kB / 497.6 MB, free: 9.012 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/0.5081, allocations: 0.9367 MB / 498.5 MB, free: 8.074 MB / 398.1 MB Notification: Performance of SimCode: time 1.413e-06/0.5081, allocations: 0 / 498.5 MB, free: 8.074 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08935/0.5975, allocations: 38.99 MB / 0.5249 GB, free: 1.375 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.98/18.58, allocations: 8.062 kB / 0.5249 GB, free: 1.367 MB / 430.1 MB " [Timeout remaining time 641] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_fmu --startTime=0 --stopTime=0.02 --stepSize=4e-06 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.195125638041645] Failed to read output from testmodel.py, exit status != 0: ['time', 'core.B', 'core.Hstat', 'core.MagRel', 'winding1.i', 'winding2.i'] 18.74426700407639 18.759882287 18.376346473999998 Calling exit ...