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.001607/0.001607, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.00177/0.00177, allocations: 217 kB / 24.5 MB, free: 4.133 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.452/1.452, allocations: 230.5 MB / 258.2 MB, free: 8.008 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: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 59.91 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2253, allocations: 53.41 MB / 432.5 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01229/0.2376, allocations: 10.65 MB / 443.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01154/0.2491, allocations: 6.457 MB / 449.6 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001719/0.2509, allocations: 47.69 kB / 449.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.2523, allocations: 495.9 kB / 450.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002794/0.255, allocations: 0.9232 MB / 451 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005618/0.2607, allocations: 2.538 MB / 453.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004713/0.2654, allocations: 3.493 MB / 457.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009351/0.2663, allocations: 0.5229 MB / 457.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00195/0.2683, allocations: 1.328 MB / 458.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002122/0.2704, allocations: 1.475 MB / 460.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005084/0.2709, allocations: 336 kB / 460.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.272, allocations: 0.6011 MB / 461.3 MB, free: 9.785 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006919/0.2727, allocations: 0.7399 MB / 462 MB, free: 9.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001464/0.2742, allocations: 1.407 MB / 463.5 MB, free: 7.629 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004341/0.2785, allocations: 3.962 MB / 467.4 MB, free: 3.652 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2785, allocations: 0 / 467.4 MB, free: 3.652 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2785, allocations: 0 / 467.4 MB, free: 3.652 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.873e-05/0.2786, allocations: 0 / 467.4 MB, free: 3.652 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.007754/0.2863, allocations: 3.091 MB / 470.5 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.2864, allocations: 12.03 kB / 470.5 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007502/0.2871, allocations: 319.1 kB / 470.8 MB, free: 196 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002397/0.2895, allocations: 1.326 MB / 472.2 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003149/0.2898, allocations: 395.7 kB / 472.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005495/0.2904, allocations: 236 kB / 472.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003895/0.2943, allocations: 2.169 MB / 474.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.174e-05/0.2943, allocations: 0 / 474.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000183/0.2945, allocations: 88 kB / 475 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.101e-05/0.2945, allocations: 48 kB / 475.1 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004003/0.2985, allocations: 1.916 MB / 477 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01266/0.3112, allocations: 7.694 MB / 484.7 MB, free: 1.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003627/0.3148, allocations: 1.978 MB / 486.7 MB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003016/0.3178, allocations: 1.469 MB / 488.1 MB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.318, allocations: 33.92 kB / 488.2 MB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.125e-05/0.318, allocations: 68.55 kB / 488.2 MB, free: 14.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=208): time 3.978e-06/0.318, allocations: 0 / 488.2 MB, free: 14.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=250): time 0.05159/0.3696, allocations: 13.7 MB / 0.4902 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002241/0.3698, allocations: 385.8 kB / 0.4905 GB, free: 108 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002404/0.3722, allocations: 1.526 MB / 0.492 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003475/0.3726, allocations: 77.7 kB / 0.4921 GB, free: 14.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006705/0.3733, allocations: 0.8369 MB / 0.4929 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008332/0.3741, allocations: 0.8714 MB / 0.4938 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000685/0.3748, allocations: 412.6 kB / 0.4942 GB, free: 12.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3749, allocations: 305.1 kB / 0.4945 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002177/0.3771, allocations: 0.9963 MB / 0.4954 GB, free: 11.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00236/0.3794, allocations: 1.267 MB / 0.4967 GB, free: 9.719 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.03316/0.4126, allocations: 9.274 MB / 0.5057 GB, free: 360 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.4126, allocations: 3.938 kB / 0.5057 GB, free: 356 kB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.00602/0.4186, allocations: 2.933 MB / 0.5086 GB, free: 13.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.4186, allocations: 15.88 kB / 0.5086 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/0.4187, allocations: 7.984 kB / 0.5086 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009613/0.4196, allocations: 349 kB / 0.5089 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002672/0.4223, allocations: 0.55 MB / 0.5095 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009792/0.4321, allocations: 10.32 MB / 0.5196 GB, free: 1.414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/0.4344, allocations: 124 kB / 0.5197 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002009/0.4346, allocations: 83.95 kB / 0.5198 GB, free: 1.211 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.001037/0.4356, allocations: 465.4 kB / 0.5202 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004581/0.4361, allocations: 222.6 kB / 0.5204 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008631/0.4447, allocations: 3.43 MB / 0.5238 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.62e-05/0.4447, allocations: 24 kB / 0.5238 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/0.4448, allocations: 8.125 kB / 0.5238 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.616e-05/0.4448, allocations: 15.95 kB / 0.5238 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/0.4585, allocations: 6.222 MB / 0.5299 GB, free: 6.605 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/0.4585, allocations: 0 / 0.5299 GB, free: 6.605 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/0.4606, allocations: 435.4 kB / 0.5303 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005694/0.4663, allocations: 1.194 MB / 0.5315 GB, free: 4.957 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002522/0.4665, allocations: 63.97 kB / 0.5315 GB, free: 4.895 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2238/0.6903, allocations: 17.96 MB / 0.5491 GB, free: 91.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6903, allocations: 4.453 kB / 0.5491 GB, free: 91.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009626/0.6999, allocations: 4.915 MB / 0.5539 GB, free: 89.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.7011, allocations: 478.6 kB / 0.5543 GB, free: 89.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002833/0.7014, allocations: 51.78 kB / 0.5544 GB, free: 89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/0.703, allocations: 131.1 kB / 0.5545 GB, free: 88.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005259/0.7036, allocations: 216 kB / 0.5547 GB, free: 88.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/0.7037, allocations: 73.84 kB / 0.5548 GB, free: 88.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001127/0.7048, allocations: 1.049 MB / 0.5558 GB, free: 88.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7048, allocations: 0 / 0.5558 GB, free: 88.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002275/0.7071, allocations: 0.6951 MB / 0.5565 GB, free: 88.4 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.0004946/0.7076, allocations: 261.4 kB / 0.5567 GB, free: 88.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004915/0.7125, allocations: 3.249 MB / 0.5599 GB, free: 86.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.7125, allocations: 7.719 kB / 0.5599 GB, free: 86.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003059/0.7156, allocations: 2.513 MB / 0.5624 GB, free: 84.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.7175, allocations: 380.6 kB / 0.5627 GB, free: 84.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007799/0.7253, allocations: 5.44 MB / 0.568 GB, free: 79.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007881/0.7261, allocations: 1.566 MB / 0.5696 GB, free: 77.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008155/0.7269, allocations: 179.3 kB / 0.5697 GB, free: 77.48 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.7269, allocations: 3.938 kB / 0.5697 GB, free: 77.48 MB / 446.1 MB Notification: Performance of Templates: time 0.07505/0.802, allocations: 97.17 MB / 0.6646 GB, free: 12.3 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/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] Reference file matches [Calling sys.exit(0), Time elapsed: 13.952433621045202]