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.00232/0.002324, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001116/0.001116, allocations: 78.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.193e-05/3.217e-05, allocations: 7.984 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09215/0.09221, allocations: 47.57 MB / 369.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4405/0.5327, allocations: 90.22 MB / 459.3 MB, free: 3.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/0.5331, allocations: 78.02 kB / 459.4 MB, free: 2.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2752/0.8084, allocations: 63.49 MB / 0.5106 GB, free: 4.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.8084, allocations: 0 / 0.5106 GB, free: 4.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002832/0.8087, allocations: 59.94 kB / 0.5107 GB, free: 4.871 MB / 394.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.009313/0.8181, allocations: 2.259 MB / 0.5129 GB, free: 2.555 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.8181, allocations: 8.031 kB / 0.5129 GB, free: 2.547 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/0.8203, allocations: 316.6 kB / 0.5132 GB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005949/0.8263, allocations: 1.565 MB / 0.5147 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002915/0.8267, allocations: 168.3 kB / 0.5149 GB, free: 456 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001109/0.8278, allocations: 212 kB / 0.5151 GB, free: 244 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01168/0.8395, allocations: 3.051 MB / 0.5181 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.624e-05/0.8397, allocations: 0 / 0.5181 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007798/0.8405, allocations: 91.98 kB / 0.5182 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002079/0.8407, allocations: 112.4 kB / 0.5183 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009159/0.8499, allocations: 2.458 MB / 0.5207 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02832/0.8782, allocations: 8.924 MB / 0.5294 GB, free: 1.262 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2851/1.163, allocations: 3.305 MB / 0.5326 GB, free: 90.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003406/1.167, allocations: 1.306 MB / 0.5339 GB, free: 90.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000485/1.167, allocations: 141.3 kB / 0.534 GB, free: 90.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/1.167, allocations: 47.34 kB / 0.5341 GB, free: 90.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=128): time 5.179e-06/1.167, allocations: 0 / 0.5341 GB, free: 90.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=132): time 0.01335/1.181, allocations: 4.088 MB / 0.538 GB, free: 90.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/1.181, allocations: 69.31 kB / 0.5381 GB, free: 90.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003874/1.185, allocations: 1.322 MB / 0.5394 GB, free: 89.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000327/1.185, allocations: 51.95 kB / 0.5395 GB, free: 89.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008502/1.186, allocations: 0.8982 MB / 0.5403 GB, free: 89.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007278/1.187, allocations: 441.7 kB / 0.5408 GB, free: 89.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/1.187, allocations: 25.28 kB / 0.5408 GB, free: 89.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/1.187, allocations: 358.9 kB / 0.5411 GB, free: 88.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/1.189, allocations: 0.6541 MB / 0.5418 GB, free: 88.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/1.191, allocations: 0.8173 MB / 0.5426 GB, free: 88.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002192/1.193, allocations: 0.7803 MB / 0.5433 GB, free: 88.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.746e-05/1.193, allocations: 2.031 kB / 0.5433 GB, free: 88.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.006721/1.2, allocations: 2.12 MB / 0.5454 GB, free: 88.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/1.2, allocations: 10.84 kB / 0.5454 GB, free: 88.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/1.2, allocations: 5.656 kB / 0.5454 GB, free: 88.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004488/1.205, allocations: 0.7051 MB / 0.5461 GB, free: 88.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002489/1.207, allocations: 203.6 kB / 0.5463 GB, free: 88.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02546/1.233, allocations: 10.48 MB / 0.5565 GB, free: 83.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002593/1.235, allocations: 54.3 kB / 0.5566 GB, free: 83.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005155/1.236, allocations: 41.59 kB / 0.5566 GB, free: 83.18 MB / 410.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 () * 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.0005883/1.236, allocations: 173.4 kB / 0.5568 GB, free: 83.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009744/1.237, allocations: 162.7 kB / 0.5569 GB, free: 83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008211/1.246, allocations: 2.104 MB / 0.559 GB, free: 82.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.712e-05/1.246, allocations: 10.78 kB / 0.559 GB, free: 82.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.21e-05/1.246, allocations: 10.39 kB / 0.559 GB, free: 82.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.464e-05/1.246, allocations: 7.359 kB / 0.559 GB, free: 82.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01896/1.265, allocations: 4.667 MB / 0.5636 GB, free: 82.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.482e-05/1.265, allocations: 0 / 0.5636 GB, free: 82.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/1.267, allocations: 164.6 kB / 0.5637 GB, free: 82.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00384/1.271, allocations: 0.6896 MB / 0.5644 GB, free: 81.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003827/1.271, allocations: 30.7 kB / 0.5644 GB, free: 81.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02206/1.293, allocations: 10.37 MB / 0.5746 GB, free: 74.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/1.293, allocations: 3.5 kB / 0.5746 GB, free: 74.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/1.304, allocations: 3.184 MB / 0.5777 GB, free: 72.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001918/1.306, allocations: 406.3 kB / 0.5781 GB, free: 72.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008081/1.307, allocations: 27.42 kB / 0.5781 GB, free: 72.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002712/1.31, allocations: 73.44 kB / 0.5782 GB, free: 72.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007936/1.311, allocations: 114.7 kB / 0.5783 GB, free: 72.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002428/1.311, allocations: 37.81 kB / 0.5783 GB, free: 72.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003544/1.314, allocations: 1.038 MB / 0.5793 GB, free: 72.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.162e-06/1.314, allocations: 3.344 kB / 0.5793 GB, free: 72.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004515/1.319, allocations: 0.5281 MB / 0.5798 GB, free: 72.12 MB / 410.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 () * 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.000833/1.32, allocations: 202.3 kB / 0.58 GB, free: 72.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007759/1.328, allocations: 2.317 MB / 0.5823 GB, free: 70.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/1.328, allocations: 0 / 0.5823 GB, free: 70.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005001/1.333, allocations: 1.583 MB / 0.5838 GB, free: 69.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005249/1.338, allocations: 481.6 kB / 0.5843 GB, free: 69.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/1.353, allocations: 3.748 MB / 0.588 GB, free: 68.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003861/1.357, allocations: 2.026 MB / 0.5899 GB, free: 67.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007812/1.358, allocations: 92.84 kB / 0.59 GB, free: 67.5 MB / 410.7 MB Notification: Performance of SimCode: time 2.004e-06/1.358, allocations: 0 / 0.59 GB, free: 67.5 MB / 410.7 MB Notification: Performance of Templates: time 0.1289/1.487, allocations: 72.19 MB / 0.6605 GB, free: 14.99 MB / 410.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