Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00166/0.00166, allocations: 120.2 kB / 21.94 MB, free: 4 kB / 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.002048/0.002048, allocations: 202.8 kB / 25.24 MB, free: 3.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002641/0.002641, allocations: 55.92 kB / 348.5 MB, free: 9.508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3028, allocations: 49.16 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01052/0.3133, allocations: 10.55 MB / 408.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01424/0.3275, allocations: 6.348 MB / 414.5 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004007/0.3315, allocations: 51.22 kB / 414.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003192/0.3347, allocations: 488.7 kB / 415 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007364/0.3421, allocations: 0.9289 MB / 416 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01164/0.3537, allocations: 2.507 MB / 418.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008585/0.3623, allocations: 3.483 MB / 422 MB, free: 8.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/0.3643, allocations: 0.522 MB / 422.5 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003822/0.3681, allocations: 1.311 MB / 423.8 MB, free: 7.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004259/0.3724, allocations: 1.481 MB / 425.3 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001595/0.374, allocations: 328 kB / 425.6 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003097/0.3771, allocations: 0.6068 MB / 426.2 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001859/0.3789, allocations: 0.7452 MB / 426.9 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004548/0.3835, allocations: 1.405 MB / 428.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009008/0.3925, allocations: 3.942 MB / 432.3 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.3925, allocations: 0 / 432.3 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.3925, allocations: 3.938 kB / 432.3 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001465/0.3926, allocations: 0 / 432.3 MB, free: 0.5938 MB / 334.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.01243/0.4051, allocations: 3.083 MB / 435.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.4051, allocations: 11.98 kB / 435.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009011/0.406, allocations: 287.2 kB / 435.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004384/0.4104, allocations: 1.318 MB / 437 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005595/0.411, allocations: 395.7 kB / 437.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001126/0.4121, allocations: 236 kB / 437.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007812/0.4199, allocations: 2.165 MB / 439.8 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.874e-05/0.42, allocations: 3.938 kB / 439.8 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004441/0.4204, allocations: 88 kB / 439.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.83e-05/0.4205, allocations: 48 kB / 439.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00736/0.4279, allocations: 1.916 MB / 441.8 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02369/0.4515, allocations: 7.698 MB / 449.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006625/0.4582, allocations: 1.972 MB / 451.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005365/0.4635, allocations: 1.484 MB / 453 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002269/0.4638, allocations: 33.92 kB / 453 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.991e-05/0.4639, allocations: 64.56 kB / 453.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=208): time 8.707e-06/0.4639, allocations: 0 / 453.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=250): time 0.08346/0.5473, allocations: 13.69 MB / 466.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003456/0.5477, allocations: 393.8 kB / 467.1 MB, free: 13.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004222/0.5519, allocations: 1.51 MB / 468.7 MB, free: 11.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006964/0.5526, allocations: 77.7 kB / 468.7 MB, free: 11.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001155/0.5537, allocations: 0.833 MB / 469.6 MB, free: 10.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001721/0.5555, allocations: 0.8791 MB / 470.4 MB, free: 9.766 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001972/0.5574, allocations: 404.7 kB / 470.8 MB, free: 9.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.5576, allocations: 301.1 kB / 471.1 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004012/0.5616, allocations: 1 MB / 472.1 MB, free: 8.062 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004534/0.5662, allocations: 1.26 MB / 473.4 MB, free: 6.734 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.055/0.6212, allocations: 9.271 MB / 482.7 MB, free: 13.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.702e-05/0.6212, allocations: 3.938 kB / 482.7 MB, free: 13.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.01167/0.6329, allocations: 2.937 MB / 485.6 MB, free: 10.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/0.6329, allocations: 11.94 kB / 485.6 MB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.086e-05/0.6329, allocations: 7.984 kB / 485.6 MB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001583/0.6345, allocations: 349 kB / 486 MB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004605/0.6391, allocations: 0.5422 MB / 486.5 MB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01562/0.6548, allocations: 10.34 MB / 496.8 MB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003653/0.6584, allocations: 124 kB / 497 MB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006839/0.6591, allocations: 87.95 kB / 497.1 MB, free: 14.22 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.001578/0.6607, allocations: 461.4 kB / 497.5 MB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006841/0.6614, allocations: 218.6 kB / 497.7 MB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009105/0.6705, allocations: 3.434 MB / 0.4894 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-05/0.6705, allocations: 31.98 kB / 0.4894 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.6705, allocations: 4 kB / 0.4894 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.41e-05/0.6705, allocations: 11.95 kB / 0.4895 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/0.6854, allocations: 6.222 MB / 0.4955 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/0.6854, allocations: 0 / 0.4955 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002148/0.6876, allocations: 427.5 kB / 0.4959 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005917/0.6935, allocations: 1.194 MB / 0.4971 GB, free: 1.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004522/0.6939, allocations: 59.98 kB / 0.4972 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02394/0.7179, allocations: 17.97 MB / 0.5147 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.7179, allocations: 4.031 kB / 0.5147 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/0.7305, allocations: 4.914 MB / 0.5195 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/0.732, allocations: 474.2 kB / 0.52 GB, free: 9.426 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005867/0.7326, allocations: 52 kB / 0.52 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002111/0.7347, allocations: 135.9 kB / 0.5201 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006249/0.7354, allocations: 209.6 kB / 0.5203 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001863/0.7356, allocations: 75.91 kB / 0.5204 GB, free: 8.961 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001606/0.7372, allocations: 1.041 MB / 0.5214 GB, free: 7.922 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7372, allocations: 4 kB / 0.5214 GB, free: 7.918 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002913/0.7401, allocations: 0.699 MB / 0.5221 GB, free: 7.219 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.0006335/0.7407, allocations: 256.6 kB / 0.5224 GB, free: 6.957 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006476/0.7472, allocations: 3.231 MB / 0.5255 GB, free: 3.598 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.7472, allocations: 0 / 0.5255 GB, free: 3.598 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004638/0.7518, allocations: 2.527 MB / 0.528 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/0.7549, allocations: 379.3 kB / 0.5283 GB, free: 0.582 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.7664, allocations: 5.421 MB / 0.5336 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001663/0.7681, allocations: 1.569 MB / 0.5352 GB, free: 9.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/0.7692, allocations: 179.3 kB / 0.5353 GB, free: 9.305 MB / 462.1 MB Notification: Performance of SimCode: time 1.042e-06/0.7692, allocations: 0 / 0.5353 GB, free: 9.305 MB / 462.1 MB Notification: Performance of Templates: time 0.2773/1.046, allocations: 96.73 MB / 0.6298 GB, free: 92.66 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.587551943957806]