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.001333/0.001333, allocations: 103.6 kB / 21.18 MB, free: 0.6641 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.001407/0.001407, allocations: 223.9 kB / 24.48 MB, free: 3.961 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.465/1.465, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.002509/0.002509, allocations: 59.86 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2901, allocations: 53.35 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01145/0.3016, allocations: 9.18 MB / 441.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.3134, allocations: 6.09 MB / 447.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001834/0.3152, allocations: 51.62 kB / 447.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.3169, allocations: 487.9 kB / 448.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003093/0.32, allocations: 0.9271 MB / 449.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005787/0.3258, allocations: 2.533 MB / 451.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004741/0.3305, allocations: 3.476 MB / 455.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009018/0.3314, allocations: 499.3 kB / 455.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001947/0.3334, allocations: 1.324 MB / 456.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001986/0.3354, allocations: 1.314 MB / 458.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005058/0.3359, allocations: 332 kB / 458.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.337, allocations: 0.5855 MB / 459.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006708/0.3377, allocations: 0.7437 MB / 459.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001272/0.3389, allocations: 1.167 MB / 461 MB, free: 9.902 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004228/0.3432, allocations: 3.989 MB / 465 MB, free: 5.898 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3432, allocations: 0 / 465 MB, free: 5.898 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3432, allocations: 0 / 465 MB, free: 5.898 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.827e-05/0.3432, allocations: 0 / 465 MB, free: 5.898 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.007962/0.3512, allocations: 3.095 MB / 468.1 MB, free: 2.758 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.3512, allocations: 8.031 kB / 468.1 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008189/0.3521, allocations: 319.1 kB / 468.4 MB, free: 2.438 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002569/0.3546, allocations: 1.322 MB / 469.7 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003215/0.3549, allocations: 403.7 kB / 470.1 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005752/0.3555, allocations: 232 kB / 470.4 MB, free: 412 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004338/0.3599, allocations: 2.646 MB / 473 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.954e-05/0.3599, allocations: 7.938 kB / 473 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001817/0.3601, allocations: 80 kB / 473.1 MB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.094e-05/0.3601, allocations: 48 kB / 473.1 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00411/0.3642, allocations: 1.904 MB / 475.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01245/0.3767, allocations: 6.792 MB / 481.8 MB, free: 4.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003635/0.3803, allocations: 1.973 MB / 483.8 MB, free: 2.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003101/0.3834, allocations: 1.473 MB / 485.3 MB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.993e-05/0.3835, allocations: 26 kB / 485.3 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.025e-05/0.3836, allocations: 64.5 kB / 485.4 MB, free: 0.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 4.599e-06/0.3836, allocations: 0 / 485.4 MB, free: 0.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05483/0.4384, allocations: 13.69 MB / 499.1 MB, free: 3.184 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002292/0.4386, allocations: 389.8 kB / 499.4 MB, free: 2.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/0.4411, allocations: 1.455 MB / 0.4892 GB, free: 1.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000372/0.4415, allocations: 73.7 kB / 0.4892 GB, free: 1.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007362/0.4422, allocations: 0.8442 MB / 0.4901 GB, free: 328 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001019/0.4433, allocations: 0.8755 MB / 0.4909 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009231/0.4442, allocations: 408.6 kB / 0.4913 GB, free: 15.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.4443, allocations: 301.1 kB / 0.4916 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002369/0.4467, allocations: 0.9963 MB / 0.4926 GB, free: 13.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002764/0.4494, allocations: 1.486 MB / 0.494 GB, free: 12.12 MB / 414.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.0348/0.4842, allocations: 9.282 MB / 0.5031 GB, free: 2.746 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.4843, allocations: 0 / 0.5031 GB, free: 2.746 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006955/0.4912, allocations: 2.929 MB / 0.5059 GB, free: 15.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.4912, allocations: 6.812 kB / 0.5059 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/0.4913, allocations: 15.88 kB / 0.506 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.4923, allocations: 352.9 kB / 0.5063 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002753/0.495, allocations: 0.55 MB / 0.5068 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01/0.505, allocations: 10.14 MB / 0.5167 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/0.5074, allocations: 128 kB / 0.5169 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00039/0.5078, allocations: 79.97 kB / 0.5169 GB, free: 3.879 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.001283/0.5091, allocations: 473.4 kB / 0.5174 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000662/0.5097, allocations: 214.7 kB / 0.5176 GB, free: 3.195 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009283/0.519, allocations: 3.418 MB / 0.5209 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.279e-05/0.519, allocations: 28 kB / 0.5209 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-05/0.5191, allocations: 4 kB / 0.521 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-05/0.5191, allocations: 15.89 kB / 0.521 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/0.5342, allocations: 5.489 MB / 0.5263 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/0.5343, allocations: 0 / 0.5263 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002196/0.5365, allocations: 427.4 kB / 0.5267 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005883/0.5423, allocations: 1.202 MB / 0.5279 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00038/0.5427, allocations: 67.97 kB / 0.528 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2302/0.7729, allocations: 17.56 MB / 0.5451 GB, free: 95.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.7729, allocations: 1.875 kB / 0.5451 GB, free: 95.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/0.7831, allocations: 4.904 MB / 0.5499 GB, free: 93.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.7842, allocations: 467.1 kB / 0.5504 GB, free: 93.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/0.7845, allocations: 57.45 kB / 0.5504 GB, free: 93.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/0.7863, allocations: 129.1 kB / 0.5505 GB, free: 93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004904/0.7868, allocations: 218.9 kB / 0.5507 GB, free: 92.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/0.7869, allocations: 70.31 kB / 0.5508 GB, free: 92.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001125/0.7881, allocations: 0.9922 MB / 0.5518 GB, free: 92.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7881, allocations: 3.844 kB / 0.5518 GB, free: 92.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002359/0.7904, allocations: 0.6868 MB / 0.5525 GB, free: 92.45 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.0005055/0.7909, allocations: 257 kB / 0.5527 GB, free: 92.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004764/0.7957, allocations: 3.246 MB / 0.5559 GB, free: 90.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.7957, allocations: 5.891 kB / 0.5559 GB, free: 90.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003038/0.7987, allocations: 2.512 MB / 0.5583 GB, free: 87.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/0.8006, allocations: 344.9 kB / 0.5587 GB, free: 87.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007407/0.808, allocations: 5.434 MB / 0.564 GB, free: 82.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007673/0.8088, allocations: 0.9911 MB / 0.5649 GB, free: 81.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008196/0.8096, allocations: 177.9 kB / 0.5651 GB, free: 81.65 MB / 446.1 MB Notification: Performance of SimCode: time 9.01e-07/0.8096, allocations: 0 / 0.5651 GB, free: 81.65 MB / 446.1 MB Notification: Performance of Templates: time 0.0742/0.8838, allocations: 97.33 MB / 0.6602 GB, free: 424 kB / 462.1 MB " [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: 13.796233697794378]