Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009008/0.0009009, allocations: 183.4 kB / 18.04 MB, free: 3.668 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 205.4 MB / 224.2 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007098/0.0007098, allocations: 78.44 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002658/0.0002659, allocations: 8 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1941, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09285/0.287, allocations: 90.46 MB / 467.5 MB, free: 6.066 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.2872, allocations: 87.95 kB / 467.6 MB, free: 5.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2987/0.586, allocations: 63.22 MB / 0.5184 GB, free: 88.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.586, allocations: 0 / 0.5184 GB, free: 88.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002084/0.5862, allocations: 65.47 kB / 0.5184 GB, free: 88.35 MB / 378.7 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.006568/0.5928, allocations: 2.475 MB / 0.5208 GB, free: 87.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.5929, allocations: 7.906 kB / 0.5208 GB, free: 87.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.5942, allocations: 314.3 kB / 0.5211 GB, free: 87.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003216/0.5974, allocations: 1.619 MB / 0.5227 GB, free: 86.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.5976, allocations: 172.5 kB / 0.5229 GB, free: 86.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005992/0.5982, allocations: 209.2 kB / 0.5231 GB, free: 86.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005684/0.6039, allocations: 3.126 MB / 0.5261 GB, free: 84.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.708e-05/0.604, allocations: 192 / 0.5261 GB, free: 84.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002247/0.6042, allocations: 99.47 kB / 0.5262 GB, free: 84.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/0.6043, allocations: 112.4 kB / 0.5263 GB, free: 84.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003773/0.6081, allocations: 2.543 MB / 0.5288 GB, free: 83.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01163/0.6197, allocations: 8.92 MB / 0.5375 GB, free: 77.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/0.6222, allocations: 3.357 MB / 0.5408 GB, free: 74.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.6238, allocations: 1.337 MB / 0.5421 GB, free: 72.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/0.624, allocations: 138.4 kB / 0.5422 GB, free: 72.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.6241, allocations: 47.88 kB / 0.5423 GB, free: 72.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 3.597e-06/0.6241, allocations: 0 / 0.5423 GB, free: 72.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.009326/0.6334, allocations: 5.644 MB / 0.5478 GB, free: 66.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.6335, allocations: 68.72 kB / 0.5479 GB, free: 66.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/0.6356, allocations: 1.483 MB / 0.5493 GB, free: 65.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.546e-05/0.6357, allocations: 45.7 kB / 0.5494 GB, free: 65.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004467/0.6362, allocations: 0.9435 MB / 0.5503 GB, free: 64.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/0.6364, allocations: 444.1 kB / 0.5507 GB, free: 63.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.6365, allocations: 24 kB / 0.5507 GB, free: 63.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.001e-05/0.6366, allocations: 357.9 kB / 0.5511 GB, free: 63.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008125/0.6374, allocations: 0.6817 MB / 0.5517 GB, free: 62.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009179/0.6383, allocations: 0.8542 MB / 0.5526 GB, free: 61.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/0.6402, allocations: 1.572 MB / 0.5541 GB, free: 60.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.6402, allocations: 4 kB / 0.5541 GB, free: 60.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00341/0.6437, allocations: 2.282 MB / 0.5563 GB, free: 57.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.6437, allocations: 8 kB / 0.5563 GB, free: 57.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.6437, allocations: 4 kB / 0.5564 GB, free: 57.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001564/0.6453, allocations: 0.7172 MB / 0.5571 GB, free: 57.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007421/0.646, allocations: 195.7 kB / 0.5572 GB, free: 56.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009038/0.6551, allocations: 10.52 MB / 0.5675 GB, free: 45.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.6566, allocations: 51.95 kB / 0.5676 GB, free: 45.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.6567, allocations: 40.09 kB / 0.5676 GB, free: 45.87 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 initialization (103): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.00158/0.6583, allocations: 0.8261 MB / 0.5684 GB, free: 45.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004045/0.6587, allocations: 158.1 kB / 0.5686 GB, free: 44.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003102/0.6618, allocations: 2.168 MB / 0.5707 GB, free: 42.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.6618, allocations: 12 kB / 0.5707 GB, free: 42.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.6618, allocations: 4 kB / 0.5707 GB, free: 42.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.6619, allocations: 3.984 kB / 0.5707 GB, free: 42.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00678/0.6686, allocations: 4.725 MB / 0.5753 GB, free: 37.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.6687, allocations: 4 kB / 0.5753 GB, free: 37.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006228/0.6693, allocations: 167.8 kB / 0.5755 GB, free: 37.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/0.6708, allocations: 0.6898 MB / 0.5761 GB, free: 37.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.672e-05/0.6709, allocations: 35.98 kB / 0.5762 GB, free: 36.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008739/0.6796, allocations: 10.39 MB / 0.5863 GB, free: 26.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.6797, allocations: 4.031 kB / 0.5863 GB, free: 26.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00448/0.6842, allocations: 3.209 MB / 0.5895 GB, free: 22.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000914/0.6851, allocations: 403.1 kB / 0.5899 GB, free: 22.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/0.6853, allocations: 35.69 kB / 0.5899 GB, free: 22.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007401/0.6861, allocations: 71.95 kB / 0.59 GB, free: 22.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003129/0.6864, allocations: 117.1 kB / 0.5901 GB, free: 22.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.718e-05/0.6865, allocations: 40.45 kB / 0.5901 GB, free: 22.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001348/0.6879, allocations: 1.048 MB / 0.5911 GB, free: 21.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6879, allocations: 0 / 0.5911 GB, free: 21.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001624/0.6895, allocations: 0.5273 MB / 0.5916 GB, free: 20.54 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003462/0.6898, allocations: 207.9 kB / 0.5918 GB, free: 20.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002884/0.6927, allocations: 2.393 MB / 0.5942 GB, free: 17.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6928, allocations: 0 / 0.5942 GB, free: 17.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001818/0.6946, allocations: 1.632 MB / 0.5958 GB, free: 16.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.6968, allocations: 492.6 kB / 0.5962 GB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006377/0.7032, allocations: 5.421 MB / 0.6015 GB, free: 10.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/0.7045, allocations: 2.043 MB / 0.6035 GB, free: 8.223 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008858/0.7054, allocations: 305.3 kB / 0.6038 GB, free: 7.918 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.7056, allocations: 87.44 kB / 0.6039 GB, free: 7.832 MB / 378.7 MB Notification: Performance of SimCode: time 7.92e-07/0.7056, allocations: 0 / 0.6039 GB, free: 7.832 MB / 378.7 MB Notification: Performance of Templates: time 0.05132/0.757, allocations: 31.09 MB / 0.6343 GB, free: 8.73 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches