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.001601/0.001601, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.00168/0.00168, allocations: 185 kB / 24.46 MB, free: 3.863 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.456/1.456, allocations: 225.7 MB / 253.3 MB, free: 12.86 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.001635/0.001635, allocations: 47.92 kB / 371.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2778, allocations: 52.18 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01278/0.2906, allocations: 9.147 MB / 433 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.3034, allocations: 5.989 MB / 439 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001942/0.3053, allocations: 51.62 kB / 439 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.3075, allocations: 492 kB / 439.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003863/0.3113, allocations: 0.9271 MB / 440.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007209/0.3185, allocations: 2.509 MB / 442.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006276/0.3248, allocations: 3.465 MB / 446.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001602/0.3264, allocations: 0.4953 MB / 446.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002857/0.3293, allocations: 1.316 MB / 448.2 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002878/0.3321, allocations: 1.307 MB / 449.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.3333, allocations: 328 kB / 449.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/0.3351, allocations: 0.5855 MB / 450.4 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001224/0.3363, allocations: 0.7437 MB / 451.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002506/0.3388, allocations: 1.171 MB / 452.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006246/0.345, allocations: 3.97 MB / 456.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.345, allocations: 4 kB / 456.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3451, allocations: 0 / 456.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001387/0.3452, allocations: 0 / 456.3 MB, free: 13.88 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.01012/0.3553, allocations: 3.083 MB / 459.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.3554, allocations: 8.031 kB / 459.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.3565, allocations: 291.2 kB / 459.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003609/0.3601, allocations: 1.314 MB / 461 MB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005513/0.3606, allocations: 395.7 kB / 461.4 MB, free: 8.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009113/0.3615, allocations: 240 kB / 461.6 MB, free: 8.426 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005974/0.3675, allocations: 2.65 MB / 464.3 MB, free: 5.578 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.117e-05/0.3676, allocations: 7.875 kB / 464.3 MB, free: 5.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002112/0.3678, allocations: 80 kB / 464.4 MB, free: 5.492 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.476e-05/0.3678, allocations: 44 kB / 464.4 MB, free: 5.449 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004622/0.3724, allocations: 1.908 MB / 466.3 MB, free: 3.539 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01428/0.3867, allocations: 6.791 MB / 473.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003927/0.3906, allocations: 1.958 MB / 475.1 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003276/0.3939, allocations: 1.484 MB / 476.5 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.394, allocations: 22 kB / 476.6 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.219e-05/0.3941, allocations: 64.5 kB / 476.6 MB, free: 8.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 4.769e-06/0.3941, allocations: 0 / 476.6 MB, free: 8.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05464/0.4488, allocations: 13.68 MB / 490.3 MB, free: 11.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002531/0.449, allocations: 389.8 kB / 490.7 MB, free: 10.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/0.4513, allocations: 1.439 MB / 492.1 MB, free: 9.301 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003527/0.4517, allocations: 69.7 kB / 492.2 MB, free: 9.227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000756/0.4524, allocations: 0.8402 MB / 493 MB, free: 8.379 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009416/0.4534, allocations: 0.8753 MB / 493.9 MB, free: 7.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007674/0.4541, allocations: 416.6 kB / 494.3 MB, free: 7.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4543, allocations: 301.1 kB / 494.6 MB, free: 6.785 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002352/0.4566, allocations: 0.9963 MB / 495.6 MB, free: 5.785 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002726/0.4594, allocations: 1.489 MB / 497.1 MB, free: 4.176 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.03468/0.494, allocations: 9.274 MB / 0.4945 GB, free: 10.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.494, allocations: 0 / 0.4945 GB, free: 10.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.007516/0.5016, allocations: 2.937 MB / 0.4974 GB, free: 7.809 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.5016, allocations: 4.094 kB / 0.4974 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.21e-05/0.5016, allocations: 12 kB / 0.4974 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.5027, allocations: 352.8 kB / 0.4977 GB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002917/0.5056, allocations: 0.5461 MB / 0.4983 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.5168, allocations: 10.14 MB / 0.5082 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/0.5194, allocations: 123.9 kB / 0.5083 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004944/0.5199, allocations: 83.95 kB / 0.5084 GB, free: 11.94 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.001572/0.5215, allocations: 465.4 kB / 0.5088 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008736/0.5223, allocations: 210.7 kB / 0.509 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009756/0.5321, allocations: 3.433 MB / 0.5124 GB, free: 7.742 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.495e-05/0.5321, allocations: 27.98 kB / 0.5124 GB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/0.5322, allocations: 4.094 kB / 0.5124 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.14e-05/0.5322, allocations: 19.83 kB / 0.5124 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/0.5474, allocations: 5.497 MB / 0.5178 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/0.5474, allocations: 0 / 0.5178 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002354/0.5498, allocations: 427.4 kB / 0.5182 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006124/0.5559, allocations: 1.194 MB / 0.5193 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004727/0.5563, allocations: 63.97 kB / 0.5194 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3084/0.8647, allocations: 17.55 MB / 0.5365 GB, free: 107.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.8647, allocations: 1.094 kB / 0.5365 GB, free: 107.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/0.8762, allocations: 4.901 MB / 0.5413 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/0.8776, allocations: 465.9 kB / 0.5418 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003476/0.878, allocations: 52.53 kB / 0.5418 GB, free: 105.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/0.8798, allocations: 135.4 kB / 0.542 GB, free: 105.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004667/0.8803, allocations: 214.9 kB / 0.5422 GB, free: 105.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/0.8804, allocations: 70.19 kB / 0.5422 GB, free: 105.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00114/0.8815, allocations: 0.9903 MB / 0.5432 GB, free: 105.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8815, allocations: 0 / 0.5432 GB, free: 105.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002474/0.884, allocations: 0.6967 MB / 0.5439 GB, free: 105.1 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.0005487/0.8846, allocations: 262.9 kB / 0.5441 GB, free: 105 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005011/0.8896, allocations: 3.236 MB / 0.5473 GB, free: 103.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.8896, allocations: 3.75 kB / 0.5473 GB, free: 103.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003142/0.8927, allocations: 2.507 MB / 0.5497 GB, free: 101.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/0.8947, allocations: 333.8 kB / 0.5501 GB, free: 101 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007636/0.9023, allocations: 5.414 MB / 0.5553 GB, free: 96.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008055/0.9031, allocations: 0.9975 MB / 0.5563 GB, free: 95.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009046/0.904, allocations: 171.4 kB / 0.5565 GB, free: 95.23 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.904, allocations: 0 / 0.5565 GB, free: 95.23 MB / 446.1 MB Notification: Performance of Templates: time 0.07174/0.9757, allocations: 96.88 MB / 0.6511 GB, free: 14.75 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.7683763098903]