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.001327/0.001327, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.001517/0.001517, allocations: 214.9 kB / 23.75 MB, free: 4.672 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.435/1.435, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.001911/0.001911, allocations: 71.89 kB / 377.8 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.297, allocations: 53.4 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.0125/0.3095, allocations: 10.66 MB / 441.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.3218, allocations: 6.442 MB / 448.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002115/0.3239, allocations: 51.62 kB / 448.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.3254, allocations: 495.8 kB / 448.8 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003154/0.3285, allocations: 0.931 MB / 449.8 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005851/0.3344, allocations: 2.526 MB / 452.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00487/0.3393, allocations: 3.504 MB / 455.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009618/0.3402, allocations: 0.5228 MB / 456.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/0.3422, allocations: 1.32 MB / 457.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001999/0.3442, allocations: 1.482 MB / 459.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004537/0.3447, allocations: 332 kB / 459.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.3459, allocations: 0.6011 MB / 460 MB, free: 9.723 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006894/0.3466, allocations: 0.7399 MB / 460.8 MB, free: 8.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001621/0.3482, allocations: 1.407 MB / 462.2 MB, free: 7.566 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004781/0.353, allocations: 3.962 MB / 466.2 MB, free: 3.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.353, allocations: 0 / 466.2 MB, free: 3.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.353, allocations: 0 / 466.2 MB, free: 3.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.854e-05/0.353, allocations: 0 / 466.2 MB, free: 3.59 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.007961/0.361, allocations: 3.083 MB / 469.2 MB, free: 472 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.3611, allocations: 20.02 kB / 469.3 MB, free: 452 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003393/0.3614, allocations: 274.6 kB / 469.5 MB, free: 168 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007956/0.3622, allocations: 315.1 kB / 469.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002765/0.365, allocations: 1.33 MB / 471.2 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003835/0.3653, allocations: 403.7 kB / 471.6 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005709/0.3659, allocations: 239.8 kB / 471.8 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004204/0.3701, allocations: 2.176 MB / 474 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.432e-05/0.3702, allocations: 4 kB / 474 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/0.3703, allocations: 80 kB / 474.1 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.016e-05/0.3704, allocations: 48 kB / 474.1 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004347/0.3747, allocations: 1.916 MB / 476 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01589/0.3906, allocations: 7.682 MB / 483.7 MB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004532/0.3952, allocations: 1.982 MB / 485.7 MB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003209/0.3984, allocations: 1.469 MB / 487.1 MB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.3985, allocations: 37.98 kB / 487.2 MB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.474e-05/0.3986, allocations: 60.55 kB / 487.2 MB, free: 13.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=208): time 4.819e-06/0.3986, allocations: 0 / 487.2 MB, free: 13.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=250): time 0.0535/0.4521, allocations: 13.7 MB / 0.4892 GB, free: 240 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002962/0.4524, allocations: 393.8 kB / 0.4896 GB, free: 15.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002606/0.455, allocations: 1.526 MB / 0.4911 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000512/0.4555, allocations: 73.7 kB / 0.4911 GB, free: 14.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007532/0.4562, allocations: 0.837 MB / 0.492 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001067/0.4573, allocations: 0.8753 MB / 0.4928 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007145/0.458, allocations: 412.6 kB / 0.4932 GB, free: 12.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4582, allocations: 309.1 kB / 0.4935 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002283/0.4604, allocations: 0.9963 MB / 0.4945 GB, free: 10.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002462/0.4629, allocations: 1.264 MB / 0.4957 GB, free: 9.371 MB / 414.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.03501/0.4979, allocations: 9.27 MB / 0.5048 GB, free: 8 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.4979, allocations: 0 / 0.5048 GB, free: 8 kB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.007014/0.5049, allocations: 2.937 MB / 0.5076 GB, free: 13.01 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.505, allocations: 11.94 kB / 0.5076 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.304e-05/0.505, allocations: 7.984 kB / 0.5076 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.5061, allocations: 356.9 kB / 0.508 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002839/0.5089, allocations: 0.5422 MB / 0.5085 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/0.5194, allocations: 10.33 MB / 0.5186 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/0.5219, allocations: 120 kB / 0.5187 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003854/0.5222, allocations: 87.94 kB / 0.5188 GB, free: 0.8672 MB / 430.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.001241/0.5235, allocations: 467.9 kB / 0.5192 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006404/0.5241, allocations: 222.7 kB / 0.5195 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009105/0.5332, allocations: 3.434 MB / 0.5228 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-05/0.5333, allocations: 28 kB / 0.5228 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.5333, allocations: 4 kB / 0.5228 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.683e-05/0.5333, allocations: 11.95 kB / 0.5229 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01524/0.5485, allocations: 6.226 MB / 0.5289 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.567e-05/0.5486, allocations: 0 / 0.5289 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002334/0.5509, allocations: 427.4 kB / 0.5293 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005847/0.5567, allocations: 1.198 MB / 0.5305 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004177/0.5572, allocations: 60.03 kB / 0.5306 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2292/0.7864, allocations: 17.96 MB / 0.5481 GB, free: 91.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7864, allocations: 0 / 0.5481 GB, free: 91.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/0.7965, allocations: 4.924 MB / 0.5529 GB, free: 89.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/0.7979, allocations: 468.9 kB / 0.5534 GB, free: 89.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003304/0.7983, allocations: 57.95 kB / 0.5534 GB, free: 89.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/0.8001, allocations: 135.4 kB / 0.5535 GB, free: 88.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004753/0.8006, allocations: 213.6 kB / 0.5538 GB, free: 88.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/0.8007, allocations: 68.91 kB / 0.5538 GB, free: 88.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001156/0.8019, allocations: 1.055 MB / 0.5548 GB, free: 88.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8019, allocations: 0 / 0.5548 GB, free: 88.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002264/0.8041, allocations: 0.6919 MB / 0.5555 GB, free: 88.41 MB / 446.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.00939/0.8135, allocations: 5.622 MB / 0.561 GB, free: 85.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004799/0.8183, allocations: 3.241 MB / 0.5642 GB, free: 82.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.8183, allocations: 7.938 kB / 0.5642 GB, free: 82.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003086/0.8214, allocations: 2.507 MB / 0.5666 GB, free: 79.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/0.8235, allocations: 385.6 kB / 0.567 GB, free: 79.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02632/0.8498, allocations: 19.58 MB / 0.5861 GB, free: 59.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008158/0.8506, allocations: 1.568 MB / 0.5877 GB, free: 57.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001131/0.8518, allocations: 299.9 kB / 0.5879 GB, free: 57.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/0.8528, allocations: 0.9132 MB / 0.5888 GB, free: 56.56 MB / 446.1 MB Notification: Performance of SimCode: time 8.91e-07/0.8528, allocations: 0 / 0.5888 GB, free: 56.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1118/0.9647, allocations: 60.44 MB / 0.6479 GB, free: 12.48 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.06/19.02, allocations: 6.688 kB / 0.6479 GB, free: 12.48 MB / 462.1 MB " [Timeout remaining time 641] (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: 23.33326297399981]