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.SinglePhaseTransformerWithHysteresis2.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.001839/0.001839, allocations: 109.4 kB / 20.22 MB, free: 1.812 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.002478/0.002478, allocations: 218.9 kB / 23.48 MB, free: 5.254 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.479/1.479, allocations: 230.4 MB / 257 MB, free: 8.27 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.SinglePhaseTransformerWithHysteresis2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2",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.002096/0.002096, allocations: 63.89 kB / 377.1 MB, free: 3.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3147, allocations: 53.31 MB / 430.4 MB, free: 7.262 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.006367/0.3211, allocations: 4.434 MB / 434.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003058/0.3241, allocations: 1.66 MB / 436.5 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003541/0.3245, allocations: 11.94 kB / 436.5 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004225/0.3249, allocations: 118.8 kB / 436.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008373/0.3257, allocations: 370.6 kB / 437 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005217/0.3263, allocations: 251.6 kB / 437.2 MB, free: 412 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.3273, allocations: 0.9745 MB / 438.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/0.3276, allocations: 161.4 kB / 438.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005207/0.3282, allocations: 386.7 kB / 438.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005616/0.3287, allocations: 426.3 kB / 439.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.3289, allocations: 100 kB / 439.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004101/0.3293, allocations: 219.9 kB / 439.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.3295, allocations: 195.3 kB / 439.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004146/0.3299, allocations: 410.1 kB / 440 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.3313, allocations: 1.179 MB / 441.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3314, allocations: 0 / 441.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3314, allocations: 0 / 441.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.3314, allocations: 0 / 441.2 MB, free: 12.38 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002469/0.3338, allocations: 1.125 MB / 442.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3339, allocations: 8.031 kB / 442.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000141/0.334, allocations: 106.6 kB / 442.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.3343, allocations: 84.47 kB / 442.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009171/0.3352, allocations: 0.5149 MB / 443.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.3353, allocations: 75.58 kB / 443.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.3355, allocations: 72.3 kB / 443.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.3367, allocations: 0.6019 MB / 443.8 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.3367, allocations: 0 / 443.8 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.755e-05/0.3368, allocations: 24 kB / 443.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.3368, allocations: 16 kB / 443.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.3379, allocations: 0.5282 MB / 444.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003694/0.3416, allocations: 2.299 MB / 446.7 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.3427, allocations: 455 kB / 447.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005331/0.3432, allocations: 246.1 kB / 447.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.3432, allocations: 12.22 kB / 447.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.3433, allocations: 42.5 kB / 447.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.553e-06/0.3433, allocations: 0 / 447.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01315/0.3564, allocations: 3.559 MB / 451 MB, free: 2.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.509e-05/0.3565, allocations: 85.67 kB / 451 MB, free: 2.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008271/0.3573, allocations: 0.541 MB / 451.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.3574, allocations: 37.7 kB / 451.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/0.3577, allocations: 320.9 kB / 451.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/0.3579, allocations: 214.1 kB / 452.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.3581, allocations: 114.3 kB / 452.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.3583, allocations: 370.8 kB / 452.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005777/0.3589, allocations: 249.2 kB / 452.9 MB, free: 324 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006464/0.3596, allocations: 356.3 kB / 453.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.3608, allocations: 0.602 MB / 453.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3608, allocations: 0 / 453.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001571/0.3624, allocations: 0.7494 MB / 454.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.3624, allocations: 4 kB / 454.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3624, allocations: 4 kB / 454.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001838/0.3626, allocations: 32.83 kB / 454.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007909/0.3634, allocations: 163.8 kB / 454.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.3649, allocations: 1.432 MB / 456.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/0.3654, allocations: 40.05 kB / 456.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.281e-05/0.3655, allocations: 27.98 kB / 456.3 MB, free: 12.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003337/0.3658, allocations: 205.6 kB / 456.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.3659, allocations: 63.58 kB / 456.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/0.3678, allocations: 0.8258 MB / 457.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.3678, allocations: 11.94 kB / 457.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.3678, allocations: 0 / 457.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.3678, allocations: 11.98 kB / 457.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003695/0.3715, allocations: 1.838 MB / 459.2 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3715, allocations: 0 / 459.2 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005146/0.372, allocations: 111.9 kB / 459.3 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002157/0.3742, allocations: 464.4 kB / 459.8 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.584e-05/0.3742, allocations: 20 kB / 459.8 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005217/0.3794, allocations: 3.153 MB / 462.9 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.3794, allocations: 7.922 kB / 463 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002921/0.3824, allocations: 1.359 MB / 464.3 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000326/0.3827, allocations: 216.7 kB / 464.5 MB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.117e-05/0.3828, allocations: 16 kB / 464.5 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005675/0.3833, allocations: 39.97 kB / 464.6 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.3835, allocations: 56.42 kB / 464.6 MB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-05/0.3835, allocations: 16 kB / 464.6 MB, free: 4.047 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005038/0.384, allocations: 390.8 kB / 465 MB, free: 3.668 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.384, allocations: 0 / 465 MB, free: 3.668 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007831/0.3848, allocations: 191.9 kB / 465.2 MB, free: 3.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003432/0.3882, allocations: 1.954 MB / 467.2 MB, free: 1.496 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.3898, allocations: 0.713 MB / 467.9 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3898, allocations: 0 / 467.9 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009052/0.3907, allocations: 0.4982 MB / 468.4 MB, free: 264 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/0.3913, allocations: 93.91 kB / 468.5 MB, free: 168 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009664/0.401, allocations: 5.928 MB / 474.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/0.4016, allocations: 0.9082 MB / 475.3 MB, free: 9.145 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003307/0.4019, allocations: 72.8 kB / 475.4 MB, free: 9.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/0.4023, allocations: 243.3 kB / 475.6 MB, free: 8.832 MB / 382.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4023, allocations: 0 / 475.6 MB, free: 8.832 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07472/0.477, allocations: 15.91 MB / 491.5 MB, free: 9.141 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.36, allocations: 13.97 kB / 491.5 MB, free: 9.129 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2_fmu --startTime=0 --stopTime=0.1 --stepSize=2e-05 --timeout=50 --tolerance=0.0001 Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.790728319203481] Failed to read output from testmodel.py, exit status != 0: ['time', 'transformer.core.B', 'transformer.core.MagRel', 'transformer.core.Hstat', 'transformer.winding1.i', 'transformer.winding2.i'] 13.46665460895747 13.491985274 13.155900303 Calling exit ...