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.001541/0.001541, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001713/0.001713, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.403/1.403, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.00147/0.00147, allocations: 43.92 kB / 379 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2266, allocations: 53.36 MB / 432.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01251/0.2391, allocations: 10.66 MB / 443.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.2508, allocations: 6.429 MB / 449.5 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.2525, allocations: 51.62 kB / 449.6 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.2542, allocations: 491.9 kB / 450 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003032/0.2572, allocations: 0.9348 MB / 451 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006052/0.2633, allocations: 2.527 MB / 453.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005133/0.2684, allocations: 3.489 MB / 457 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.2696, allocations: 0.5267 MB / 457.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00222/0.2718, allocations: 1.312 MB / 458.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002508/0.2743, allocations: 1.486 MB / 460.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000794/0.2751, allocations: 328 kB / 460.6 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.2766, allocations: 0.6049 MB / 461.2 MB, free: 9.969 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009614/0.2775, allocations: 0.7399 MB / 462 MB, free: 9.227 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002034/0.2796, allocations: 1.4 MB / 463.4 MB, free: 7.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004553/0.2841, allocations: 3.962 MB / 467.3 MB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.2841, allocations: 0 / 467.3 MB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2841, allocations: 0 / 467.3 MB, free: 3.844 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.982e-05/0.2842, allocations: 3.984 kB / 467.3 MB, free: 3.84 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.007456/0.2916, allocations: 3.087 MB / 470.4 MB, free: 0.707 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2917, allocations: 12.03 kB / 470.4 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007322/0.2924, allocations: 319.1 kB / 470.8 MB, free: 392 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/0.2947, allocations: 1.326 MB / 472.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003052/0.295, allocations: 395.7 kB / 472.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005443/0.2956, allocations: 248 kB / 472.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00382/0.2994, allocations: 2.162 MB / 474.9 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.96e-05/0.2994, allocations: 0 / 474.9 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/0.2996, allocations: 84 kB / 475 MB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.065e-05/0.2997, allocations: 51.94 kB / 475 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003931/0.3036, allocations: 1.92 MB / 476.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01217/0.3158, allocations: 7.686 MB / 484.6 MB, free: 2.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003547/0.3193, allocations: 1.979 MB / 486.6 MB, free: 108 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00301/0.3223, allocations: 1.469 MB / 488.1 MB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.3224, allocations: 37.91 kB / 488.1 MB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.478e-05/0.3225, allocations: 64.5 kB / 488.2 MB, free: 14.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=208): time 3.777e-06/0.3225, allocations: 0 / 488.2 MB, free: 14.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=250): time 0.05221/0.3747, allocations: 13.69 MB / 0.4901 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002158/0.3749, allocations: 401.8 kB / 0.4905 GB, free: 300 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/0.3772, allocations: 1.523 MB / 0.492 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003439/0.3776, allocations: 69.7 kB / 0.492 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006894/0.3783, allocations: 0.8447 MB / 0.4928 GB, free: 13.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008781/0.3791, allocations: 0.8791 MB / 0.4937 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006858/0.3798, allocations: 408.6 kB / 0.4941 GB, free: 12.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.38, allocations: 305.1 kB / 0.4944 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00221/0.3822, allocations: 0.9924 MB / 0.4954 GB, free: 11.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002405/0.3846, allocations: 1.264 MB / 0.4966 GB, free: 9.91 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.03356/0.4181, allocations: 9.278 MB / 0.5057 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/0.4181, allocations: 3.938 kB / 0.5057 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006103/0.4242, allocations: 2.929 MB / 0.5085 GB, free: 13.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.4243, allocations: 7.938 kB / 0.5085 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.4243, allocations: 7.984 kB / 0.5085 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009752/0.4253, allocations: 356.9 kB / 0.5089 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002679/0.4279, allocations: 0.5578 MB / 0.5094 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009656/0.4376, allocations: 10.32 MB / 0.5195 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/0.4398, allocations: 119.9 kB / 0.5196 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002186/0.44, allocations: 79.95 kB / 0.5197 GB, free: 1.406 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.000993/0.441, allocations: 480.3 kB / 0.5201 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004668/0.4415, allocations: 226.6 kB / 0.5204 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008805/0.4503, allocations: 3.426 MB / 0.5237 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.623e-05/0.4503, allocations: 24 kB / 0.5237 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.4503, allocations: 4 kB / 0.5237 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.921e-05/0.4504, allocations: 16.08 kB / 0.5237 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/0.4644, allocations: 6.218 MB / 0.5298 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.4644, allocations: 0 / 0.5298 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002069/0.4664, allocations: 435.4 kB / 0.5302 GB, free: 6.371 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005746/0.4722, allocations: 1.198 MB / 0.5314 GB, free: 5.145 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003147/0.4725, allocations: 67.97 kB / 0.5315 GB, free: 5.078 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2042/0.6767, allocations: 17.96 MB / 0.549 GB, free: 91.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6767, allocations: 0 / 0.549 GB, free: 91.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/0.6871, allocations: 4.913 MB / 0.5538 GB, free: 89.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/0.6884, allocations: 471.4 kB / 0.5543 GB, free: 89.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003916/0.6888, allocations: 55.78 kB / 0.5543 GB, free: 89.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001887/0.6907, allocations: 137.8 kB / 0.5544 GB, free: 89.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005309/0.6913, allocations: 218.2 kB / 0.5546 GB, free: 89.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.6914, allocations: 69.38 kB / 0.5547 GB, free: 89.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001206/0.6926, allocations: 1.045 MB / 0.5557 GB, free: 88.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6926, allocations: 1.562 kB / 0.5557 GB, free: 88.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00238/0.695, allocations: 0.7018 MB / 0.5564 GB, free: 88.55 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.0005364/0.6955, allocations: 258 kB / 0.5567 GB, free: 88.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005092/0.7006, allocations: 3.241 MB / 0.5598 GB, free: 86.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.7006, allocations: 0 / 0.5598 GB, free: 86.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003217/0.7038, allocations: 2.519 MB / 0.5623 GB, free: 84.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/0.7059, allocations: 384.4 kB / 0.5627 GB, free: 84.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008197/0.7141, allocations: 5.445 MB / 0.568 GB, free: 79.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007783/0.7149, allocations: 1.568 MB / 0.5695 GB, free: 77.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008765/0.7158, allocations: 175.3 kB / 0.5697 GB, free: 77.71 MB / 446.1 MB Notification: Performance of SimCode: time 1.212e-06/0.7158, allocations: 5.969 kB / 0.5697 GB, free: 77.71 MB / 446.1 MB Notification: Performance of Templates: time 0.07211/0.7879, allocations: 97.16 MB / 0.6646 GB, free: 12.57 MB / 478.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: 13.271659031976014]