Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001655/0.001655, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.001783/0.001783, allocations: 213.9 kB / 24.48 MB, free: 3.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 63.88 kB / 379 MB, free: 2.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2396, allocations: 53.4 MB / 432.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01229/0.2518, allocations: 9.163 MB / 441.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.2638, allocations: 6.099 MB / 447.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.2657, allocations: 47.69 kB / 447.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.2671, allocations: 495.9 kB / 448.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002918/0.27, allocations: 0.9271 MB / 449.1 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005791/0.2758, allocations: 2.537 MB / 451.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005274/0.2811, allocations: 3.489 MB / 455.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.2821, allocations: 495.4 kB / 455.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002278/0.2844, allocations: 1.324 MB / 457 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002132/0.2865, allocations: 1.318 MB / 458.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005683/0.2871, allocations: 328 kB / 458.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.2883, allocations: 0.5894 MB / 459.2 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007073/0.289, allocations: 0.7398 MB / 459.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001398/0.2904, allocations: 1.167 MB / 461.1 MB, free: 9.715 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004519/0.2949, allocations: 3.989 MB / 465.1 MB, free: 5.711 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.2949, allocations: 0 / 465.1 MB, free: 5.711 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.2949, allocations: 3.938 kB / 465.1 MB, free: 5.707 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.219e-05/0.295, allocations: 0 / 465.1 MB, free: 5.707 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.007833/0.3029, allocations: 3.087 MB / 468.2 MB, free: 2.574 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3029, allocations: 19.98 kB / 468.2 MB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007791/0.3037, allocations: 315.1 kB / 468.5 MB, free: 2.246 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002548/0.3062, allocations: 1.33 MB / 469.8 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000349/0.3066, allocations: 395.7 kB / 470.2 MB, free: 448 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005602/0.3071, allocations: 240 kB / 470.5 MB, free: 208 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004407/0.3115, allocations: 2.646 MB / 473.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.42e-05/0.3116, allocations: 0 / 473.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/0.3118, allocations: 80 kB / 473.2 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.324e-05/0.3118, allocations: 48 kB / 473.2 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004119/0.3159, allocations: 1.9 MB / 475.1 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01313/0.3291, allocations: 6.795 MB / 481.9 MB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003825/0.3329, allocations: 1.969 MB / 483.9 MB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003292/0.3362, allocations: 1.473 MB / 485.4 MB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.3363, allocations: 26 kB / 485.4 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.291e-05/0.3364, allocations: 68.44 kB / 485.5 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 4.759e-06/0.3364, allocations: 0 / 485.5 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05408/0.3905, allocations: 13.69 MB / 499.1 MB, free: 2.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003096/0.3908, allocations: 397.8 kB / 499.5 MB, free: 2.523 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002496/0.3933, allocations: 1.444 MB / 0.4892 GB, free: 1.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004538/0.3937, allocations: 73.7 kB / 0.4893 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006941/0.3944, allocations: 0.8404 MB / 0.4901 GB, free: 144 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009051/0.3953, allocations: 0.8755 MB / 0.491 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007039/0.396, allocations: 412.6 kB / 0.4914 GB, free: 14.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3961, allocations: 301.1 kB / 0.4917 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002252/0.3984, allocations: 1 MB / 0.4926 GB, free: 13.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00258/0.401, allocations: 1.49 MB / 0.4941 GB, free: 11.93 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.03386/0.4348, allocations: 9.271 MB / 0.5031 GB, free: 2.566 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.4348, allocations: 0 / 0.5031 GB, free: 2.566 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006359/0.4412, allocations: 2.937 MB / 0.506 GB, free: 15.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.4412, allocations: 8 kB / 0.506 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/0.4413, allocations: 11.88 kB / 0.506 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009701/0.4422, allocations: 357 kB / 0.5064 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002681/0.4449, allocations: 0.5422 MB / 0.5069 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009789/0.4547, allocations: 10.14 MB / 0.5168 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/0.457, allocations: 128 kB / 0.5169 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002612/0.4573, allocations: 83.95 kB / 0.517 GB, free: 3.691 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.001082/0.4584, allocations: 476.8 kB / 0.5175 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000519/0.4589, allocations: 206.7 kB / 0.5177 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008827/0.4677, allocations: 3.418 MB / 0.521 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.772e-05/0.4678, allocations: 28 kB / 0.521 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.4678, allocations: 4 kB / 0.521 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-05/0.4678, allocations: 19.89 kB / 0.521 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01421/0.482, allocations: 5.489 MB / 0.5264 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.482, allocations: 0 / 0.5264 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002132/0.4841, allocations: 435.4 kB / 0.5268 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005861/0.49, allocations: 1.194 MB / 0.528 GB, free: 8.195 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003078/0.4903, allocations: 59.97 kB / 0.528 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2349/0.7252, allocations: 17.56 MB / 0.5452 GB, free: 95.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.7252, allocations: 1.375 kB / 0.5452 GB, free: 95.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/0.7359, allocations: 4.912 MB / 0.55 GB, free: 93.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/0.7373, allocations: 471 kB / 0.5504 GB, free: 92.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003512/0.7376, allocations: 51.56 kB / 0.5505 GB, free: 92.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001756/0.7394, allocations: 130.6 kB / 0.5506 GB, free: 92.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005308/0.7399, allocations: 217.8 kB / 0.5508 GB, free: 92.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/0.7401, allocations: 70.27 kB / 0.5509 GB, free: 92.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001214/0.7413, allocations: 0.9927 MB / 0.5519 GB, free: 92.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7413, allocations: 0 / 0.5519 GB, free: 92.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002824/0.7441, allocations: 0.6917 MB / 0.5525 GB, free: 92.34 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.0005966/0.7447, allocations: 259.9 kB / 0.5528 GB, free: 92.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005352/0.75, allocations: 3.239 MB / 0.5559 GB, free: 89.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.7501, allocations: 3.844 kB / 0.5559 GB, free: 89.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003573/0.7536, allocations: 2.509 MB / 0.5584 GB, free: 87.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/0.7558, allocations: 352.5 kB / 0.5587 GB, free: 87.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008256/0.764, allocations: 5.426 MB / 0.564 GB, free: 82.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008419/0.7649, allocations: 0.996 MB / 0.565 GB, free: 81.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/0.7659, allocations: 171.7 kB / 0.5652 GB, free: 81.45 MB / 446.1 MB Notification: Performance of SimCode: time 1.773e-06/0.7659, allocations: 0 / 0.5652 GB, free: 81.45 MB / 446.1 MB Notification: Performance of Templates: time 0.07786/0.8437, allocations: 97.33 MB / 0.6602 GB, free: 108 kB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.30174222169444]