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.001384/0.001384, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.001565/0.001565, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.457/1.457, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.00197/0.00197, allocations: 64.77 kB / 378.5 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3312, allocations: 53.37 MB / 431.9 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.006161/0.3373, allocations: 4.426 MB / 436.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003537/0.3409, allocations: 1.664 MB / 438 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005021/0.3414, allocations: 15.88 kB / 438 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004608/0.3418, allocations: 122.9 kB / 438.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.3428, allocations: 365.6 kB / 438.5 MB, free: 320 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005432/0.3434, allocations: 247.6 kB / 438.7 MB, free: 72 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001193/0.3446, allocations: 0.9824 MB / 439.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00032/0.3449, allocations: 162 kB / 439.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006279/0.3455, allocations: 394.7 kB / 440.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006111/0.3461, allocations: 438.2 kB / 440.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.3463, allocations: 96 kB / 440.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004257/0.3467, allocations: 211.9 kB / 441 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.3469, allocations: 195.4 kB / 441.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004266/0.3473, allocations: 426 kB / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.3487, allocations: 1.171 MB / 442.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3488, allocations: 0 / 442.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3488, allocations: 0 / 442.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.3488, allocations: 0 / 442.8 MB, free: 12.02 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.002528/0.3513, allocations: 1.05 MB / 443.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.3513, allocations: 8.031 kB / 443.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001357/0.3515, allocations: 98.7 kB / 443.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002777/0.3518, allocations: 88.45 kB / 444 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008603/0.3526, allocations: 465.4 kB / 444.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.3527, allocations: 131 kB / 444.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/0.3529, allocations: 68.31 kB / 444.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.3541, allocations: 0.602 MB / 445.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.3541, allocations: 7.922 kB / 445.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.527e-05/0.3542, allocations: 20 kB / 445.3 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.3542, allocations: 16 kB / 445.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.3554, allocations: 0.5282 MB / 445.8 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00364/0.359, allocations: 2.247 MB / 448.1 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.36, allocations: 457.2 kB / 448.5 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005408/0.3606, allocations: 250 kB / 448.8 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.3606, allocations: 7.938 kB / 448.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.875e-05/0.3607, allocations: 50.48 kB / 448.8 MB, free: 5.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.435e-06/0.3607, allocations: 0 / 448.8 MB, free: 5.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01311/0.3738, allocations: 3.326 MB / 452.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.3738, allocations: 85.59 kB / 452.2 MB, free: 2.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007913/0.3746, allocations: 0.5332 MB / 452.8 MB, free: 1.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.287e-05/0.3747, allocations: 41.64 kB / 452.8 MB, free: 1.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.375, allocations: 324.8 kB / 453.1 MB, free: 1.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.3752, allocations: 218.2 kB / 453.3 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.3754, allocations: 114.3 kB / 453.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3755, allocations: 362.8 kB / 453.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005705/0.3761, allocations: 253.2 kB / 454.1 MB, free: 412 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006292/0.3767, allocations: 344.5 kB / 454.4 MB, free: 36 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.378, allocations: 0.6031 MB / 455 MB, free: 15.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.378, allocations: 8 kB / 455 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001595/0.3796, allocations: 0.7438 MB / 455.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.3796, allocations: 6.969 kB / 455.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.3796, allocations: 7.984 kB / 455.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000163/0.3798, allocations: 28.84 kB / 455.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000814/0.3806, allocations: 167.8 kB / 456 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.3819, allocations: 1.327 MB / 457.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005935/0.3824, allocations: 44.03 kB / 457.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-05/0.3825, allocations: 23.94 kB / 457.3 MB, free: 12.91 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.0003512/0.3829, allocations: 205.6 kB / 457.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.383, allocations: 67.58 kB / 457.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/0.3849, allocations: 0.8281 MB / 458.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.3849, allocations: 11.94 kB / 458.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.3849, allocations: 4 kB / 458.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.3849, allocations: 3.984 kB / 458.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003847/0.3888, allocations: 1.808 MB / 460.3 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3888, allocations: 0 / 460.3 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005371/0.3893, allocations: 119.8 kB / 460.4 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002299/0.3916, allocations: 482.8 kB / 460.9 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.414e-05/0.3916, allocations: 16 kB / 460.9 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00531/0.397, allocations: 3.043 MB / 463.9 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.397, allocations: 0 / 463.9 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003128/0.4001, allocations: 1.362 MB / 465.3 MB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003599/0.4004, allocations: 131.5 kB / 465.4 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.959e-05/0.4005, allocations: 19.94 kB / 465.4 MB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006074/0.4011, allocations: 47.95 kB / 465.5 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.4013, allocations: 48.56 kB / 465.5 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.462e-05/0.4013, allocations: 16 kB / 465.5 MB, free: 4.508 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005427/0.4019, allocations: 398.8 kB / 465.9 MB, free: 4.121 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4019, allocations: 0 / 465.9 MB, free: 4.121 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007295/0.4026, allocations: 184.1 kB / 466.1 MB, free: 3.941 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.003492/0.4061, allocations: 1.957 MB / 468.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.4077, allocations: 0.7149 MB / 468.8 MB, free: 1.223 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4077, allocations: 0 / 468.8 MB, free: 1.223 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009792/0.4087, allocations: 0.4988 MB / 469.3 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008408/0.4095, allocations: 96.94 kB / 469.4 MB, free: 0.625 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.4207, allocations: 5.947 MB / 475.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007237/0.4214, allocations: 0.9042 MB / 476.2 MB, free: 9.594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004139/0.4218, allocations: 68.81 kB / 476.3 MB, free: 9.523 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005249/0.4223, allocations: 243.3 kB / 476.5 MB, free: 9.285 MB / 382.1 MB Notification: Performance of SimCode: time 1.853e-06/0.4223, allocations: 0 / 476.5 MB, free: 9.285 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05458/0.4769, allocations: 16.31 MB / 492.8 MB, free: 9.199 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.76, allocations: 4.734 kB / 492.8 MB, free: 9.195 MB / 398.1 MB " [Timeout remaining time 646] (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: 16.20650213304907] 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.865126360207796 13.880330339 13.528407549 Calling exit ...