Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001501/0.001501, allocations: 185.5 kB / 16.41 MB, free: 5.727 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.923/1.923, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001111/0.001111, allocations: 88.42 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003711, allocations: 12 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3174, allocations: 47.56 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.4563, allocations: 90.31 MB / 464.8 MB, free: 6.434 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/0.4566, allocations: 87.95 kB / 464.9 MB, free: 6.348 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5029/0.9596, allocations: 63.3 MB / 0.5159 GB, free: 87.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.9597, allocations: 0 / 0.5159 GB, free: 87.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002296/0.9599, allocations: 64.69 kB / 0.5159 GB, free: 87.85 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.009041/0.969, allocations: 2.498 MB / 0.5184 GB, free: 86.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.969, allocations: 8.562 kB / 0.5184 GB, free: 86.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/0.9707, allocations: 316.3 kB / 0.5187 GB, free: 86.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004445/0.9752, allocations: 1.572 MB / 0.5202 GB, free: 86.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.9754, allocations: 163.1 kB / 0.5204 GB, free: 85.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009975/0.9764, allocations: 211.6 kB / 0.5206 GB, free: 85.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008279/0.9847, allocations: 3.109 MB / 0.5236 GB, free: 84.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.375e-05/0.9849, allocations: 0 / 0.5236 GB, free: 84.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003437/0.9852, allocations: 98.42 kB / 0.5237 GB, free: 84.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001442/0.9854, allocations: 109.8 kB / 0.5238 GB, free: 84.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007188/0.9926, allocations: 2.543 MB / 0.5263 GB, free: 83.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02196/1.015, allocations: 8.915 MB / 0.535 GB, free: 78.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004485/1.019, allocations: 3.36 MB / 0.5383 GB, free: 74.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004098/1.02, allocations: 134.4 kB / 0.5384 GB, free: 74.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/1.02, allocations: 47.88 kB / 0.5384 GB, free: 74.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 3.557e-06/1.02, allocations: 0 / 0.5384 GB, free: 74.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.01753/1.037, allocations: 5.687 MB / 0.544 GB, free: 68.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/1.037, allocations: 64.72 kB / 0.544 GB, free: 68.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003019/1.04, allocations: 1.335 MB / 0.5454 GB, free: 67.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003359/1.041, allocations: 53.64 kB / 0.5454 GB, free: 67.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006092/1.041, allocations: 0.901 MB / 0.5463 GB, free: 66.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005094/1.042, allocations: 440.7 kB / 0.5467 GB, free: 65.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/1.042, allocations: 24 kB / 0.5467 GB, free: 65.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/1.042, allocations: 370.7 kB / 0.5471 GB, free: 65.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/1.044, allocations: 0.6935 MB / 0.5478 GB, free: 64.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/1.046, allocations: 0.8504 MB / 0.5486 GB, free: 63.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001983/1.048, allocations: 0.8183 MB / 0.5494 GB, free: 62.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/1.048, allocations: 4 kB / 0.5494 GB, free: 62.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005646/1.053, allocations: 2.205 MB / 0.5515 GB, free: 60.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/1.054, allocations: 8 kB / 0.5516 GB, free: 60.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/1.054, allocations: 4 kB / 0.5516 GB, free: 60.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002849/1.056, allocations: 0.7133 MB / 0.5523 GB, free: 59.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/1.058, allocations: 199.7 kB / 0.5524 GB, free: 59.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01579/1.074, allocations: 10.71 MB / 0.5629 GB, free: 48.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/1.076, allocations: 55.95 kB / 0.563 GB, free: 48.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/1.076, allocations: 40 kB / 0.563 GB, free: 48.46 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.00191/1.078, allocations: 0.8158 MB / 0.5638 GB, free: 47.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005368/1.078, allocations: 166.1 kB / 0.564 GB, free: 47.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005365/1.084, allocations: 2.191 MB / 0.5661 GB, free: 45.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/1.084, allocations: 16 kB / 0.5661 GB, free: 45.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.084, allocations: 4 kB / 0.5661 GB, free: 45.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.945e-05/1.084, allocations: 3.984 kB / 0.5661 GB, free: 45.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/1.096, allocations: 4.747 MB / 0.5707 GB, free: 40.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/1.096, allocations: 0 / 0.5707 GB, free: 40.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001998/1.098, allocations: 159.8 kB / 0.5709 GB, free: 40.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0046/1.103, allocations: 0.6904 MB / 0.5716 GB, free: 39.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002685/1.103, allocations: 31.98 kB / 0.5716 GB, free: 39.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01739/1.12, allocations: 10.61 MB / 0.582 GB, free: 28.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.12, allocations: 7.984 kB / 0.582 GB, free: 28.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007106/1.127, allocations: 3.252 MB / 0.5852 GB, free: 25.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/1.129, allocations: 411.1 kB / 0.5855 GB, free: 24.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003464/1.129, allocations: 31.98 kB / 0.5856 GB, free: 24.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/1.13, allocations: 63.95 kB / 0.5856 GB, free: 24.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003716/1.131, allocations: 117.1 kB / 0.5857 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.131, allocations: 37.48 kB / 0.5858 GB, free: 24.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00208/1.133, allocations: 1.048 MB / 0.5868 GB, free: 23.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.133, allocations: 0 / 0.5868 GB, free: 23.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002533/1.136, allocations: 0.5312 MB / 0.5873 GB, free: 22.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (78): * Single equations (assignments): 74 * 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.0004633/1.136, allocations: 196.3 kB / 0.5875 GB, free: 22.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005094/1.141, allocations: 2.42 MB / 0.5899 GB, free: 20.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.141, allocations: 0 / 0.5899 GB, free: 20.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003373/1.145, allocations: 1.629 MB / 0.5915 GB, free: 18.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003263/1.148, allocations: 477.3 kB / 0.5919 GB, free: 18.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/1.159, allocations: 5.43 MB / 0.5972 GB, free: 12.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002008/1.161, allocations: 2.03 MB / 0.5992 GB, free: 10.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006075/1.161, allocations: 103.3 kB / 0.5993 GB, free: 10.43 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/1.161, allocations: 0 / 0.5993 GB, free: 10.43 MB / 378.7 MB Notification: Performance of Templates: time 0.4367/1.598, allocations: 72.27 MB / 0.6699 GB, free: 123 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches