Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0013/0.0013, allocations: 122.6 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 203.6 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 67.88 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2374, allocations: 50.54 MB / 410 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008523/0.2459, allocations: 6.898 MB / 416.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004025/0.25, allocations: 2.325 MB / 419.2 MB, free: 8.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004658/0.2504, allocations: 51.75 kB / 419.2 MB, free: 8.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009895/0.2514, allocations: 472.7 kB / 419.7 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.2528, allocations: 0.6836 MB / 420.4 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.2533, allocations: 279.6 kB / 420.7 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002872/0.2562, allocations: 2.844 MB / 423.5 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002269/0.2585, allocations: 1.867 MB / 425.4 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002263/0.2607, allocations: 1.314 MB / 426.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.2626, allocations: 1.537 MB / 428.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004979/0.2631, allocations: 351.9 kB / 428.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007892/0.2639, allocations: 439.8 kB / 429 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008503/0.2648, allocations: 0.9076 MB / 429.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001615/0.2664, allocations: 1.529 MB / 431.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004956/0.2713, allocations: 4.641 MB / 436.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2714, allocations: 4 kB / 436.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2714, allocations: 0 / 436.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.217e-05/0.2714, allocations: 0 / 436.1 MB, free: 7.293 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.005759/0.2772, allocations: 3.038 MB / 439.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.2772, allocations: 8.031 kB / 439.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.2782, allocations: 351.1 kB / 439.5 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003102/0.2813, allocations: 1.675 MB / 441.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.2815, allocations: 160.4 kB / 441.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003523/0.2818, allocations: 216 kB / 441.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005247/0.2871, allocations: 3.182 MB / 444.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.739e-05/0.2871, allocations: 0 / 444.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000217/0.2873, allocations: 88 kB / 444.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001212/0.2874, allocations: 116.4 kB / 444.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004551/0.292, allocations: 2.734 MB / 447.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0147/0.3067, allocations: 8.786 MB / 456.4 MB, free: 2.551 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003677/0.3104, allocations: 3.286 MB / 459.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001958/0.3123, allocations: 1.237 MB / 460.9 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002499/0.3126, allocations: 126.3 kB / 461.1 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.3126, allocations: 51.81 kB / 461.1 MB, free: 13.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.246e-06/0.3126, allocations: 0 / 461.1 MB, free: 13.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01114/0.3238, allocations: 5.769 MB / 466.9 MB, free: 7.598 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.3238, allocations: 68.7 kB / 466.9 MB, free: 7.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/0.326, allocations: 1.502 MB / 468.4 MB, free: 6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.633e-05/0.326, allocations: 45.7 kB / 468.5 MB, free: 5.949 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007498/0.3268, allocations: 0.9666 MB / 469.5 MB, free: 4.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003782/0.3272, allocations: 468 kB / 469.9 MB, free: 4.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003621/0.3275, allocations: 222.9 kB / 470.1 MB, free: 4.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3277, allocations: 353.9 kB / 470.5 MB, free: 3.934 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.3288, allocations: 0.6896 MB / 471.2 MB, free: 3.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.33, allocations: 0.8629 MB / 472 MB, free: 2.336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002284/0.3323, allocations: 1.601 MB / 473.6 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.3323, allocations: 3.938 kB / 473.6 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003761/0.3361, allocations: 2.295 MB / 475.9 MB, free: 14.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.3361, allocations: 12.02 kB / 475.9 MB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.3361, allocations: 4 kB / 475.9 MB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002635/0.3387, allocations: 0.815 MB / 476.8 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008013/0.3395, allocations: 207.7 kB / 477 MB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01263/0.3522, allocations: 11.48 MB / 488.5 MB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008544/0.353, allocations: 59.92 kB / 488.5 MB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-05/0.3531, allocations: 47.98 kB / 488.6 MB, free: 1.176 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,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.001233/0.3543, allocations: 0.821 MB / 489.4 MB, free: 356 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/0.3546, allocations: 163 kB / 489.5 MB, free: 192 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004007/0.3586, allocations: 2.253 MB / 491.8 MB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.3586, allocations: 12 kB / 491.8 MB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.3586, allocations: 4 kB / 491.8 MB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.3586, allocations: 7.969 kB / 491.8 MB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007746/0.3664, allocations: 4.7 MB / 496.5 MB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.3664, allocations: 4 kB / 496.5 MB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006646/0.3671, allocations: 155.9 kB / 496.7 MB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002572/0.3696, allocations: 0.819 MB / 497.5 MB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-05/0.3697, allocations: 31.98 kB / 497.5 MB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01301/0.3827, allocations: 11.38 MB / 0.497 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.3827, allocations: 4.062 kB / 0.497 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005109/0.3878, allocations: 3.221 MB / 0.5001 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008908/0.3887, allocations: 412 kB / 0.5005 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.3889, allocations: 28 kB / 0.5005 GB, free: 8.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007811/0.3897, allocations: 67.94 kB / 0.5006 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003162/0.39, allocations: 117.1 kB / 0.5007 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.7e-05/0.3901, allocations: 32 kB / 0.5007 GB, free: 8.199 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001708/0.3918, allocations: 1.068 MB / 0.5018 GB, free: 7.129 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3918, allocations: 0 / 0.5018 GB, free: 7.129 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001789/0.3936, allocations: 0.5156 MB / 0.5023 GB, free: 6.613 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005123/0.3941, allocations: 215.6 kB / 0.5025 GB, free: 6.402 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003799/0.3979, allocations: 2.35 MB / 0.5048 GB, free: 3.996 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3979, allocations: 4.062 kB / 0.5048 GB, free: 3.992 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002466/0.4004, allocations: 1.585 MB / 0.5063 GB, free: 2.359 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/0.4025, allocations: 0.5065 MB / 0.5068 GB, free: 1.859 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00758/0.4101, allocations: 4.7 MB / 0.5114 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001819/0.4119, allocations: 2.043 MB / 0.5134 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000834/0.4127, allocations: 313.5 kB / 0.5137 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.413, allocations: 99.42 kB / 0.5138 GB, free: 10.62 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.413, allocations: 0 / 0.5138 GB, free: 10.62 MB / 446.1 MB Notification: Performance of Templates: time 0.2582/0.6711, allocations: 33.18 MB / 0.5462 GB, free: 125.2 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches