Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001516/0.001516, allocations: 115.5 kB / 21.18 MB, free: 0.5898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001915/0.001915, allocations: 210.8 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.395/1.395, allocations: 230.4 MB / 258.1 MB, free: 8.148 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 71.83 kB / 378.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2329, allocations: 53.31 MB / 432.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01226/0.2451, allocations: 10.65 MB / 442.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01144/0.2566, allocations: 6.434 MB / 449.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001747/0.2583, allocations: 39.81 kB / 449.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.2597, allocations: 487.9 kB / 449.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002904/0.2626, allocations: 0.931 MB / 450.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005486/0.2681, allocations: 2.461 MB / 453.1 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004844/0.2729, allocations: 3.473 MB / 456.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009684/0.2739, allocations: 0.5263 MB / 457.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/0.276, allocations: 1.296 MB / 458.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002222/0.2782, allocations: 1.482 MB / 459.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004852/0.2787, allocations: 328 kB / 460.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.2797, allocations: 0.5738 MB / 460.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006745/0.2804, allocations: 0.736 MB / 461.5 MB, free: 9.828 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00148/0.2819, allocations: 1.407 MB / 462.9 MB, free: 8.414 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004405/0.2863, allocations: 3.954 MB / 466.8 MB, free: 4.445 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2863, allocations: 0 / 466.8 MB, free: 4.445 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2863, allocations: 0 / 466.8 MB, free: 4.445 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.03e-05/0.2864, allocations: 3.984 kB / 466.8 MB, free: 4.441 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.007885/0.2942, allocations: 3.158 MB / 470 MB, free: 1.219 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2943, allocations: 16.03 kB / 470 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008271/0.2951, allocations: 323.1 kB / 470.3 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0025/0.2976, allocations: 1.399 MB / 471.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/0.2978, allocations: 241.5 kB / 471.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005861/0.2984, allocations: 235.4 kB / 472.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003997/0.3024, allocations: 2.165 MB / 474.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.95e-05/0.3025, allocations: 4 kB / 474.3 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001893/0.3027, allocations: 87.98 kB / 474.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.722e-05/0.3027, allocations: 48 kB / 474.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004161/0.3069, allocations: 1.916 MB / 476.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01296/0.3198, allocations: 7.796 MB / 484.2 MB, free: 2.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003627/0.3235, allocations: 1.979 MB / 486.2 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003106/0.3266, allocations: 1.477 MB / 487.6 MB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.3267, allocations: 29.98 kB / 487.7 MB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.859e-05/0.3267, allocations: 64.56 kB / 487.7 MB, free: 15.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=208): time 3.857e-06/0.3267, allocations: 0 / 487.7 MB, free: 15.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=250): time 0.05313/0.3799, allocations: 14.14 MB / 0.4901 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002483/0.3801, allocations: 389.8 kB / 0.4905 GB, free: 260 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002449/0.3826, allocations: 1.523 MB / 0.492 GB, free: 14.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003628/0.3829, allocations: 81.62 kB / 0.4921 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007079/0.3836, allocations: 0.8331 MB / 0.4929 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000916/0.3845, allocations: 0.883 MB / 0.4937 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007566/0.3853, allocations: 408.6 kB / 0.4941 GB, free: 12.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3854, allocations: 305.1 kB / 0.4944 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002273/0.3877, allocations: 0.9924 MB / 0.4954 GB, free: 11.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002569/0.3903, allocations: 1.271 MB / 0.4966 GB, free: 9.863 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.03497/0.4253, allocations: 9.425 MB / 0.5058 GB, free: 316 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.4253, allocations: 0 / 0.5058 GB, free: 316 kB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006458/0.4317, allocations: 2.941 MB / 0.5087 GB, free: 13.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.4318, allocations: 4 kB / 0.5087 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.157e-05/0.4318, allocations: 11.98 kB / 0.5087 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009795/0.4328, allocations: 348.9 kB / 0.509 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00268/0.4354, allocations: 0.5461 MB / 0.5096 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/0.4457, allocations: 10.94 MB / 0.5203 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00244/0.4482, allocations: 131.9 kB / 0.5204 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002983/0.4485, allocations: 84.34 kB / 0.5205 GB, free: 412 kB / 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.00116/0.4496, allocations: 472.2 kB / 0.5209 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000608/0.4502, allocations: 222.6 kB / 0.5211 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008833/0.4591, allocations: 3.434 MB / 0.5245 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.859e-05/0.4591, allocations: 28 kB / 0.5245 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.4591, allocations: 4 kB / 0.5245 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.371e-05/0.4591, allocations: 11.95 kB / 0.5245 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/0.4734, allocations: 6.25 MB / 0.5306 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.148e-05/0.4734, allocations: 0 / 0.5306 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002178/0.4756, allocations: 427.4 kB / 0.531 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005644/0.4813, allocations: 1.194 MB / 0.5322 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004271/0.4817, allocations: 59.97 kB / 0.5323 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2162/0.6979, allocations: 18.9 MB / 0.5507 GB, free: 90.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6979, allocations: 0 / 0.5507 GB, free: 90.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009637/0.7076, allocations: 4.917 MB / 0.5555 GB, free: 88.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/0.7086, allocations: 0.5443 MB / 0.5561 GB, free: 88.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003237/0.7089, allocations: 54.25 kB / 0.5561 GB, free: 88.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/0.7107, allocations: 133.7 kB / 0.5562 GB, free: 88.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004626/0.7112, allocations: 203.5 kB / 0.5564 GB, free: 88.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/0.7113, allocations: 72.84 kB / 0.5565 GB, free: 88.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001157/0.7125, allocations: 1.051 MB / 0.5575 GB, free: 87.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7125, allocations: 0 / 0.5575 GB, free: 87.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002261/0.7147, allocations: 0.6971 MB / 0.5582 GB, free: 87.56 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.0004927/0.7152, allocations: 260.1 kB / 0.5585 GB, free: 87.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004822/0.72, allocations: 3.236 MB / 0.5616 GB, free: 85.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.72, allocations: 3.5 kB / 0.5616 GB, free: 85.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003102/0.7231, allocations: 2.505 MB / 0.5641 GB, free: 83.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.7252, allocations: 397.2 kB / 0.5644 GB, free: 83.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007654/0.7329, allocations: 5.434 MB / 0.5698 GB, free: 78.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008188/0.7337, allocations: 1.567 MB / 0.5713 GB, free: 76.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008264/0.7345, allocations: 179.3 kB / 0.5715 GB, free: 76.54 MB / 446.1 MB Notification: Performance of SimCode: time 1.163e-06/0.7345, allocations: 3.391 kB / 0.5715 GB, free: 76.54 MB / 446.1 MB Notification: Performance of Templates: time 0.0742/0.8087, allocations: 97.17 MB / 0.6663 GB, free: 11.39 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.48286051210016]