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.001878/0.001878, allocations: 111.1 kB / 20.44 MB, free: 1.051 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.002344/0.002344, allocations: 213 kB / 23.73 MB, free: 4.152 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.522/1.522, allocations: 230.5 MB / 257.4 MB, free: 7.742 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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 63.89 kB / 377.8 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2287, allocations: 53.41 MB / 431.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.0116/0.2403, allocations: 9.168 MB / 440.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0122/0.2525, allocations: 6.091 MB / 446.4 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001915/0.2544, allocations: 51.62 kB / 446.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.256, allocations: 499.9 kB / 447 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002806/0.2588, allocations: 0.9271 MB / 447.9 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005902/0.2647, allocations: 2.541 MB / 450.4 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004823/0.2695, allocations: 3.489 MB / 453.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009652/0.2705, allocations: 495.4 kB / 454.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.2727, allocations: 1.328 MB / 455.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001913/0.2746, allocations: 1.303 MB / 457 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004303/0.275, allocations: 328 kB / 457.3 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.2761, allocations: 0.5971 MB / 457.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007015/0.2768, allocations: 0.7438 MB / 458.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.278, allocations: 1.167 MB / 459.9 MB, free: 9.633 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004261/0.2823, allocations: 3.985 MB / 463.8 MB, free: 5.633 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2823, allocations: 0 / 463.8 MB, free: 5.633 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2823, allocations: 0 / 463.8 MB, free: 5.633 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.496e-05/0.2824, allocations: 0 / 463.8 MB, free: 5.633 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.009367/0.2918, allocations: 3.087 MB / 466.9 MB, free: 2.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.2918, allocations: 15.98 kB / 466.9 MB, free: 2.484 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005065/0.2923, allocations: 274.6 kB / 467.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.2934, allocations: 319.1 kB / 467.5 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003668/0.2971, allocations: 1.334 MB / 468.9 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004852/0.2975, allocations: 399.7 kB / 469.2 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000887/0.2984, allocations: 239.8 kB / 469.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005852/0.3043, allocations: 2.645 MB / 472.1 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.566e-05/0.3043, allocations: 4 kB / 472.1 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002841/0.3046, allocations: 84 kB / 472.2 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-05/0.3047, allocations: 44 kB / 472.3 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006262/0.311, allocations: 1.904 MB / 474.2 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01868/0.3296, allocations: 7.043 MB / 481.2 MB, free: 3.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005617/0.3353, allocations: 1.969 MB / 483.2 MB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004285/0.3395, allocations: 1.469 MB / 484.6 MB, free: 212 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.3397, allocations: 26 kB / 484.7 MB, free: 188 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.608e-05/0.3397, allocations: 68.44 kB / 484.7 MB, free: 108 kB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 5.21e-06/0.3397, allocations: 4 kB / 484.7 MB, free: 104 kB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.0553/0.395, allocations: 13.69 MB / 498.4 MB, free: 2.359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002504/0.3953, allocations: 385.8 kB / 498.8 MB, free: 1.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00266/0.3979, allocations: 1.542 MB / 0.4886 GB, free: 356 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005133/0.3984, allocations: 73.7 kB / 0.4887 GB, free: 276 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007835/0.3992, allocations: 0.837 MB / 0.4895 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009281/0.4002, allocations: 0.8752 MB / 0.4904 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007617/0.4009, allocations: 412.6 kB / 0.4908 GB, free: 14.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.4011, allocations: 313.1 kB / 0.4911 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002347/0.4034, allocations: 0.9924 MB / 0.492 GB, free: 12.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00273/0.4061, allocations: 1.486 MB / 0.4935 GB, free: 11.21 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.03468/0.4408, allocations: 9.278 MB / 0.5025 GB, free: 1.844 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.4408, allocations: 0 / 0.5025 GB, free: 1.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006577/0.4474, allocations: 2.937 MB / 0.5054 GB, free: 14.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.4474, allocations: 7.938 kB / 0.5054 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/0.4475, allocations: 7.984 kB / 0.5054 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009903/0.4485, allocations: 349 kB / 0.5058 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00272/0.4512, allocations: 0.5539 MB / 0.5063 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009985/0.4612, allocations: 10.26 MB / 0.5163 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/0.4635, allocations: 128 kB / 0.5164 GB, free: 2.852 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000207/0.4637, allocations: 79.95 kB / 0.5165 GB, free: 2.773 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.001035/0.4647, allocations: 465.3 kB / 0.517 GB, free: 2.309 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004873/0.4652, allocations: 226.6 kB / 0.5172 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009044/0.4742, allocations: 3.43 MB / 0.5205 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.682e-05/0.4743, allocations: 28 kB / 0.5205 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.4743, allocations: 7.938 kB / 0.5206 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-05/0.4743, allocations: 12.08 kB / 0.5206 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/0.4884, allocations: 5.731 MB / 0.5262 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/0.4884, allocations: 0 / 0.5262 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002178/0.4905, allocations: 427.4 kB / 0.5266 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005786/0.4963, allocations: 1.198 MB / 0.5277 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004462/0.4968, allocations: 59.97 kB / 0.5278 GB, free: 6.953 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2137/0.7105, allocations: 17.76 MB / 0.5451 GB, free: 94.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.7105, allocations: 1.344 kB / 0.5451 GB, free: 94.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009692/0.7202, allocations: 4.922 MB / 0.5499 GB, free: 91.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/0.7212, allocations: 469.7 kB / 0.5504 GB, free: 91.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000319/0.7216, allocations: 57.09 kB / 0.5504 GB, free: 91.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/0.7233, allocations: 128.4 kB / 0.5506 GB, free: 91.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000463/0.7238, allocations: 218 kB / 0.5508 GB, free: 91.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/0.7239, allocations: 78.5 kB / 0.5509 GB, free: 91.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001124/0.725, allocations: 1.052 MB / 0.5519 GB, free: 91.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.725, allocations: 0 / 0.5519 GB, free: 91.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00221/0.7272, allocations: 0.6895 MB / 0.5526 GB, free: 91.13 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.009705/0.7369, allocations: 5.621 MB / 0.558 GB, free: 86.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004858/0.7418, allocations: 3.239 MB / 0.5612 GB, free: 83.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.7418, allocations: 0 / 0.5612 GB, free: 83.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003045/0.7449, allocations: 2.519 MB / 0.5637 GB, free: 81.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.7469, allocations: 389.2 kB / 0.564 GB, free: 80.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03776/0.7846, allocations: 19.55 MB / 0.5831 GB, free: 61.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/0.7859, allocations: 0.9993 MB / 0.5841 GB, free: 60.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001801/0.7877, allocations: 295.9 kB / 0.5844 GB, free: 59.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001723/0.7894, allocations: 0.9171 MB / 0.5853 GB, free: 58.98 MB / 446.1 MB Notification: Performance of SimCode: time 1.693e-06/0.7894, allocations: 0 / 0.5853 GB, free: 58.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1233/0.9127, allocations: 59.91 MB / 0.6438 GB, free: 15.48 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.74/16.65, allocations: 3.938 kB / 0.6438 GB, free: 15.48 MB / 462.1 MB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.csv","/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] "Warning: Resultfile and Reference have different end time points! Reffile[4658]=0.200000 File[183648]=0.109943 " [Timeout remaining time 659] "" Variables in the reference:time,capacitor1.v,capacitor2.v Variables in the result:time,capacitor1.v,capacitor2.v,pdissCopAvg.x[1],pdissCopAvg.x[2],pdissEddyAvg.x[1] [Calling sys.exit(0), Time elapsed: 71.15238115238026]