Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 112.5 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.516/1.516, allocations: 230.6 MB / 254.8 MB, free: 15.08 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 59.92 kB / 374.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1096, allocations: 53.33 MB / 427.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.1976/0.3072, allocations: 10.62 MB / 438.1 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.318, allocations: 6.408 MB / 444.5 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003653/0.3216, allocations: 47.12 kB / 444.6 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002408/0.3241, allocations: 493.3 kB / 445.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004256/0.3283, allocations: 0.9307 MB / 446 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007908/0.3362, allocations: 2.534 MB / 448.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006772/0.343, allocations: 3.471 MB / 452 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.3443, allocations: 0.5278 MB / 452.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002942/0.3472, allocations: 1.318 MB / 453.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00346/0.3507, allocations: 1.48 MB / 455.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008928/0.3516, allocations: 331.2 kB / 455.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.3533, allocations: 0.5809 MB / 456.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007718/0.3541, allocations: 0.7389 MB / 457 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002052/0.3561, allocations: 1.409 MB / 458.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005536/0.3617, allocations: 3.957 MB / 462.3 MB, free: 8.035 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.3617, allocations: 0 / 462.3 MB, free: 8.035 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3617, allocations: 0 / 462.3 MB, free: 8.035 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001554/0.3618, allocations: 1.438 kB / 462.3 MB, free: 8.035 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.009695/0.3715, allocations: 3.166 MB / 465.5 MB, free: 5.871 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.3716, allocations: 13.47 kB / 465.5 MB, free: 5.867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.3727, allocations: 316.2 kB / 465.8 MB, free: 5.711 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002744/0.3755, allocations: 1.398 MB / 467.2 MB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002478/0.3757, allocations: 243.9 kB / 467.5 MB, free: 4.457 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006201/0.3763, allocations: 240 kB / 467.7 MB, free: 4.367 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004504/0.3808, allocations: 2.164 MB / 469.9 MB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.44e-05/0.3809, allocations: 9.438 kB / 469.9 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001963/0.3811, allocations: 79.53 kB / 469.9 MB, free: 2.938 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.65e-05/0.3811, allocations: 47.69 kB / 470 MB, free: 2.938 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00445/0.3856, allocations: 1.918 MB / 471.9 MB, free: 1.992 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01518/0.4007, allocations: 7.794 MB / 479.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004115/0.4049, allocations: 1.973 MB / 481.7 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003414/0.4083, allocations: 1.481 MB / 483.2 MB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001441/0.4084, allocations: 29.92 kB / 483.2 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.62e-05/0.4085, allocations: 64.56 kB / 483.2 MB, free: 8.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 9.438e-06/0.4085, allocations: 3.984 kB / 483.2 MB, free: 8.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05919/0.4677, allocations: 14.14 MB / 497.4 MB, free: 10.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002396/0.4679, allocations: 385.8 kB / 497.8 MB, free: 9.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003099/0.471, allocations: 1.53 MB / 499.3 MB, free: 8.031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004886/0.4715, allocations: 69.7 kB / 499.4 MB, free: 7.957 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007825/0.4723, allocations: 0.837 MB / 0.4885 GB, free: 7.109 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001162/0.4735, allocations: 0.8753 MB / 0.4893 GB, free: 6.227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001279/0.4747, allocations: 412.6 kB / 0.4897 GB, free: 5.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.4749, allocations: 301.1 kB / 0.49 GB, free: 5.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002565/0.4774, allocations: 1 MB / 0.491 GB, free: 4.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002744/0.4802, allocations: 1.263 MB / 0.4922 GB, free: 3.188 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.03756/0.5177, allocations: 9.421 MB / 0.5014 GB, free: 9.641 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/0.5177, allocations: 11.88 kB / 0.5014 GB, free: 9.629 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.007898/0.5256, allocations: 2.937 MB / 0.5043 GB, free: 6.629 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.5257, allocations: 11.94 kB / 0.5043 GB, free: 6.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.525e-05/0.5257, allocations: 7.984 kB / 0.5043 GB, free: 6.609 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.5268, allocations: 356.9 kB / 0.5047 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002944/0.5298, allocations: 0.5461 MB / 0.5052 GB, free: 5.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/0.541, allocations: 10.95 MB / 0.5159 GB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002912/0.5439, allocations: 131.9 kB / 0.516 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005529/0.5444, allocations: 79.97 kB / 0.5161 GB, free: 9.703 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.00175/0.5462, allocations: 469.4 kB / 0.5165 GB, free: 9.234 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009487/0.5471, allocations: 222.6 kB / 0.5168 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/0.5576, allocations: 3.43 MB / 0.5201 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-05/0.5576, allocations: 24 kB / 0.5201 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/0.5576, allocations: 4 kB / 0.5201 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.98e-05/0.5577, allocations: 16.08 kB / 0.5201 GB, free: 5.453 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01659/0.5742, allocations: 6.247 MB / 0.5262 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-05/0.5743, allocations: 0 / 0.5262 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002399/0.5767, allocations: 431.4 kB / 0.5267 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006096/0.5828, allocations: 1.194 MB / 0.5278 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004428/0.5832, allocations: 63.97 kB / 0.5279 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02585/0.6091, allocations: 18.9 MB / 0.5463 GB, free: 9.211 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6091, allocations: 0 / 0.5463 GB, free: 9.211 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/0.6221, allocations: 4.914 MB / 0.5511 GB, free: 4.176 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001602/0.6237, allocations: 0.5423 MB / 0.5517 GB, free: 3.613 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007399/0.6245, allocations: 56 kB / 0.5517 GB, free: 3.559 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002401/0.6269, allocations: 131.9 kB / 0.5518 GB, free: 3.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000639/0.6275, allocations: 197.8 kB / 0.552 GB, free: 3.234 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002345/0.6277, allocations: 79.91 kB / 0.5521 GB, free: 3.156 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001896/0.6296, allocations: 1.045 MB / 0.5531 GB, free: 2.113 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6296, allocations: 4 kB / 0.5531 GB, free: 2.109 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003571/0.6332, allocations: 0.6951 MB / 0.5538 GB, free: 1.414 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.0007894/0.634, allocations: 257.5 kB / 0.5541 GB, free: 1.152 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006929/0.6409, allocations: 3.235 MB / 0.5572 GB, free: 13.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.6409, allocations: 4 kB / 0.5572 GB, free: 13.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004611/0.6456, allocations: 2.515 MB / 0.5597 GB, free: 11.15 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003365/0.6489, allocations: 386.7 kB / 0.56 GB, free: 10.78 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.6606, allocations: 5.426 MB / 0.5653 GB, free: 5.285 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001793/0.6624, allocations: 1.569 MB / 0.5669 GB, free: 3.68 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001314/0.6637, allocations: 179.3 kB / 0.5671 GB, free: 3.504 MB / 478.1 MB Notification: Performance of SimCode: time 1.553e-06/0.6637, allocations: 0 / 0.5671 GB, free: 3.504 MB / 478.1 MB Notification: Performance of Templates: time 0.2959/0.9595, allocations: 97.16 MB / 0.6619 GB, free: 144.5 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.335427175014047]