Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001331/0.001331, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001485/0.001485, allocations: 207.5 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.587/1.587, allocations: 230.6 MB / 258.2 MB, free: 7.812 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+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_4.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 47.94 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2633, allocations: 53.37 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01164/0.2749, allocations: 9.169 MB / 441.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.2871, allocations: 6.09 MB / 447.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002134/0.2892, allocations: 47.69 kB / 447.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.2907, allocations: 495.9 kB / 448.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003279/0.294, allocations: 0.9349 MB / 449.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006069/0.3, allocations: 2.539 MB / 451.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005362/0.3054, allocations: 3.477 MB / 455.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.3065, allocations: 0.5228 MB / 455.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002278/0.3088, allocations: 1.324 MB / 456.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002803/0.3116, allocations: 1.479 MB / 458.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001007/0.3126, allocations: 328 kB / 458.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002108/0.3147, allocations: 0.605 MB / 459.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008833/0.3156, allocations: 0.7398 MB / 460.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001789/0.3173, allocations: 1.171 MB / 461.2 MB, free: 9.727 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005217/0.3226, allocations: 3.989 MB / 465.2 MB, free: 5.723 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.3226, allocations: 0 / 465.2 MB, free: 5.723 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3226, allocations: 3.938 kB / 465.2 MB, free: 5.719 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.949e-05/0.3227, allocations: 0 / 465.2 MB, free: 5.719 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.008876/0.3315, allocations: 3.083 MB / 468.3 MB, free: 2.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.3316, allocations: 16.03 kB / 468.3 MB, free: 2.574 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008791/0.3325, allocations: 315.1 kB / 468.6 MB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002766/0.3352, allocations: 1.326 MB / 470 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003534/0.3356, allocations: 403.7 kB / 470.4 MB, free: 464 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006214/0.3362, allocations: 240 kB / 470.6 MB, free: 224 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004635/0.3409, allocations: 2.65 MB / 473.3 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.831e-05/0.3409, allocations: 0 / 473.3 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002006/0.3411, allocations: 84 kB / 473.3 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.201e-05/0.3411, allocations: 48 kB / 473.4 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004203/0.3453, allocations: 1.9 MB / 475.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01296/0.3583, allocations: 6.788 MB / 482.1 MB, free: 4.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003629/0.3619, allocations: 1.969 MB / 484 MB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002961/0.3649, allocations: 1.48 MB / 485.5 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.365, allocations: 22 kB / 485.5 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.344e-05/0.3651, allocations: 68.5 kB / 485.6 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 4.759e-06/0.3651, allocations: 0 / 485.6 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05552/0.4206, allocations: 13.69 MB / 499.3 MB, free: 3.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002589/0.4209, allocations: 389.8 kB / 499.7 MB, free: 2.539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002465/0.4233, allocations: 1.451 MB / 0.4894 GB, free: 1.074 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004183/0.4237, allocations: 65.7 kB / 0.4894 GB, free: 1.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007371/0.4245, allocations: 0.8442 MB / 0.4903 GB, free: 156 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009954/0.4255, allocations: 0.8793 MB / 0.4911 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007685/0.4262, allocations: 408.6 kB / 0.4915 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.4264, allocations: 309.1 kB / 0.4918 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002294/0.4287, allocations: 0.9924 MB / 0.4928 GB, free: 13.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002668/0.4314, allocations: 1.49 MB / 0.4942 GB, free: 11.94 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.03691/0.4683, allocations: 9.274 MB / 0.5033 GB, free: 2.574 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.4683, allocations: 4 kB / 0.5033 GB, free: 2.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006554/0.4748, allocations: 2.918 MB / 0.5062 GB, free: 15.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.356e-05/0.4749, allocations: 8 kB / 0.5062 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/0.4749, allocations: 11.92 kB / 0.5062 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.476, allocations: 356.9 kB / 0.5065 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003004/0.479, allocations: 0.5461 MB / 0.507 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/0.4895, allocations: 10.13 MB / 0.5169 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002632/0.4921, allocations: 132 kB / 0.5171 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002911/0.4924, allocations: 83.95 kB / 0.5171 GB, free: 3.711 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.001154/0.4935, allocations: 469.3 kB / 0.5176 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005369/0.4941, allocations: 218.6 kB / 0.5178 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009286/0.5034, allocations: 3.414 MB / 0.5211 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.133e-05/0.5034, allocations: 31.98 kB / 0.5212 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/0.5034, allocations: 4 kB / 0.5212 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.971e-05/0.5034, allocations: 19.89 kB / 0.5212 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/0.518, allocations: 5.489 MB / 0.5265 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.518, allocations: 0 / 0.5265 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002278/0.5203, allocations: 431.4 kB / 0.527 GB, free: 9.438 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006206/0.5265, allocations: 1.194 MB / 0.5281 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003718/0.5269, allocations: 59.98 kB / 0.5282 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2261/0.753, allocations: 17.56 MB / 0.5453 GB, free: 95.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.753, allocations: 1.859 kB / 0.5453 GB, free: 95.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/0.7637, allocations: 4.912 MB / 0.5501 GB, free: 93.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/0.765, allocations: 459.6 kB / 0.5506 GB, free: 93.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003338/0.7653, allocations: 65 kB / 0.5506 GB, free: 93.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/0.7672, allocations: 131.3 kB / 0.5508 GB, free: 93.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005411/0.7677, allocations: 218.7 kB / 0.551 GB, free: 93.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/0.7679, allocations: 68.97 kB / 0.551 GB, free: 93.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001174/0.769, allocations: 0.9913 MB / 0.552 GB, free: 92.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.769, allocations: 0 / 0.552 GB, free: 92.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002566/0.7716, allocations: 0.6888 MB / 0.5527 GB, free: 92.52 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.0005939/0.7722, allocations: 267.8 kB / 0.5529 GB, free: 92.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005049/0.7772, allocations: 3.233 MB / 0.5561 GB, free: 90.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.7773, allocations: 7.438 kB / 0.5561 GB, free: 90.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003231/0.7805, allocations: 2.51 MB / 0.5585 GB, free: 87.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/0.7826, allocations: 341.7 kB / 0.5589 GB, free: 87.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008459/0.791, allocations: 5.428 MB / 0.5642 GB, free: 82.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007863/0.7918, allocations: 0.9999 MB / 0.5651 GB, free: 81.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009241/0.7927, allocations: 172.8 kB / 0.5653 GB, free: 81.59 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.7927, allocations: 3.938 kB / 0.5653 GB, free: 81.59 MB / 446.1 MB Notification: Performance of Templates: time 0.07785/0.8706, allocations: 97.33 MB / 0.6604 GB, free: 328 kB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.053360545018222]