Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 120.4 kB / 18.41 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 190.7 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 247.1 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 43.92 kB / 358.7 MB, free: 8.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09638/0.098, allocations: 49.44 MB / 408.1 MB, free: 6.793 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01238/0.1104, allocations: 10.55 MB / 418.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.1215, allocations: 6.274 MB / 424.9 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001673/0.1232, allocations: 39.81 kB / 425 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.1248, allocations: 483.9 kB / 425.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0035/0.1284, allocations: 0.8998 MB / 426.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006126/0.1345, allocations: 2.504 MB / 428.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2227/0.3572, allocations: 3.47 MB / 432.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.3583, allocations: 0.7498 MB / 433.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.3601, allocations: 1.274 MB / 434.4 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002044/0.3621, allocations: 1.471 MB / 435.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007567/0.3629, allocations: 330 kB / 436.2 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.3641, allocations: 0.5665 MB / 436.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006224/0.3647, allocations: 0.7356 MB / 437.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.3661, allocations: 1.402 MB / 438.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004563/0.3706, allocations: 3.943 MB / 442.8 MB, free: 4.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3707, allocations: 2.156 kB / 442.8 MB, free: 4.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3707, allocations: 1.375 kB / 442.8 MB, free: 4.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001158/0.3708, allocations: 0 / 442.8 MB, free: 4.629 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.008542/0.3794, allocations: 3.15 MB / 446 MB, free: 3.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.3794, allocations: 13.34 kB / 446 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007069/0.3801, allocations: 287.8 kB / 446.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002397/0.3825, allocations: 1.387 MB / 447.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002336/0.3828, allocations: 237.4 kB / 447.9 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005793/0.3834, allocations: 243.9 kB / 448.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003982/0.3874, allocations: 2.168 MB / 450.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.254e-05/0.3874, allocations: 3.25 kB / 450.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002063/0.3876, allocations: 80.5 kB / 450.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-05/0.3877, allocations: 47.06 kB / 450.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003867/0.3916, allocations: 1.918 MB / 452.3 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01218/0.4038, allocations: 7.802 MB / 460.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00369/0.4075, allocations: 2.079 MB / 462.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003212/0.4107, allocations: 1.589 MB / 463.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.4109, allocations: 26.5 kB / 463.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.565e-05/0.411, allocations: 69.45 kB / 463.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=208): time 4.088e-06/0.411, allocations: 0 / 463.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=250): time 0.06595/0.4769, allocations: 14.16 MB / 478 MB, free: 15.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002241/0.4772, allocations: 393.8 kB / 478.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002724/0.4799, allocations: 1.522 MB / 479.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004895/0.4804, allocations: 65.7 kB / 480 MB, free: 13.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006859/0.4811, allocations: 0.8321 MB / 480.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008928/0.482, allocations: 0.8797 MB / 481.7 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000752/0.4828, allocations: 414.9 kB / 482.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4829, allocations: 301.1 kB / 482.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002242/0.4852, allocations: 0.9963 MB / 483.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002487/0.4877, allocations: 1.259 MB / 484.7 MB, free: 9.129 MB / 382.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.03543/0.5231, allocations: 9.415 MB / 494.1 MB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.5231, allocations: 0 / 494.1 MB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.008282/0.5314, allocations: 2.955 MB / 497 MB, free: 12.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.5315, allocations: 8.625 kB / 497.1 MB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.793e-05/0.5316, allocations: 7.984 kB / 497.1 MB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/0.5328, allocations: 360.5 kB / 497.4 MB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002947/0.5357, allocations: 0.548 MB / 498 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/0.548, allocations: 10.95 MB / 0.497 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/0.5511, allocations: 136.2 kB / 0.4971 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003902/0.5516, allocations: 83.95 kB / 0.4972 GB, free: 15.79 MB / 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.001581/0.5532, allocations: 471.9 kB / 0.4976 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008752/0.554, allocations: 218.4 kB / 0.4979 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009688/0.5637, allocations: 3.459 MB / 0.5012 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-05/0.5638, allocations: 31.45 kB / 0.5013 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/0.5639, allocations: 8 kB / 0.5013 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.709e-05/0.5639, allocations: 11.95 kB / 0.5013 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01791/0.5818, allocations: 6.274 MB / 0.5074 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/0.5819, allocations: 0 / 0.5074 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002362/0.5843, allocations: 421.5 kB / 0.5078 GB, free: 4.863 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006062/0.5904, allocations: 1.191 MB / 0.509 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005981/0.591, allocations: 63.97 kB / 0.509 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0251/0.6161, allocations: 18.9 MB / 0.5275 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.6162, allocations: 0 / 0.5275 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01464/0.6308, allocations: 4.939 MB / 0.5323 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001918/0.6328, allocations: 0.5384 MB / 0.5328 GB, free: 9.996 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001203/0.634, allocations: 59.94 kB / 0.5329 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002903/0.6369, allocations: 131.9 kB / 0.533 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008215/0.6378, allocations: 205.8 kB / 0.5332 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002793/0.6381, allocations: 67.98 kB / 0.5333 GB, free: 9.539 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002223/0.6403, allocations: 1.045 MB / 0.5343 GB, free: 8.496 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6403, allocations: 0 / 0.5343 GB, free: 8.496 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004054/0.6444, allocations: 0.6951 MB / 0.535 GB, free: 7.801 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.0009248/0.6453, allocations: 260 kB / 0.5352 GB, free: 7.566 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007951/0.6533, allocations: 3.37 MB / 0.5385 GB, free: 4.105 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/0.6534, allocations: 0 / 0.5385 GB, free: 4.105 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006867/0.6602, allocations: 2.611 MB / 0.5411 GB, free: 1.414 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005163/0.6654, allocations: 373.3 kB / 0.5414 GB, free: 1.055 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01827/0.6837, allocations: 5.439 MB / 0.5467 GB, free: 11.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002709/0.6865, allocations: 1.561 MB / 0.5483 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002317/0.6889, allocations: 183.3 kB / 0.5484 GB, free: 9.824 MB / 462.1 MB Notification: Performance of SimCode: time 1.933e-06/0.6889, allocations: 0 / 0.5484 GB, free: 9.824 MB / 462.1 MB Notification: Performance of Templates: time 0.3542/1.043, allocations: 96.59 MB / 0.6428 GB, free: 147.8 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 14.440667232964188]