Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 109.7 kB / 17.16 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002429/0.00243, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.289/2.289, allocations: 222.9 MB / 241.8 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 47.31 kB / 300.6 MB, free: 6.328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.133, allocations: 49.45 MB / 350.1 MB, free: 4.871 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009784/0.1428, allocations: 6.855 MB / 356.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006332/0.1492, allocations: 2.255 MB / 359.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002087/0.1514, allocations: 43.81 kB / 359.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002187/0.1537, allocations: 377.8 kB / 359.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003183/0.1569, allocations: 0.618 MB / 360.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.158, allocations: 227.8 kB / 360.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004844/0.1629, allocations: 3.211 MB / 363.6 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004469/0.1674, allocations: 2.162 MB / 365.8 MB, free: 5.004 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004613/0.172, allocations: 1.112 MB / 366.9 MB, free: 3.895 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003498/0.1756, allocations: 1.471 MB / 368.4 MB, free: 2.418 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001181/0.1768, allocations: 212 kB / 368.6 MB, free: 2.211 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002024/0.1788, allocations: 311.8 kB / 368.9 MB, free: 1.906 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001913/0.1807, allocations: 0.7554 MB / 369.6 MB, free: 1.148 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3749/0.5557, allocations: 1.38 MB / 371 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01104/0.5669, allocations: 3.825 MB / 374.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.371e-05/0.567, allocations: 1.344 kB / 374.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.267e-06/0.567, allocations: 0 / 374.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003056/0.5673, allocations: 0 / 374.9 MB, free: 14.91 MB / 302.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.01774/0.5851, allocations: 2.967 MB / 377.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.68e-05/0.5852, allocations: 13.62 kB / 377.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002039/0.5872, allocations: 308 kB / 378.1 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006282/0.5935, allocations: 1.582 MB / 379.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002734/0.5938, allocations: 164.5 kB / 379.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009543/0.5948, allocations: 218.5 kB / 380.1 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01282/0.6077, allocations: 3.183 MB / 383.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.53e-05/0.6078, allocations: 1.094 kB / 383.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004443/0.6083, allocations: 92.34 kB / 383.4 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002682/0.6085, allocations: 108.2 kB / 383.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009357/0.6179, allocations: 2.736 MB / 386.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02256/0.6405, allocations: 8.875 MB / 395.1 MB, free: 4.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003704/0.6443, allocations: 3.384 MB / 398.5 MB, free: 2.133 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001928/0.6463, allocations: 1.329 MB / 399.8 MB, free: 1.508 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002896/0.6466, allocations: 120.8 kB / 399.9 MB, free: 1.406 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.596e-05/0.6467, allocations: 51.62 kB / 400 MB, free: 1.355 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 6.302e-06/0.6467, allocations: 3.984 kB / 400 MB, free: 1.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.01815/0.6648, allocations: 5.745 MB / 405.7 MB, free: 12.67 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.665, allocations: 68.72 kB / 405.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005928/0.671, allocations: 1.486 MB / 407.3 MB, free: 11.08 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005706/0.6716, allocations: 52.42 kB / 407.3 MB, free: 11.03 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001465/0.6731, allocations: 0.9438 MB / 408.3 MB, free: 10.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001091/0.6742, allocations: 440 kB / 408.7 MB, free: 9.648 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001127/0.6754, allocations: 229.4 kB / 408.9 MB, free: 9.422 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000283/0.6757, allocations: 353.9 kB / 409.3 MB, free: 9.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/0.678, allocations: 0.6896 MB / 409.9 MB, free: 8.379 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002356/0.6804, allocations: 0.8629 MB / 410.8 MB, free: 7.473 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004615/0.685, allocations: 1.606 MB / 412.4 MB, free: 5.832 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.685, allocations: 0 / 412.4 MB, free: 5.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.007954/0.693, allocations: 2.304 MB / 414.7 MB, free: 3.543 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.547e-05/0.6931, allocations: 6.5 kB / 414.7 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/0.6932, allocations: 4 kB / 414.7 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005042/0.6982, allocations: 0.8318 MB / 415.6 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/0.7001, allocations: 198.9 kB / 415.8 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02301/0.7231, allocations: 10.51 MB / 426.3 MB, free: 7.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002656/0.7259, allocations: 47.97 kB / 426.3 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005561/0.7265, allocations: 43.98 kB / 426.4 MB, free: 7.434 MB / 334.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.00356/0.7301, allocations: 0.8221 MB / 427.2 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/0.7311, allocations: 166.1 kB / 427.3 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005463/0.7366, allocations: 2.274 MB / 429.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/0.7366, allocations: 14.62 kB / 429.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/0.7366, allocations: 8 kB / 429.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.7e-05/0.7367, allocations: 3.984 kB / 429.6 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01776/0.7544, allocations: 4.738 MB / 434.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/0.7545, allocations: 0 / 434.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/0.7558, allocations: 159.3 kB / 434.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004855/0.7606, allocations: 0.8133 MB / 435.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002693/0.761, allocations: 28 kB / 435.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02205/0.783, allocations: 10.4 MB / 445.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.7831, allocations: 0 / 445.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/0.7932, allocations: 3.23 MB / 449 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00215/0.7954, allocations: 403.4 kB / 449.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009222/0.7963, allocations: 27.98 kB / 449.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002361/0.7987, allocations: 72.33 kB / 449.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006318/0.7994, allocations: 111.9 kB / 449.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002285/0.7997, allocations: 39.98 kB / 449.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003776/0.8034, allocations: 1.055 MB / 450.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8035, allocations: 0 / 450.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.005096/0.8086, allocations: 0.5195 MB / 451.2 MB, free: 14.01 MB / 366.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.001245/0.8099, allocations: 211.2 kB / 451.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007106/0.817, allocations: 2.386 MB / 453.8 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.8171, allocations: 2.625 kB / 453.8 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003012/0.8201, allocations: 1.625 MB / 455.4 MB, free: 9.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004931/0.8251, allocations: 485.9 kB / 455.9 MB, free: 9.277 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/0.8386, allocations: 5.608 MB / 461.5 MB, free: 3.645 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002752/0.8415, allocations: 1.991 MB / 463.5 MB, free: 1.621 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006425/0.8421, allocations: 99.42 kB / 463.6 MB, free: 1.523 MB / 366.1 MB Notification: Performance of SimCode: time 1.292e-06/0.8422, allocations: 0 / 463.6 MB, free: 1.523 MB / 366.1 MB Notification: Performance of Templates: time 0.1113/0.9535, allocations: 75.4 MB / 0.5264 GB, free: 6.227 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches