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.001486/0.001486, allocations: 123.5 kB / 18.46 MB, free: 4.613 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.001587/0.001587, allocations: 188.3 kB / 21.39 MB, free: 1.688 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.43/1.43, allocations: 225.6 MB / 249.8 MB, free: 3.633 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.001526/0.001526, allocations: 47.92 kB / 366.8 MB, free: 368 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1048, allocations: 52.15 MB / 419 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01304/0.1179, allocations: 10.59 MB / 429.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01454/0.1324, allocations: 6.294 MB / 435.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002351/0.1348, allocations: 39.81 kB / 435.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002099/0.1369, allocations: 491.9 kB / 436.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004089/0.1409, allocations: 0.931 MB / 437.3 MB, free: 9.703 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007/0.1479, allocations: 2.513 MB / 439.8 MB, free: 7.199 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005944/0.1539, allocations: 3.476 MB / 443.3 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/0.1553, allocations: 0.5224 MB / 443.8 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/0.1579, allocations: 1.285 MB / 445.1 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003071/0.1609, allocations: 1.475 MB / 446.6 MB, free: 396 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007561/0.1617, allocations: 339.9 kB / 446.9 MB, free: 56 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2111/0.3728, allocations: 0.5645 MB / 447.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001208/0.374, allocations: 0.7393 MB / 448.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002693/0.3767, allocations: 1.409 MB / 449.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005728/0.3824, allocations: 3.936 MB / 453.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3824, allocations: 0 / 453.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3824, allocations: 0.75 kB / 453.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000129/0.3825, allocations: 0 / 453.6 MB, free: 11.83 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.009012/0.3915, allocations: 3.152 MB / 456.7 MB, free: 10.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3916, allocations: 9.875 kB / 456.7 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007833/0.3924, allocations: 286.6 kB / 457 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002491/0.3948, allocations: 1.389 MB / 458.4 MB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/0.395, allocations: 245.4 kB / 458.6 MB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005934/0.3956, allocations: 240.8 kB / 458.9 MB, free: 9.789 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004393/0.4, allocations: 2.167 MB / 461 MB, free: 9.508 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.809e-05/0.4001, allocations: 5.859 kB / 461 MB, free: 9.508 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001949/0.4003, allocations: 81.41 kB / 461.1 MB, free: 9.508 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-05/0.4003, allocations: 46.44 kB / 461.2 MB, free: 9.508 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004234/0.4046, allocations: 1.917 MB / 463.1 MB, free: 9.488 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/0.4165, allocations: 7.793 MB / 470.9 MB, free: 5.203 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003305/0.4198, allocations: 1.97 MB / 472.8 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002806/0.4226, allocations: 1.479 MB / 474.3 MB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.4227, allocations: 30.66 kB / 474.4 MB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.4227, allocations: 67.59 kB / 474.4 MB, free: 3.684 MB / 366.1 MB Notification: Performance of pre-optimization done (n=208): time 3.937e-06/0.4227, allocations: 3.375 kB / 474.4 MB, free: 3.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=250): time 0.0527/0.4754, allocations: 14.14 MB / 488.6 MB, free: 12.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002554/0.4757, allocations: 399.3 kB / 489 MB, free: 12.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002854/0.4786, allocations: 1.503 MB / 490.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003162/0.4789, allocations: 76.44 kB / 490.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007348/0.4796, allocations: 0.8353 MB / 491.4 MB, free: 9.707 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000882/0.4805, allocations: 0.8812 MB / 492.2 MB, free: 8.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000786/0.4813, allocations: 404.7 kB / 492.6 MB, free: 8.438 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.4814, allocations: 301.1 kB / 492.9 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002396/0.4838, allocations: 0.9963 MB / 493.9 MB, free: 7.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002582/0.4864, allocations: 1.267 MB / 495.2 MB, free: 5.809 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.03495/0.5213, allocations: 9.416 MB / 0.4928 GB, free: 12.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.5213, allocations: 0 / 0.4928 GB, free: 12.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006734/0.5281, allocations: 2.943 MB / 0.4957 GB, free: 9.305 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.5281, allocations: 4 kB / 0.4957 GB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.669e-05/0.5281, allocations: 4 kB / 0.4957 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.5292, allocations: 357.8 kB / 0.496 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00274/0.5319, allocations: 0.5555 MB / 0.4966 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/0.5424, allocations: 10.94 MB / 0.5072 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002675/0.5451, allocations: 127.9 kB / 0.5074 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002536/0.5453, allocations: 89.78 kB / 0.5074 GB, free: 12.53 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.001237/0.5466, allocations: 464.8 kB / 0.5079 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005419/0.5471, allocations: 222.6 kB / 0.5081 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009402/0.5565, allocations: 3.441 MB / 0.5115 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.802e-05/0.5565, allocations: 24 kB / 0.5115 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.666e-05/0.5566, allocations: 4 kB / 0.5115 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-05/0.5566, allocations: 19.95 kB / 0.5115 GB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01519/0.5718, allocations: 6.238 MB / 0.5176 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.5718, allocations: 4 kB / 0.5176 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002214/0.574, allocations: 429.1 kB / 0.518 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005938/0.58, allocations: 1.194 MB / 0.5192 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000344/0.5803, allocations: 59.97 kB / 0.5192 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02495/0.6052, allocations: 18.9 MB / 0.5377 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.6052, allocations: 0 / 0.5377 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01157/0.6168, allocations: 4.913 MB / 0.5425 GB, free: 7.367 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001282/0.6181, allocations: 0.5345 MB / 0.543 GB, free: 6.812 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003327/0.6184, allocations: 59.98 kB / 0.5431 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001859/0.6203, allocations: 127.9 kB / 0.5432 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005401/0.6208, allocations: 213.1 kB / 0.5434 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001661/0.621, allocations: 75.92 kB / 0.5435 GB, free: 6.348 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001562/0.6226, allocations: 1.037 MB / 0.5445 GB, free: 5.312 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6226, allocations: 0 / 0.5445 GB, free: 5.312 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00268/0.6252, allocations: 0.7029 MB / 0.5452 GB, free: 4.609 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.0005871/0.6258, allocations: 260.4 kB / 0.5454 GB, free: 4.371 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006232/0.6321, allocations: 3.241 MB / 0.5486 GB, free: 1.035 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6321, allocations: 0 / 0.5486 GB, free: 1.035 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004129/0.6362, allocations: 2.511 MB / 0.551 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/0.6384, allocations: 373.9 kB / 0.5514 GB, free: 14.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009772/0.6482, allocations: 5.437 MB / 0.5567 GB, free: 8.625 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/0.6496, allocations: 1.561 MB / 0.5582 GB, free: 7.031 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/0.6506, allocations: 179.3 kB / 0.5584 GB, free: 6.855 MB / 462.1 MB Notification: Performance of SimCode: time 1.242e-06/0.6506, allocations: 4 kB / 0.5584 GB, free: 6.852 MB / 462.1 MB Notification: Performance of Templates: time 0.304/0.9546, allocations: 96.72 MB / 0.6528 GB, free: 165.1 MB / 0.5137 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.040298534091562]