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.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.001454/0.001454, allocations: 113.9 kB / 19.18 MB, free: 3.762 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.001556/0.001556, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.448/1.448, allocations: 230.4 MB / 255.4 MB, free: 15 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: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") [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.00186/0.00186, allocations: 67.89 kB / 374.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09338/0.09524, allocations: 53.31 MB / 428.1 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.1835/0.2787, allocations: 10.61 MB / 438.7 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009612/0.2883, allocations: 6.406 MB / 445.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002112/0.2905, allocations: 39.97 kB / 445.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.2918, allocations: 494.6 kB / 445.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002934/0.2948, allocations: 0.9326 MB / 446.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006261/0.301, allocations: 2.525 MB / 449.1 MB, free: 56 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005718/0.3067, allocations: 3.47 MB / 452.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.3078, allocations: 0.5315 MB / 453.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002384/0.3102, allocations: 1.293 MB / 454.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002783/0.313, allocations: 1.483 MB / 455.9 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006524/0.3136, allocations: 329.1 kB / 456.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.3151, allocations: 0.5744 MB / 456.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007214/0.3158, allocations: 0.7406 MB / 457.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001771/0.3176, allocations: 1.413 MB / 458.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005086/0.3226, allocations: 3.956 MB / 462.9 MB, free: 8.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3226, allocations: 1.219 kB / 462.9 MB, free: 8.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3226, allocations: 0 / 462.9 MB, free: 8.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.396e-05/0.3227, allocations: 0 / 462.9 MB, free: 8.18 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.008246/0.331, allocations: 3.167 MB / 466 MB, free: 6.016 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.331, allocations: 9.938 kB / 466 MB, free: 6.016 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008816/0.3319, allocations: 316.6 kB / 466.3 MB, free: 5.859 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002466/0.3344, allocations: 1.402 MB / 467.8 MB, free: 4.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000235/0.3346, allocations: 247.3 kB / 468 MB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005644/0.3352, allocations: 235.9 kB / 468.2 MB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004131/0.3393, allocations: 2.171 MB / 470.4 MB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.745e-05/0.3393, allocations: 1.594 kB / 470.4 MB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/0.3395, allocations: 79.47 kB / 470.5 MB, free: 3.082 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-05/0.3395, allocations: 46.88 kB / 470.5 MB, free: 3.082 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004031/0.3436, allocations: 1.92 MB / 472.4 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01265/0.3562, allocations: 7.791 MB / 480.2 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003622/0.3599, allocations: 1.979 MB / 482.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003068/0.3629, allocations: 1.485 MB / 483.7 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.363, allocations: 29.92 kB / 483.7 MB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.53e-05/0.3631, allocations: 60.44 kB / 483.8 MB, free: 8.523 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 3.606e-06/0.3631, allocations: 4 kB / 483.8 MB, free: 8.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05306/0.4162, allocations: 14.14 MB / 497.9 MB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002172/0.4164, allocations: 389.8 kB / 498.3 MB, free: 9.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/0.4188, allocations: 1.519 MB / 499.8 MB, free: 8.215 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003225/0.4191, allocations: 73.7 kB / 499.9 MB, free: 8.137 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006768/0.4198, allocations: 0.8409 MB / 0.489 GB, free: 7.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008287/0.4206, allocations: 0.8753 MB / 0.4899 GB, free: 6.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000723/0.4213, allocations: 416.6 kB / 0.4903 GB, free: 5.988 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.4214, allocations: 305.1 kB / 0.4905 GB, free: 5.688 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/0.4236, allocations: 0.9924 MB / 0.4915 GB, free: 4.691 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002417/0.4261, allocations: 1.26 MB / 0.4927 GB, free: 3.363 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.03441/0.4605, allocations: 9.421 MB / 0.5019 GB, free: 9.816 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.4605, allocations: 3.938 kB / 0.502 GB, free: 9.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006186/0.4667, allocations: 2.937 MB / 0.5048 GB, free: 6.812 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.4667, allocations: 7.938 kB / 0.5048 GB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.093e-05/0.4667, allocations: 16.08 kB / 0.5048 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009949/0.4677, allocations: 356.8 kB / 0.5052 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/0.4703, allocations: 0.5422 MB / 0.5057 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009814/0.4801, allocations: 10.96 MB / 0.5164 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002469/0.4826, allocations: 124 kB / 0.5165 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002453/0.4829, allocations: 83.89 kB / 0.5166 GB, free: 9.887 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.001094/0.4839, allocations: 474 kB / 0.5171 GB, free: 9.414 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005365/0.4845, allocations: 226.5 kB / 0.5173 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008984/0.4935, allocations: 3.434 MB / 0.5206 GB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.034e-05/0.4935, allocations: 28 kB / 0.5207 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.4935, allocations: 4 kB / 0.5207 GB, free: 5.637 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.16e-05/0.4935, allocations: 11.95 kB / 0.5207 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0144/0.5079, allocations: 6.247 MB / 0.5268 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.508, allocations: 0 / 0.5268 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002156/0.5101, allocations: 427.4 kB / 0.5272 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005726/0.5158, allocations: 1.19 MB / 0.5283 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00037/0.5162, allocations: 59.98 kB / 0.5284 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.023/0.5392, allocations: 18.89 MB / 0.5469 GB, free: 9.402 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5392, allocations: 4.062 kB / 0.5469 GB, free: 9.398 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/0.5507, allocations: 4.918 MB / 0.5517 GB, free: 4.359 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/0.5521, allocations: 0.5422 MB / 0.5522 GB, free: 3.797 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004254/0.5525, allocations: 56 kB / 0.5522 GB, free: 3.742 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002013/0.5545, allocations: 139.9 kB / 0.5524 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005253/0.555, allocations: 197.8 kB / 0.5526 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001639/0.5552, allocations: 79.91 kB / 0.5526 GB, free: 3.332 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001522/0.5567, allocations: 1.041 MB / 0.5537 GB, free: 2.293 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5567, allocations: 0 / 0.5537 GB, free: 2.293 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002889/0.5596, allocations: 0.699 MB / 0.5543 GB, free: 1.594 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.0006112/0.5602, allocations: 263.6 kB / 0.5546 GB, free: 1.328 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006427/0.5667, allocations: 3.227 MB / 0.5577 GB, free: 13.97 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.5667, allocations: 4 kB / 0.5577 GB, free: 13.97 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004205/0.5709, allocations: 2.515 MB / 0.5602 GB, free: 11.33 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.5733, allocations: 393.4 kB / 0.5606 GB, free: 10.96 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009876/0.5831, allocations: 5.445 MB / 0.5659 GB, free: 5.445 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/0.5845, allocations: 1.553 MB / 0.5674 GB, free: 3.855 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/0.5855, allocations: 183.3 kB / 0.5676 GB, free: 3.676 MB / 478.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5855, allocations: 0 / 0.5676 GB, free: 3.676 MB / 478.1 MB Notification: Performance of Templates: time 0.2945/0.88, allocations: 97.15 MB / 0.6625 GB, free: 144.7 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.778639591066167]