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.001927/0.001927, allocations: 181.6 kB / 17.41 MB, free: 4.289 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.866/2.866, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.00111/0.001111, allocations: 87.92 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005157/0.0005157, allocations: 8 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4954/0.4959, allocations: 47.56 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1844/0.6805, allocations: 90.46 MB / 466.2 MB, free: 6.133 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006849/0.6813, allocations: 95.94 kB / 466.3 MB, free: 6.039 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6876/1.369, allocations: 63.22 MB / 0.5171 GB, free: 88.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.656e-06/1.369, allocations: 0 / 0.5171 GB, free: 88.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007003/1.37, allocations: 60.59 kB / 0.5171 GB, free: 88.19 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.0161/1.386, allocations: 2.483 MB / 0.5196 GB, free: 87.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.713e-05/1.386, allocations: 11.19 kB / 0.5196 GB, free: 87.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002239/1.388, allocations: 309.8 kB / 0.5199 GB, free: 86.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004527/1.393, allocations: 1.616 MB / 0.5214 GB, free: 86.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/1.393, allocations: 162.3 kB / 0.5216 GB, free: 86.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004962/1.394, allocations: 217.9 kB / 0.5218 GB, free: 86.13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005652/1.399, allocations: 3.12 MB / 0.5249 GB, free: 84.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.534e-05/1.399, allocations: 4.125 kB / 0.5249 GB, free: 84.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002403/1.4, allocations: 97.09 kB / 0.525 GB, free: 84.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001283/1.4, allocations: 120.4 kB / 0.5251 GB, free: 84.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004484/1.404, allocations: 2.547 MB / 0.5276 GB, free: 83.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0175/1.422, allocations: 8.906 MB / 0.5363 GB, free: 77.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004759/1.427, allocations: 3.366 MB / 0.5395 GB, free: 74.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002298/1.429, allocations: 1.331 MB / 0.5408 GB, free: 72.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003496/1.429, allocations: 137.8 kB / 0.541 GB, free: 72.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/1.429, allocations: 51.88 kB / 0.541 GB, free: 72.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 5.22e-06/1.429, allocations: 4 kB / 0.541 GB, free: 72.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.0145/1.444, allocations: 5.641 MB / 0.5465 GB, free: 66.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/1.444, allocations: 68.7 kB / 0.5466 GB, free: 66.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003984/1.448, allocations: 1.486 MB / 0.5481 GB, free: 65.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003657/1.448, allocations: 49.69 kB / 0.5481 GB, free: 65.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009998/1.449, allocations: 0.9395 MB / 0.549 GB, free: 64.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007866/1.45, allocations: 437.6 kB / 0.5494 GB, free: 63.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/1.45, allocations: 28 kB / 0.5495 GB, free: 63.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/1.451, allocations: 353.9 kB / 0.5498 GB, free: 63.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/1.452, allocations: 0.6935 MB / 0.5505 GB, free: 62.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/1.454, allocations: 0.8426 MB / 0.5513 GB, free: 61.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003501/1.458, allocations: 1.569 MB / 0.5528 GB, free: 60.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/1.458, allocations: 0 / 0.5528 GB, free: 60.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.006482/1.464, allocations: 2.294 MB / 0.5551 GB, free: 57.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.367e-05/1.464, allocations: 7.594 kB / 0.5551 GB, free: 57.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/1.464, allocations: 4 kB / 0.5551 GB, free: 57.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002992/1.467, allocations: 0.7019 MB / 0.5558 GB, free: 57.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/1.469, allocations: 211.7 kB / 0.556 GB, free: 57.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01811/1.487, allocations: 10.52 MB / 0.5662 GB, free: 46.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002552/1.49, allocations: 47.97 kB / 0.5663 GB, free: 45.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003476/1.49, allocations: 47.98 kB / 0.5663 GB, free: 45.93 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.002957/1.493, allocations: 0.8192 MB / 0.5671 GB, free: 45.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009476/1.494, allocations: 158.1 kB / 0.5673 GB, free: 44.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005651/1.5, allocations: 2.164 MB / 0.5694 GB, free: 42.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/1.5, allocations: 20 kB / 0.5694 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/1.5, allocations: 4 kB / 0.5694 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/1.5, allocations: 7.969 kB / 0.5694 GB, free: 42.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/1.514, allocations: 4.729 MB / 0.574 GB, free: 37.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-05/1.514, allocations: 3.25 kB / 0.574 GB, free: 37.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/1.516, allocations: 159.8 kB / 0.5742 GB, free: 37.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002825/1.518, allocations: 0.6902 MB / 0.5749 GB, free: 37.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/1.519, allocations: 27.98 kB / 0.5749 GB, free: 37.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01676/1.535, allocations: 10.41 MB / 0.5851 GB, free: 26.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.535, allocations: 0 / 0.5851 GB, free: 26.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008897/1.544, allocations: 3.21 MB / 0.5882 GB, free: 22.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001856/1.546, allocations: 411.1 kB / 0.5886 GB, free: 22.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00055/1.547, allocations: 28.38 kB / 0.5886 GB, free: 22.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/1.548, allocations: 71.94 kB / 0.5887 GB, free: 22.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005681/1.549, allocations: 117.1 kB / 0.5888 GB, free: 22.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/1.549, allocations: 40 kB / 0.5888 GB, free: 22.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003457/1.553, allocations: 1.052 MB / 0.5899 GB, free: 21.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.553, allocations: 0 / 0.5899 GB, free: 21.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005001/1.558, allocations: 0.5273 MB / 0.5904 GB, free: 20.59 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.0008942/1.559, allocations: 201.3 kB / 0.5906 GB, free: 20.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005867/1.565, allocations: 2.389 MB / 0.5929 GB, free: 17.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/1.565, allocations: 5.25 kB / 0.5929 GB, free: 17.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003522/1.568, allocations: 1.624 MB / 0.5945 GB, free: 16.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006734/1.575, allocations: 487.6 kB / 0.595 GB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01619/1.591, allocations: 5.427 MB / 0.6003 GB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002496/1.594, allocations: 1.983 MB / 0.6022 GB, free: 8.344 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007918/1.595, allocations: 103.4 kB / 0.6023 GB, free: 8.242 MB / 378.7 MB Notification: Performance of SimCode: time 1.804e-06/1.595, allocations: 0 / 0.6023 GB, free: 8.242 MB / 378.7 MB Notification: Performance of Templates: time 0.548/2.143, allocations: 75.19 MB / 0.6757 GB, free: 122.8 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