Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 108.8 kB / 21.93 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 63.8 kB / 348.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2824, allocations: 49.15 MB / 397.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.009644/0.292, allocations: 9.045 MB / 406.7 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01214/0.3042, allocations: 6.02 MB / 412.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003257/0.3074, allocations: 48.97 kB / 412.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.3093, allocations: 490.9 kB / 413.2 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004093/0.3134, allocations: 0.9226 MB / 414.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007342/0.3208, allocations: 2.502 MB / 416.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006346/0.3271, allocations: 3.48 MB / 420.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.3283, allocations: 499.3 kB / 420.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002484/0.3307, allocations: 1.31 MB / 421.9 MB, free: 9.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002045/0.3328, allocations: 1.313 MB / 423.2 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005194/0.3333, allocations: 332.2 kB / 423.6 MB, free: 8.488 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.3347, allocations: 0.5945 MB / 424.1 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007522/0.3354, allocations: 0.741 MB / 424.9 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001545/0.337, allocations: 1.168 MB / 426.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004995/0.342, allocations: 3.966 MB / 430 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.342, allocations: 0 / 430 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.342, allocations: 0 / 430 MB, free: 2.695 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.294e-05/0.3421, allocations: 0 / 430 MB, free: 2.695 MB / 334.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.008053/0.3501, allocations: 3.087 MB / 433.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.3502, allocations: 11.98 kB / 433.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006018/0.3508, allocations: 287.2 kB / 433.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00262/0.3534, allocations: 1.318 MB / 434.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003782/0.3538, allocations: 395.7 kB / 435.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005609/0.3543, allocations: 248 kB / 435.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004408/0.3587, allocations: 2.642 MB / 438 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.951e-05/0.3588, allocations: 0 / 438 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.359, allocations: 80 kB / 438.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.67e-05/0.359, allocations: 51.98 kB / 438.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004133/0.3631, allocations: 1.904 MB / 440 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0132/0.3763, allocations: 6.795 MB / 446.8 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003804/0.3801, allocations: 1.974 MB / 448.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003159/0.3833, allocations: 1.469 MB / 450.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.3834, allocations: 29.98 kB / 450.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.912e-05/0.3835, allocations: 72.38 kB / 450.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=208): time 4.729e-06/0.3835, allocations: 0 / 450.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=250): time 0.05407/0.4376, allocations: 13.67 MB / 464 MB, free: 20 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002667/0.4378, allocations: 389.8 kB / 464.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002623/0.4405, allocations: 1.443 MB / 465.9 MB, free: 14.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004701/0.4409, allocations: 69.7 kB / 465.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008012/0.4417, allocations: 0.8324 MB / 466.8 MB, free: 13.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001091/0.4428, allocations: 0.8792 MB / 467.6 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007297/0.4436, allocations: 408.7 kB / 468 MB, free: 11.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.4437, allocations: 301.1 kB / 468.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002338/0.446, allocations: 1 MB / 469.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002736/0.4488, allocations: 1.482 MB / 470.8 MB, free: 8.984 MB / 382.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.03452/0.4833, allocations: 9.271 MB / 480.1 MB, free: 15.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.4833, allocations: 4 kB / 480.1 MB, free: 15.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006412/0.4897, allocations: 2.937 MB / 483 MB, free: 12.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.4897, allocations: 8.094 kB / 483 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.1e-05/0.4898, allocations: 11.98 kB / 483 MB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.4908, allocations: 348.9 kB / 483.4 MB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002681/0.4935, allocations: 0.5423 MB / 483.9 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009883/0.5034, allocations: 10.14 MB / 494.1 MB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/0.5058, allocations: 123.9 kB / 494.2 MB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002059/0.506, allocations: 84.02 kB / 494.3 MB, free: 0.75 MB / 398.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.001096/0.5071, allocations: 473.3 kB / 494.7 MB, free: 284 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004632/0.5075, allocations: 210.7 kB / 494.9 MB, free: 72 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008676/0.5162, allocations: 3.421 MB / 498.4 MB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.651e-05/0.5162, allocations: 27.94 kB / 498.4 MB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.5162, allocations: 7.938 kB / 498.4 MB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.078e-05/0.5163, allocations: 19.88 kB / 498.4 MB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01364/0.5299, allocations: 5.481 MB / 0.4921 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.5299, allocations: 0 / 0.4921 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002144/0.5321, allocations: 431.4 kB / 0.4925 GB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005888/0.538, allocations: 1.198 MB / 0.4937 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004259/0.5384, allocations: 63.97 kB / 0.4937 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02521/0.5636, allocations: 17.56 MB / 0.5109 GB, free: 2.723 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.5636, allocations: 0 / 0.5109 GB, free: 2.723 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/0.5761, allocations: 4.902 MB / 0.5157 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00156/0.5777, allocations: 462.3 kB / 0.5161 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003924/0.5781, allocations: 52 kB / 0.5161 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001883/0.58, allocations: 139.8 kB / 0.5163 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005589/0.5805, allocations: 209.6 kB / 0.5165 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/0.5807, allocations: 76.03 kB / 0.5166 GB, free: 12.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001569/0.5823, allocations: 0.9953 MB / 0.5175 GB, free: 11.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5823, allocations: 0 / 0.5175 GB, free: 11.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002778/0.585, allocations: 0.6912 MB / 0.5182 GB, free: 11.09 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.0006641/0.5857, allocations: 260.6 kB / 0.5184 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006821/0.5925, allocations: 3.235 MB / 0.5216 GB, free: 7.461 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.5925, allocations: 0 / 0.5216 GB, free: 7.461 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004469/0.597, allocations: 2.515 MB / 0.5241 GB, free: 4.824 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/0.5992, allocations: 346.8 kB / 0.5244 GB, free: 4.484 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.6099, allocations: 5.419 MB / 0.5297 GB, free: 14.99 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/0.6112, allocations: 0.9991 MB / 0.5307 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/0.6123, allocations: 171.3 kB / 0.5308 GB, free: 13.79 MB / 462.1 MB Notification: Performance of SimCode: time 1.483e-06/0.6123, allocations: 0 / 0.5308 GB, free: 13.79 MB / 462.1 MB Notification: Performance of Templates: time 0.2661/0.8784, allocations: 96.9 MB / 0.6255 GB, free: 97.06 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.415516200009733]