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.007616/0.007616, allocations: 106.5 kB / 21.98 MB, free: 5.223 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.002161/0.002161, allocations: 212.6 kB / 25.29 MB, free: 3.203 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.452/1.452, allocations: 230.6 MB / 259 MB, free: 8.039 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.001999/0.001999, allocations: 67.88 kB / 379.8 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2458, allocations: 53.36 MB / 433.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01236/0.2582, allocations: 10.66 MB / 443.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.27, allocations: 6.428 MB / 450.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001848/0.2719, allocations: 51.62 kB / 450.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.2733, allocations: 499.9 kB / 450.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002737/0.276, allocations: 0.931 MB / 451.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005782/0.2818, allocations: 2.524 MB / 454.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005109/0.2869, allocations: 3.493 MB / 457.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009849/0.2879, allocations: 0.5229 MB / 458.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002035/0.2899, allocations: 1.316 MB / 459.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002262/0.2922, allocations: 1.482 MB / 461.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005397/0.2927, allocations: 328 kB / 461.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.2939, allocations: 0.6089 MB / 462 MB, free: 10.01 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000711/0.2946, allocations: 0.736 MB / 462.8 MB, free: 9.273 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001529/0.2961, allocations: 1.404 MB / 464.2 MB, free: 7.863 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004576/0.3007, allocations: 3.962 MB / 468.1 MB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3007, allocations: 0 / 468.1 MB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3007, allocations: 0 / 468.1 MB, free: 3.887 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.091e-05/0.3008, allocations: 0 / 468.1 MB, free: 3.887 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.007648/0.3084, allocations: 3.087 MB / 471.2 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3085, allocations: 12.03 kB / 471.2 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007799/0.3092, allocations: 319.1 kB / 471.5 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002483/0.3117, allocations: 1.338 MB / 472.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000241/0.312, allocations: 237.5 kB / 473.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005845/0.3126, allocations: 248 kB / 473.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004265/0.3168, allocations: 2.162 MB / 475.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.097e-05/0.3169, allocations: 3.984 kB / 475.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001888/0.3171, allocations: 84 kB / 475.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-05/0.3171, allocations: 51.94 kB / 475.6 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004272/0.3214, allocations: 1.916 MB / 477.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01323/0.3346, allocations: 7.679 MB / 485.2 MB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00367/0.3383, allocations: 1.978 MB / 487.2 MB, free: 348 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003048/0.3413, allocations: 1.477 MB / 488.7 MB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/0.3414, allocations: 29.92 kB / 488.7 MB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.322e-05/0.3415, allocations: 68.5 kB / 488.8 MB, free: 14.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=208): time 3.757e-06/0.3415, allocations: 0 / 488.8 MB, free: 14.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=250): time 0.05395/0.3955, allocations: 13.7 MB / 0.4907 GB, free: 1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000252/0.3957, allocations: 393.8 kB / 0.4911 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/0.3983, allocations: 1.53 MB / 0.4926 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003942/0.3986, allocations: 69.64 kB / 0.4926 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007523/0.3994, allocations: 0.837 MB / 0.4935 GB, free: 14.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009536/0.4004, allocations: 0.883 MB / 0.4943 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000744/0.4011, allocations: 412.6 kB / 0.4947 GB, free: 12.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4012, allocations: 301.1 kB / 0.495 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002309/0.4035, allocations: 0.9963 MB / 0.496 GB, free: 11.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002539/0.4061, allocations: 1.26 MB / 0.4972 GB, free: 10.14 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.03503/0.4411, allocations: 9.282 MB / 0.5063 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.4411, allocations: 3.938 kB / 0.5063 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006598/0.4477, allocations: 2.929 MB / 0.5091 GB, free: 13.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.4477, allocations: 11.94 kB / 0.5091 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.235e-05/0.4478, allocations: 4 kB / 0.5091 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.4488, allocations: 352.8 kB / 0.5095 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002792/0.4516, allocations: 0.55 MB / 0.51 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009911/0.4615, allocations: 10.32 MB / 0.5201 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/0.4638, allocations: 132 kB / 0.5202 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/0.464, allocations: 83.95 kB / 0.5203 GB, free: 1.625 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.001079/0.4651, allocations: 470.3 kB / 0.5208 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004909/0.4656, allocations: 222.6 kB / 0.521 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008903/0.4745, allocations: 3.426 MB / 0.5243 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-05/0.4745, allocations: 24 kB / 0.5243 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.4746, allocations: 4 kB / 0.5243 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.842e-05/0.4746, allocations: 15.94 kB / 0.5244 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0144/0.489, allocations: 6.222 MB / 0.5304 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.489, allocations: 0 / 0.5304 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002175/0.4912, allocations: 431.4 kB / 0.5308 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005951/0.4971, allocations: 1.198 MB / 0.532 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003959/0.4975, allocations: 59.97 kB / 0.5321 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2098/0.7073, allocations: 17.97 MB / 0.5496 GB, free: 91.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.7073, allocations: 0 / 0.5496 GB, free: 91.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009999/0.7173, allocations: 4.916 MB / 0.5544 GB, free: 89.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.7184, allocations: 479.1 kB / 0.5549 GB, free: 89.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003022/0.7187, allocations: 51.81 kB / 0.5549 GB, free: 89.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/0.7205, allocations: 136.6 kB / 0.5551 GB, free: 89.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005071/0.721, allocations: 205.8 kB / 0.5553 GB, free: 89.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.7211, allocations: 75.12 kB / 0.5553 GB, free: 89.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001183/0.7223, allocations: 1.049 MB / 0.5563 GB, free: 88.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7223, allocations: 0 / 0.5563 GB, free: 88.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0022/0.7245, allocations: 0.6917 MB / 0.557 GB, free: 88.86 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.0004687/0.725, allocations: 272.4 kB / 0.5573 GB, free: 88.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004677/0.7296, allocations: 3.231 MB / 0.5604 GB, free: 87.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.7296, allocations: 3.938 kB / 0.5604 GB, free: 87.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003032/0.7327, allocations: 2.517 MB / 0.5629 GB, free: 85.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/0.7345, allocations: 380.2 kB / 0.5633 GB, free: 84.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007358/0.7419, allocations: 5.45 MB / 0.5686 GB, free: 79.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007803/0.7427, allocations: 1.563 MB / 0.5701 GB, free: 78.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008256/0.7435, allocations: 179.3 kB / 0.5703 GB, free: 78.09 MB / 446.1 MB Notification: Performance of SimCode: time 1.373e-06/0.7435, allocations: 4 kB / 0.5703 GB, free: 78.08 MB / 446.1 MB Notification: Performance of Templates: time 0.07446/0.818, allocations: 97.17 MB / 0.6652 GB, free: 12.93 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/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-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: 14.23282467899844]