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.00143/0.00143, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001122/0.001121, allocations: 97.77 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.99e-05/1.975e-05, allocations: 4 kB / 314.8 MB, free: 9.145 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3338, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.4856, allocations: 89.56 MB / 451.9 MB, free: 12.72 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/0.486, allocations: 85.52 kB / 452 MB, free: 12.64 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5246/1.011, allocations: 62.73 MB / 0.5027 GB, free: 87.67 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.505e-06/1.011, allocations: 0 / 0.5027 GB, free: 87.67 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002926/1.011, allocations: 61.27 kB / 0.5027 GB, free: 87.66 MB / 395.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.009135/1.02, allocations: 2.261 MB / 0.5049 GB, free: 86.89 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/1.02, allocations: 9.812 kB / 0.5049 GB, free: 86.89 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001876/1.022, allocations: 311.9 kB / 0.5052 GB, free: 86.75 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005395/1.028, allocations: 1.569 MB / 0.5068 GB, free: 86.36 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/1.028, allocations: 70.31 kB / 0.5068 GB, free: 86.36 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006894/1.028, allocations: 130.4 kB / 0.5069 GB, free: 86.35 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006963/1.035, allocations: 2.324 MB / 0.5092 GB, free: 86.34 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007951/1.043, allocations: 2.728 MB / 0.5119 GB, free: 85.98 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.546e-05/1.044, allocations: 1.375 kB / 0.5119 GB, free: 85.98 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000287/1.044, allocations: 1.469 kB / 0.5119 GB, free: 85.98 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001921/1.044, allocations: 113 kB / 0.512 GB, free: 85.97 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02221/1.066, allocations: 8.461 MB / 0.5203 GB, free: 84.39 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00401/1.07, allocations: 3.258 MB / 0.5234 GB, free: 82.66 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002379/1.073, allocations: 1.221 MB / 0.5246 GB, free: 82.63 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003892/1.073, allocations: 135.9 kB / 0.5248 GB, free: 82.54 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/1.073, allocations: 52.75 kB / 0.5248 GB, free: 82.5 MB / 395.1 MB Notification: Performance of pre-optimization done (n=128): time 3.927e-06/1.073, allocations: 0 / 0.5248 GB, free: 82.5 MB / 395.1 MB Notification: Performance of matching and sorting (n=132): time 0.009705/1.083, allocations: 3.858 MB / 0.5286 GB, free: 81.71 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/1.083, allocations: 66.44 kB / 0.5286 GB, free: 81.65 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/1.085, allocations: 1.06 MB / 0.5297 GB, free: 81.5 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002484/1.085, allocations: 26.55 kB / 0.5297 GB, free: 81.47 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005778/1.086, allocations: 0.9297 MB / 0.5306 GB, free: 80.79 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004174/1.086, allocations: 429.7 kB / 0.531 GB, free: 80.45 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.043e-05/1.087, allocations: 0 / 0.531 GB, free: 80.45 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/1.087, allocations: 359.8 kB / 0.5314 GB, free: 80.12 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/1.088, allocations: 0.6327 MB / 0.532 GB, free: 79.88 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/1.089, allocations: 0.7909 MB / 0.5328 GB, free: 79.48 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/1.091, allocations: 0.7578 MB / 0.5335 GB, free: 79.2 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.091, allocations: 0 / 0.5335 GB, free: 79.2 MB / 395.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004491/1.095, allocations: 2.006 MB / 0.5354 GB, free: 78.48 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/1.095, allocations: 7.828 kB / 0.5355 GB, free: 78.47 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/1.095, allocations: 3.469 kB / 0.5355 GB, free: 78.47 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002596/1.098, allocations: 0.6844 MB / 0.5361 GB, free: 78.27 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/1.1, allocations: 207.4 kB / 0.5363 GB, free: 78.26 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/1.114, allocations: 10.12 MB / 0.5462 GB, free: 70.97 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/1.116, allocations: 28.62 kB / 0.5462 GB, free: 70.96 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/1.116, allocations: 46.17 kB / 0.5463 GB, free: 70.95 MB / 395.1 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 () * 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.0003334/1.116, allocations: 128.5 kB / 0.5464 GB, free: 70.84 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004766/1.117, allocations: 142.1 kB / 0.5465 GB, free: 70.77 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004477/1.121, allocations: 1.971 MB / 0.5485 GB, free: 70.02 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/1.121, allocations: 11.59 kB / 0.5485 GB, free: 70.02 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.121, allocations: 3.375 kB / 0.5485 GB, free: 70.02 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/1.121, allocations: 9.719 kB / 0.5485 GB, free: 70.02 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00974/1.131, allocations: 4.247 MB / 0.5526 GB, free: 68.31 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/1.131, allocations: 0 / 0.5526 GB, free: 68.31 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/1.132, allocations: 165.1 kB / 0.5528 GB, free: 68.3 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002479/1.135, allocations: 0.6699 MB / 0.5534 GB, free: 68.09 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001847/1.135, allocations: 11.31 kB / 0.5535 GB, free: 68.09 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01387/1.149, allocations: 10.03 MB / 0.5633 GB, free: 60.84 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.149, allocations: 0 / 0.5633 GB, free: 60.84 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006235/1.155, allocations: 2.998 MB / 0.5662 GB, free: 59.55 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/1.156, allocations: 384.7 kB / 0.5665 GB, free: 59.31 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000282/1.157, allocations: 14.86 kB / 0.5666 GB, free: 59.3 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/1.158, allocations: 55.31 kB / 0.5666 GB, free: 59.3 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003784/1.159, allocations: 106.9 kB / 0.5667 GB, free: 59.28 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.159, allocations: 37.69 kB / 0.5668 GB, free: 59.27 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.00161/1.16, allocations: 0.8175 MB / 0.5675 GB, free: 58.92 MB / 395.1 MB Notification: Performance of sort global known variables: time 8.81e-07/1.16, allocations: 1.969 kB / 0.5676 GB, free: 58.92 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.002877/1.163, allocations: 478.2 kB / 0.568 GB, free: 58.91 MB / 395.1 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 () * 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.0005815/1.164, allocations: 183.2 kB / 0.5682 GB, free: 58.8 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.00487/1.169, allocations: 2.231 MB / 0.5704 GB, free: 57.7 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.169, allocations: 0 / 0.5704 GB, free: 57.7 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003387/1.172, allocations: 1.503 MB / 0.5718 GB, free: 56.87 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003147/1.175, allocations: 347.2 kB / 0.5722 GB, free: 56.78 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009719/1.185, allocations: 3.615 MB / 0.5757 GB, free: 54.91 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002013/1.187, allocations: 2.032 MB / 0.5777 GB, free: 53.28 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005929/1.188, allocations: 87.33 kB / 0.5778 GB, free: 53.2 MB / 395.1 MB Notification: Performance of SimCode: time 1.353e-06/1.188, allocations: 0 / 0.5778 GB, free: 53.2 MB / 395.1 MB Notification: Performance of Templates: time 0.1132/1.301, allocations: 69.97 MB / 0.6461 GB, free: 5.426 MB / 411.1 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