Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009953/0.0009954, allocations: 199.8 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008475/0.0008476, allocations: 100.6 kB / 299.8 MB, free: 5.352 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002159/0.0002161, allocations: 4 kB / 360.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1983, allocations: 51.41 MB / 412.1 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.006695/0.205, allocations: 9.312 MB / 421.4 MB, free: 16.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009779/0.2149, allocations: 8.817 MB / 430.2 MB, free: 7.234 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.2165, allocations: 31.88 kB / 430.2 MB, free: 7.203 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000961/0.2175, allocations: 385.4 kB / 430.6 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002082/0.2196, allocations: 0.7918 MB / 431.4 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004067/0.2236, allocations: 2.026 MB / 433.4 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003182/0.2268, allocations: 3.375 MB / 436.8 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000861/0.2277, allocations: 0.6387 MB / 437.4 MB, free: 15.94 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.2295, allocations: 1.074 MB / 438.5 MB, free: 14.87 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001769/0.2312, allocations: 1.311 MB / 439.8 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003312/0.2316, allocations: 144 kB / 440 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008906/0.2325, allocations: 391.5 kB / 440.3 MB, free: 13.03 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004898/0.233, allocations: 0.5368 MB / 440.9 MB, free: 12.49 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.2343, allocations: 1.233 MB / 442.1 MB, free: 11.24 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003151/0.2375, allocations: 3.674 MB / 445.8 MB, free: 7.555 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2375, allocations: 0 / 445.8 MB, free: 7.555 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2375, allocations: 0 / 445.8 MB, free: 7.555 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.489e-05/0.2376, allocations: 0 / 445.8 MB, free: 7.555 MB / 314.7 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.006204/0.2438, allocations: 2.639 MB / 448.4 MB, free: 4.855 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.2438, allocations: 12.03 kB / 448.4 MB, free: 4.844 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007758/0.2446, allocations: 317.6 kB / 448.7 MB, free: 4.531 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.2466, allocations: 1.35 MB / 450.1 MB, free: 3.129 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001862/0.2468, allocations: 237.5 kB / 450.3 MB, free: 2.879 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004996/0.2473, allocations: 243.9 kB / 450.6 MB, free: 2.641 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003718/0.251, allocations: 2.173 MB / 452.7 MB, free: 396 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/0.251, allocations: 0 / 452.7 MB, free: 396 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/0.2512, allocations: 84 kB / 452.8 MB, free: 312 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.329e-05/0.2513, allocations: 48 kB / 452.9 MB, free: 264 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003805/0.2551, allocations: 1.947 MB / 454.8 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0113/0.2664, allocations: 7.892 MB / 462.7 MB, free: 6.176 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003371/0.2698, allocations: 2.104 MB / 464.8 MB, free: 4.035 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002/0.2718, allocations: 1.247 MB / 466.1 MB, free: 2.781 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.138e-05/0.2719, allocations: 33.92 kB / 466.1 MB, free: 2.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.272, allocations: 64.55 kB / 466.1 MB, free: 2.676 MB / 330.7 MB Notification: Performance of pre-optimization done (n=208): time 3.246e-06/0.272, allocations: 0 / 466.1 MB, free: 2.676 MB / 330.7 MB Notification: Performance of matching and sorting (n=250): time 0.05109/0.3231, allocations: 14.77 MB / 480.9 MB, free: 3.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/0.3233, allocations: 401.8 kB / 481.3 MB, free: 3.254 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/0.3254, allocations: 1.502 MB / 482.8 MB, free: 1.742 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002562/0.3257, allocations: 69.7 kB / 482.9 MB, free: 1.668 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005835/0.3263, allocations: 0.8158 MB / 483.7 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000704/0.327, allocations: 0.8355 MB / 484.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.3271, allocations: 48 kB / 484.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.3273, allocations: 398.6 kB / 485 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002126/0.3294, allocations: 1.012 MB / 486 MB, free: 14.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002236/0.3317, allocations: 1.276 MB / 487.3 MB, free: 13.2 MB / 362.7 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.3653, allocations: 9.718 MB / 497 MB, free: 3.352 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.3653, allocations: 0 / 497 MB, free: 3.352 MB / 362.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005725/0.371, allocations: 2.971 MB / 499.9 MB, free: 324 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.3711, allocations: 11.98 kB / 500 MB, free: 312 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/0.3711, allocations: 4 kB / 500 MB, free: 308 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009646/0.3721, allocations: 364.9 kB / 0.4886 GB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002574/0.3747, allocations: 0.5657 MB / 0.4891 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008275/0.3829, allocations: 10.02 MB / 0.4989 GB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/0.3853, allocations: 147.9 kB / 0.4991 GB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003682/0.3857, allocations: 83.95 kB / 0.4992 GB, free: 4.305 MB / 378.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: transformer.winding23.i = transformer.I2Start[1] transformer.winding21.i = transformer.I2Start[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * 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 initialization (256): * Single equations (assignments): 244 * 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,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001276/0.387, allocations: 463.1 kB / 0.4996 GB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005914/0.3876, allocations: 209.4 kB / 0.4998 GB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008231/0.3958, allocations: 3.535 MB / 0.5032 GB, free: 12 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1665/0.5624, allocations: 22.64 kB / 0.5033 GB, free: 90.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.272e-05/0.5624, allocations: 4.125 kB / 0.5033 GB, free: 90.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.972e-05/0.5625, allocations: 13.95 kB / 0.5033 GB, free: 90.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/0.5759, allocations: 6.265 MB / 0.5094 GB, free: 89.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.5759, allocations: 1.375 kB / 0.5094 GB, free: 89.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002204/0.5782, allocations: 434.2 kB / 0.5098 GB, free: 89.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006881/0.5851, allocations: 1.262 MB / 0.5111 GB, free: 88.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003102/0.5854, allocations: 60.22 kB / 0.5111 GB, free: 88.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01648/0.6019, allocations: 17.41 MB / 0.5281 GB, free: 73.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6019, allocations: 3.25 kB / 0.5281 GB, free: 73.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009635/0.6116, allocations: 5.002 MB / 0.533 GB, free: 69.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.6128, allocations: 0.5343 MB / 0.5335 GB, free: 69.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003206/0.6131, allocations: 56 kB / 0.5336 GB, free: 69.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001702/0.6148, allocations: 159.1 kB / 0.5337 GB, free: 69.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004851/0.6153, allocations: 201.7 kB / 0.5339 GB, free: 69.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/0.6154, allocations: 75.98 kB / 0.534 GB, free: 68.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001146/0.6166, allocations: 1.025 MB / 0.535 GB, free: 67.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6166, allocations: 0 / 0.535 GB, free: 67.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002194/0.6188, allocations: 0.6991 MB / 0.5357 GB, free: 67.24 MB / 378.7 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 (202): * Single equations (assignments): 193 * 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,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004764/0.6193, allocations: 262.8 kB / 0.5359 GB, free: 66.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004899/0.6242, allocations: 3.415 MB / 0.5393 GB, free: 63.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.6242, allocations: 0 / 0.5393 GB, free: 63.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00317/0.6274, allocations: 2.635 MB / 0.5418 GB, free: 60.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/0.6296, allocations: 374.5 kB / 0.5422 GB, free: 60.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007303/0.6369, allocations: 6.585 MB / 0.5486 GB, free: 53.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007889/0.6377, allocations: 1.569 MB / 0.5502 GB, free: 52.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001349/0.6391, allocations: 303.7 kB / 0.5504 GB, free: 51.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005616/0.6397, allocations: 155.4 kB / 0.5506 GB, free: 51.72 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6397, allocations: 0 / 0.5506 GB, free: 51.72 MB / 378.7 MB Notification: Performance of Templates: time 0.04574/0.6854, allocations: 36.52 MB / 0.5863 GB, free: 15.38 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (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 & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches