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.001404/0.001403, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001286/0.001286, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2482, allocations: 50.54 MB / 409.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007618/0.2559, allocations: 6.887 MB / 416.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004111/0.26, allocations: 2.321 MB / 418.5 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005712/0.2606, allocations: 51.75 kB / 418.5 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008997/0.2615, allocations: 457 kB / 419 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.2629, allocations: 0.6914 MB / 419.6 MB, free: 7.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.2634, allocations: 275.6 kB / 419.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002308/0.2657, allocations: 2.84 MB / 422.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002455/0.2682, allocations: 2.578 MB / 425.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001927/0.2701, allocations: 1.316 MB / 426.7 MB, free: 80 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.2717, allocations: 1.545 MB / 428.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003632/0.2721, allocations: 348 kB / 428.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006192/0.2727, allocations: 439.8 kB / 429 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007036/0.2734, allocations: 0.896 MB / 429.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001392/0.2748, allocations: 1.529 MB / 431.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003741/0.2786, allocations: 4.624 MB / 436 MB, free: 6.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2786, allocations: 4 kB / 436 MB, free: 6.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2786, allocations: 0 / 436 MB, free: 6.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.768e-05/0.2787, allocations: 0 / 436 MB, free: 6.684 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.004843/0.2835, allocations: 2.987 MB / 439 MB, free: 3.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2836, allocations: 8.031 kB / 439 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000922/0.2845, allocations: 337.6 kB / 439.3 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002323/0.2868, allocations: 1.662 MB / 441 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.287, allocations: 164.4 kB / 441.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000323/0.2873, allocations: 216 kB / 441.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004383/0.2917, allocations: 3.182 MB / 444.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.833e-05/0.2917, allocations: 0 / 444.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001888/0.2919, allocations: 91.98 kB / 444.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-05/0.292, allocations: 108.4 kB / 444.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003899/0.2959, allocations: 2.73 MB / 447.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/0.3086, allocations: 8.752 MB / 456.2 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003172/0.3118, allocations: 3.383 MB / 459.6 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/0.3136, allocations: 1.323 MB / 460.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002438/0.3139, allocations: 122.3 kB / 461.1 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.3139, allocations: 55.81 kB / 461.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.426e-06/0.3139, allocations: 0 / 461.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01056/0.3245, allocations: 5.754 MB / 466.9 MB, free: 6.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.3246, allocations: 72.66 kB / 466.9 MB, free: 6.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/0.3267, allocations: 1.495 MB / 468.4 MB, free: 5.336 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.347e-05/0.3268, allocations: 53.7 kB / 468.5 MB, free: 5.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006743/0.3275, allocations: 0.9409 MB / 469.4 MB, free: 4.324 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/0.3278, allocations: 437.6 kB / 469.9 MB, free: 3.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003523/0.3282, allocations: 226.8 kB / 470.1 MB, free: 3.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3284, allocations: 357.9 kB / 470.4 MB, free: 3.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.3294, allocations: 0.6935 MB / 471.1 MB, free: 2.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.3306, allocations: 0.8629 MB / 472 MB, free: 1.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002136/0.3327, allocations: 1.601 MB / 473.6 MB, free: 56 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.3327, allocations: 3.938 kB / 473.6 MB, free: 52 kB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00347/0.3362, allocations: 2.302 MB / 475.9 MB, free: 13.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.3362, allocations: 11.94 kB / 475.9 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.3363, allocations: 4 kB / 475.9 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002524/0.3388, allocations: 0.8306 MB / 476.7 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007792/0.3396, allocations: 199.7 kB / 476.9 MB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/0.3514, allocations: 11.49 MB / 488.4 MB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009507/0.3524, allocations: 43.97 kB / 488.5 MB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.458e-05/0.3524, allocations: 47.98 kB / 488.5 MB, free: 0.5391 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.001316/0.3538, allocations: 0.8253 MB / 489.3 MB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000276/0.3541, allocations: 158.1 kB / 489.5 MB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003702/0.3578, allocations: 2.277 MB / 491.8 MB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.3578, allocations: 12 kB / 491.8 MB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.3578, allocations: 4 kB / 491.8 MB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.3578, allocations: 11.97 kB / 491.8 MB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006939/0.3648, allocations: 4.711 MB / 496.5 MB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.3648, allocations: 0 / 496.5 MB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000626/0.3654, allocations: 155.8 kB / 496.7 MB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002442/0.3679, allocations: 0.8074 MB / 497.5 MB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.792e-05/0.368, allocations: 35.98 kB / 497.5 MB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/0.3787, allocations: 11.38 MB / 0.4969 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.3788, allocations: 7.969 kB / 0.497 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004537/0.3833, allocations: 3.232 MB / 0.5001 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006775/0.384, allocations: 399.1 kB / 0.5005 GB, free: 7.773 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.3842, allocations: 32 kB / 0.5005 GB, free: 7.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006951/0.3849, allocations: 67.88 kB / 0.5006 GB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002394/0.3851, allocations: 117.1 kB / 0.5007 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-05/0.3852, allocations: 36 kB / 0.5007 GB, free: 7.527 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001378/0.3866, allocations: 1.064 MB / 0.5018 GB, free: 6.461 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3866, allocations: 0 / 0.5018 GB, free: 6.461 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001583/0.3882, allocations: 0.5078 MB / 0.5023 GB, free: 5.953 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.0004312/0.3887, allocations: 218.3 kB / 0.5025 GB, free: 5.738 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003394/0.3921, allocations: 2.408 MB / 0.5048 GB, free: 3.273 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3921, allocations: 0 / 0.5048 GB, free: 3.273 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002213/0.3943, allocations: 1.629 MB / 0.5064 GB, free: 1.598 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.3964, allocations: 0.5034 MB / 0.5069 GB, free: 1.098 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007248/0.4037, allocations: 4.635 MB / 0.5114 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001661/0.4054, allocations: 2.039 MB / 0.5134 GB, free: 10.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008514/0.4062, allocations: 309.5 kB / 0.5137 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/0.4065, allocations: 95.42 kB / 0.5138 GB, free: 9.949 MB / 446.1 MB Notification: Performance of SimCode: time 6.92e-07/0.4065, allocations: 7.938 kB / 0.5138 GB, free: 9.941 MB / 446.1 MB Notification: Performance of Templates: time 0.2499/0.6564, allocations: 33 MB / 0.546 GB, free: 124.4 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins/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