Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.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.001781/0.001781, allocations: 131.4 kB / 17.8 MB, free: 5.219 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.002201/0.002201, allocations: 211.6 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 230.4 MB / 254 MB, free: 15.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 59.91 kB / 373 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1112, allocations: 53.38 MB / 426.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01249/0.1237, allocations: 10.63 MB / 437 MB, free: 9.934 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0125/0.1362, allocations: 6.418 MB / 443.4 MB, free: 3.492 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002684/0.1389, allocations: 47.69 kB / 443.5 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002/0.1409, allocations: 495.8 kB / 443.9 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004394/0.1453, allocations: 0.9271 MB / 444.9 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2149/0.3602, allocations: 2.522 MB / 447.4 MB, free: 9.242 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005195/0.3654, allocations: 3.478 MB / 450.9 MB, free: 9.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009773/0.3664, allocations: 0.5175 MB / 451.4 MB, free: 9.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002262/0.3686, allocations: 1.323 MB / 452.7 MB, free: 8.961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002739/0.3714, allocations: 1.48 MB / 454.2 MB, free: 8.691 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008551/0.3722, allocations: 331.3 kB / 454.5 MB, free: 8.691 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.3739, allocations: 0.5786 MB / 455.1 MB, free: 8.691 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008663/0.3748, allocations: 0.7446 MB / 455.8 MB, free: 8.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001651/0.3764, allocations: 1.403 MB / 457.2 MB, free: 7.914 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005473/0.3819, allocations: 3.956 MB / 461.2 MB, free: 6.547 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3819, allocations: 1.734 kB / 461.2 MB, free: 6.547 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3819, allocations: 1.188 kB / 461.2 MB, free: 6.547 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001366/0.382, allocations: 3.531 kB / 461.2 MB, free: 6.547 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.008607/0.3906, allocations: 3.161 MB / 464.4 MB, free: 4.801 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.3907, allocations: 9.031 kB / 464.4 MB, free: 4.801 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003345/0.391, allocations: 276.3 kB / 464.6 MB, free: 4.633 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009074/0.3919, allocations: 318.9 kB / 465 MB, free: 4.484 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/0.3941, allocations: 1.402 MB / 466.4 MB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/0.3943, allocations: 238.5 kB / 466.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005168/0.3948, allocations: 245 kB / 466.8 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003958/0.3988, allocations: 2.168 MB / 469 MB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.714e-05/0.3988, allocations: 4.656 kB / 469 MB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/0.399, allocations: 83.41 kB / 469.1 MB, free: 2.387 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.367e-05/0.3991, allocations: 49.45 kB / 469.1 MB, free: 2.387 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00421/0.4033, allocations: 1.914 MB / 471 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0141/0.4174, allocations: 7.799 MB / 478.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003988/0.4214, allocations: 1.969 MB / 480.8 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003248/0.4246, allocations: 1.48 MB / 482.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.4248, allocations: 32.33 kB / 482.3 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.715e-05/0.4248, allocations: 69.38 kB / 482.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 4.018e-06/0.4248, allocations: 0 / 482.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05518/0.48, allocations: 14.14 MB / 496.5 MB, free: 144 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002667/0.4803, allocations: 401.2 kB / 496.9 MB, free: 15.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002717/0.483, allocations: 1.522 MB / 498.5 MB, free: 14.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004369/0.4834, allocations: 69.7 kB / 498.5 MB, free: 14.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007145/0.4841, allocations: 0.8406 MB / 499.4 MB, free: 13.22 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009282/0.4851, allocations: 0.8773 MB / 0.4885 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007876/0.4859, allocations: 415.7 kB / 0.4889 GB, free: 11.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.486, allocations: 301.1 kB / 0.4892 GB, free: 11.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002287/0.4883, allocations: 0.9963 MB / 0.4902 GB, free: 10.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002476/0.4908, allocations: 1.263 MB / 0.4914 GB, free: 9.324 MB / 398.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.03426/0.525, allocations: 9.421 MB / 0.5006 GB, free: 15.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.525, allocations: 0 / 0.5006 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006553/0.5316, allocations: 2.943 MB / 0.5035 GB, free: 12.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.5316, allocations: 8.625 kB / 0.5035 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.263e-05/0.5316, allocations: 7.938 kB / 0.5035 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.5327, allocations: 358 kB / 0.5038 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002716/0.5354, allocations: 0.5451 MB / 0.5044 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/0.546, allocations: 10.95 MB / 0.5151 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/0.5489, allocations: 124 kB / 0.5152 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002776/0.5492, allocations: 87.95 kB / 0.5153 GB, free: 24 kB / 414.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: transformer.winding13.i = transformer.I1Start[3] transformer.H[2] = transformer.HStart[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 9 (diode6.off,diode5.off,diode4.off,diode3.off,diode2.off,diode1.off,transformer.core3.asc,transformer.core2.asc,transformer.core1.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (259): * Single equations (assignments): 247 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,6), (2,6), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.00124/0.5504, allocations: 465.3 kB / 0.5157 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005725/0.551, allocations: 218.6 kB / 0.5159 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009086/0.5601, allocations: 3.442 MB / 0.5193 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-05/0.5601, allocations: 24 kB / 0.5193 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.5601, allocations: 4 kB / 0.5193 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-05/0.5602, allocations: 15.95 kB / 0.5193 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/0.5756, allocations: 6.253 MB / 0.5254 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.5756, allocations: 3.984 kB / 0.5254 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002088/0.5777, allocations: 424 kB / 0.5258 GB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005784/0.5835, allocations: 1.195 MB / 0.527 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005499/0.5841, allocations: 63.97 kB / 0.5271 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02442/0.6085, allocations: 18.9 MB / 0.5455 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6085, allocations: 0 / 0.5455 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/0.6206, allocations: 4.917 MB / 0.5503 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/0.6221, allocations: 0.5423 MB / 0.5508 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003779/0.6225, allocations: 56 kB / 0.5509 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/0.6245, allocations: 131.9 kB / 0.551 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006162/0.6251, allocations: 205.8 kB / 0.5512 GB, free: 9.852 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/0.6252, allocations: 71.92 kB / 0.5513 GB, free: 9.781 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001687/0.6269, allocations: 1.053 MB / 0.5523 GB, free: 8.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6269, allocations: 0 / 0.5523 GB, free: 8.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003022/0.63, allocations: 0.6951 MB / 0.553 GB, free: 8.035 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (transformer.core1.Hstat,transformer.core1.B,transformer.core2.Hstat,transformer.core2.B,transformer.core3.Hstat,transformer.core3.B,transformer.winding11.i,transformer.winding12.i,transformer.winding13.i,transformer.winding21.i,transformer.winding22.i,transformer.winding23.i,capacitor1.v,capacitor2.v,pdissStatAvg.x[1],pdissStatAvg.x[2],pdissEddyAvg.x[1],pdissEddyAvg.x[2],pdissCopAvg.x[1],pdissCopAvg.x[2],transformer.core3.MagRel,transformer.core2.MagRel,transformer.core1.MagRel) * Number of discrete variables: 9 (transformer.core1.asc,transformer.core2.asc,transformer.core3.asc,diode1.off,diode2.off,diode3.off,diode4.off,diode5.off,diode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,8), (1,8), (1,8), (2,6), (2,6), (2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01261/0.6426, allocations: 5.609 MB / 0.5585 GB, free: 2.309 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007074/0.6496, allocations: 3.243 MB / 0.5616 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.709e-06/0.6497, allocations: 4 kB / 0.5616 GB, free: 14.94 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004703/0.6544, allocations: 2.511 MB / 0.5641 GB, free: 12.31 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/0.6571, allocations: 386.8 kB / 0.5645 GB, free: 11.93 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03686/0.6939, allocations: 19.56 MB / 0.5836 GB, free: 8.047 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00141/0.6953, allocations: 1.569 MB / 0.5851 GB, free: 6.441 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001451/0.6968, allocations: 299.9 kB / 0.5854 GB, free: 6.145 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/0.6983, allocations: 0.9093 MB / 0.5863 GB, free: 5.234 MB / 494.1 MB Notification: Performance of SimCode: time 7.41e-07/0.6983, allocations: 4 kB / 0.5863 GB, free: 5.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.388/1.086, allocations: 58.61 MB / 0.6435 GB, free: 183.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.03/18.12, allocations: 6.344 kB / 0.6435 GB, free: 183.7 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,capacitor1.v,capacitor2.v Variables in the result:time,capacitor1.v,capacitor2.v,pdissCopAvg.x[1],pdissCopAvg.x[2],pdissEddyAvg.x[1] [Calling sys.exit(0), Time elapsed: 22.476805587066337]