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.0016/0.0016, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.001553/0.001553, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.413/1.413, allocations: 225.7 MB / 253.3 MB, free: 13.02 MB / 206.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.001592/0.001592, allocations: 47.92 kB / 371.7 MB, free: 9.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2472, allocations: 52.19 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.02202/0.2692, allocations: 10.63 MB / 434.5 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01139/0.2806, allocations: 6.33 MB / 440.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.2822, allocations: 47.69 kB / 440.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.2835, allocations: 495.9 kB / 441.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002634/0.2862, allocations: 0.931 MB / 442.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005567/0.2917, allocations: 2.493 MB / 444.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004882/0.2966, allocations: 3.481 MB / 448.3 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009838/0.2976, allocations: 0.5266 MB / 448.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001988/0.2996, allocations: 1.316 MB / 450.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002244/0.3018, allocations: 1.475 MB / 451.6 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005787/0.3024, allocations: 331.9 kB / 451.9 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.3036, allocations: 0.605 MB / 452.5 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007495/0.3043, allocations: 0.7321 MB / 453.3 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001678/0.306, allocations: 1.408 MB / 454.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004614/0.3106, allocations: 3.95 MB / 458.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3106, allocations: 0 / 458.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3106, allocations: 0 / 458.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.581e-05/0.3107, allocations: 0 / 458.6 MB, free: 11.8 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.0075/0.3182, allocations: 3.075 MB / 461.7 MB, free: 8.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.3182, allocations: 11.97 kB / 461.7 MB, free: 8.668 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004877/0.3187, allocations: 291.2 kB / 462 MB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/0.3211, allocations: 1.318 MB / 463.3 MB, free: 7.027 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003238/0.3214, allocations: 395.7 kB / 463.7 MB, free: 6.586 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005577/0.3219, allocations: 244 kB / 463.9 MB, free: 6.348 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003963/0.3259, allocations: 2.173 MB / 466.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.237e-05/0.3259, allocations: 0 / 466.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/0.3261, allocations: 87.94 kB / 466.2 MB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.822e-05/0.3262, allocations: 48 kB / 466.3 MB, free: 3.961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004/0.3302, allocations: 1.912 MB / 468.2 MB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/0.3428, allocations: 7.682 MB / 475.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00374/0.3465, allocations: 1.979 MB / 477.8 MB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003097/0.3496, allocations: 1.484 MB / 479.3 MB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001264/0.3497, allocations: 29.94 kB / 479.3 MB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.354e-05/0.3498, allocations: 60.5 kB / 479.4 MB, free: 6.516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 3.547e-06/0.3498, allocations: 0 / 479.4 MB, free: 6.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05224/0.402, allocations: 13.68 MB / 493.1 MB, free: 8.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002595/0.4023, allocations: 397.8 kB / 493.5 MB, free: 8.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/0.4045, allocations: 1.514 MB / 495 MB, free: 6.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002543/0.4048, allocations: 73.7 kB / 495.1 MB, free: 6.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006707/0.4055, allocations: 0.833 MB / 495.9 MB, free: 5.871 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007936/0.4063, allocations: 0.8791 MB / 496.8 MB, free: 4.984 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006768/0.4069, allocations: 412.6 kB / 497.2 MB, free: 4.574 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4071, allocations: 301.1 kB / 497.5 MB, free: 4.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00219/0.4092, allocations: 0.9963 MB / 498.5 MB, free: 3.277 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002442/0.4117, allocations: 1.26 MB / 499.7 MB, free: 1.949 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.03289/0.4446, allocations: 9.274 MB / 0.4971 GB, free: 8.582 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.4446, allocations: 7.938 kB / 0.4971 GB, free: 8.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006118/0.4507, allocations: 2.925 MB / 0.4999 GB, free: 5.586 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.4507, allocations: 11.94 kB / 0.4999 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/0.4508, allocations: 7.984 kB / 0.4999 GB, free: 5.566 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009718/0.4517, allocations: 360.9 kB / 0.5003 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002673/0.4544, allocations: 0.5461 MB / 0.5008 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.4657, allocations: 10.34 MB / 0.5109 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002796/0.4685, allocations: 124 kB / 0.511 GB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002199/0.4687, allocations: 84.05 kB / 0.5111 GB, free: 9.43 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.001061/0.4698, allocations: 469.3 kB / 0.5116 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004711/0.4703, allocations: 218.6 kB / 0.5118 GB, free: 8.746 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009064/0.4793, allocations: 3.434 MB / 0.5151 GB, free: 5.223 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.613e-05/0.4794, allocations: 28 kB / 0.5152 GB, free: 5.195 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.4794, allocations: 8 kB / 0.5152 GB, free: 5.188 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-05/0.4794, allocations: 11.95 kB / 0.5152 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0147/0.4941, allocations: 6.218 MB / 0.5212 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.4941, allocations: 0 / 0.5212 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002139/0.4963, allocations: 431.4 kB / 0.5217 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00599/0.5022, allocations: 1.194 MB / 0.5228 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003135/0.5026, allocations: 63.97 kB / 0.5229 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2143/0.7168, allocations: 17.95 MB / 0.5404 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7168, allocations: 5.031 kB / 0.5404 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01004/0.7269, allocations: 4.908 MB / 0.5452 GB, free: 102.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/0.7281, allocations: 475.3 kB / 0.5457 GB, free: 101.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003497/0.7284, allocations: 59.56 kB / 0.5457 GB, free: 101.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/0.7302, allocations: 134 kB / 0.5459 GB, free: 101.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004552/0.7306, allocations: 208.9 kB / 0.5461 GB, free: 101.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/0.7308, allocations: 74.27 kB / 0.5461 GB, free: 101.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001174/0.7319, allocations: 1.047 MB / 0.5471 GB, free: 101.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.7319, allocations: 1.969 kB / 0.5471 GB, free: 101.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002226/0.7342, allocations: 0.6886 MB / 0.5478 GB, free: 101.3 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.0004609/0.7346, allocations: 261.4 kB / 0.5481 GB, free: 101.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004797/0.7394, allocations: 3.245 MB / 0.5512 GB, free: 99.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.7394, allocations: 2.25 kB / 0.5512 GB, free: 99.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003075/0.7425, allocations: 2.513 MB / 0.5537 GB, free: 97.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/0.7445, allocations: 383.9 kB / 0.5541 GB, free: 97.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007447/0.7519, allocations: 5.434 MB / 0.5594 GB, free: 93.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007986/0.7527, allocations: 1.558 MB / 0.5609 GB, free: 91.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008647/0.7536, allocations: 183.4 kB / 0.5611 GB, free: 91.66 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.7536, allocations: 0 / 0.5611 GB, free: 91.66 MB / 446.1 MB Notification: Performance of Templates: time 0.06936/0.8229, allocations: 96.72 MB / 0.6555 GB, free: 11.08 MB / 462.1 MB " [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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 13.862014265032485]