Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Rectifier12pulseFFT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.2..i|transformer1.l2sigma.inductor.3..i|realFFT.iTick",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier12pulseFFT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.2..i|transformer1.l2sigma.inductor.3..i|realFFT.iTick",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 176.5 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 223.3 MB / 241.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000858/0.000858, allocations: 100.9 kB / 292.6 MB, free: 10.58 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003599, allocations: 8 kB / 352.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2436, allocations: 50.4 MB / 402.7 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1136/0.3573, allocations: 95.74 MB / 498.5 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.3575, allocations: 79.97 kB / 498.6 MB, free: 0.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7739/1.131, allocations: 167.3 MB / 0.6502 GB, free: 8.441 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.589e-06/1.132, allocations: 0 / 0.6502 GB, free: 8.441 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001102/1.133, allocations: 267.8 kB / 0.6505 GB, free: 8.18 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5853 * Number of variables: 5853 Notification: Performance of Generate backend data structure: time 0.5039/1.637, allocations: 16.11 MB / 0.6662 GB, free: 33.21 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/1.637, allocations: 10.69 kB / 0.6662 GB, free: 33.21 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005747/1.642, allocations: 1.732 MB / 0.6679 GB, free: 32.21 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01204/1.654, allocations: 5.597 MB / 0.6734 GB, free: 31 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003517/1.655, allocations: 299 kB / 0.6737 GB, free: 30.99 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002002/1.657, allocations: 385.9 kB / 0.674 GB, free: 30.99 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04865/1.706, allocations: 27.91 MB / 0.7013 GB, free: 30.07 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.664e-05/1.706, allocations: 3.625 kB / 0.7013 GB, free: 30.07 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001045/1.707, allocations: 172.5 kB / 0.7014 GB, free: 30.07 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002314/1.707, allocations: 207.2 kB / 0.7016 GB, free: 30.05 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03453/1.742, allocations: 24.2 MB / 0.7253 GB, free: 18.91 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0574/1.799, allocations: 28.73 MB / 0.7533 GB, free: 6.879 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3941/2.193, allocations: 84.75 MB / 0.8361 GB, free: 102.8 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.06481/2.258, allocations: 79.53 MB / 0.9138 GB, free: 55.45 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005185/2.259, allocations: 147.4 kB / 0.9139 GB, free: 55.35 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04406/2.303, allocations: 29.08 MB / 0.9423 GB, free: 42.25 MB / 490.8 MB Notification: Performance of pre-optimization done (n=5058): time 6.572e-06/2.303, allocations: 2.406 kB / 0.9423 GB, free: 42.25 MB / 490.8 MB Notification: Performance of matching and sorting (n=5065): time 13.5/15.8, allocations: 2.914 GB / 3.856 GB, free: 194.5 MB / 1.932 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003496/15.81, allocations: 7.357 MB / 3.863 GB, free: 187.4 MB / 1.932 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00441/15.81, allocations: 2.645 MB / 3.866 GB, free: 184.7 MB / 1.932 GB Notification: Performance of collectPreVariables (initialization): time 0.005536/15.82, allocations: 3.948 MB / 3.87 GB, free: 180.8 MB / 1.932 GB Notification: Performance of collectInitialEqns (initialization): time 0.002105/15.82, allocations: 1.743 MB / 3.871 GB, free: 179 MB / 1.932 GB Notification: Performance of collectInitialBindings (initialization): time 0.02792/15.85, allocations: 21.63 MB / 3.892 GB, free: 157.5 MB / 1.932 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009822/15.86, allocations: 1.516 MB / 3.894 GB, free: 156 MB / 1.932 GB Notification: Performance of setup shared object (initialization): time 0.008145/15.86, allocations: 3.507 MB / 3.897 GB, free: 152.4 MB / 1.932 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06063/15.92, allocations: 26.83 MB / 3.924 GB, free: 125.6 MB / 1.932 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.08289/16.01, allocations: 58.72 MB / 3.981 GB, free: 53.43 MB / 1.932 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1009/16.11, allocations: 87.84 MB / 4.067 GB, free: 15.57 MB / 1.995 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001921/16.11, allocations: 300 kB / 4.067 GB, free: 15.28 MB / 1.995 GB Notification: Performance of matching and sorting (n=9915) (initialization): time 0.1869/16.3, allocations: 87.66 MB / 4.153 GB, free: 7.508 MB / 2.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.00376/16.3, allocations: 489.7 kB / 4.153 GB, free: 7.023 MB / 2.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003633/16.3, allocations: 1.031 MB / 4.154 GB, free: 5.992 MB / 2.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008934/16.31, allocations: 2.881 MB / 4.157 GB, free: 3.09 MB / 2.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04108/16.35, allocations: 10.72 MB / 4.167 GB, free: 8.348 MB / 2.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02918/16.38, allocations: 25.61 MB / 4.192 GB, free: 13.46 MB / 2.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03431/16.42, allocations: 2.488 MB / 4.195 GB, free: 10.97 MB / 2.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01279/16.43, allocations: 3.604 MB / 4.198 GB, free: 7.367 MB / 2.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4832 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.realFFT.firstTrigger,realFFT.firstTrigger,$PRE.realFFT.info,realFFT.info,$PRE.realFFT.buf[4000],realFFT.buf[4000],$PRE.realFFT.iTick,realFFT.iTick,$whenCondition3,$whenCondition1,$whenCondition2,realFFT.sampleTrigger,diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9809): * Single equations (assignments): 9798 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.04612/16.48, allocations: 15.08 MB / 4.213 GB, free: 8.223 MB / 2.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008204/16.49, allocations: 2.352 MB / 4.215 GB, free: 5.855 MB / 2.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.961/24.45, allocations: 8.84 GB / 13.05 GB, free: 1.42 GB / 2.776 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/24.45, allocations: 27.8 kB / 13.05 GB, free: 1.42 GB / 2.776 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/24.45, allocations: 11.75 kB / 13.05 GB, free: 1.42 GB / 2.776 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.265e-05/24.45, allocations: 15.94 kB / 13.06 GB, free: 1.419 GB / 2.776 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.237/32.68, allocations: 8.864 GB / 21.92 GB, free: 2.153 GB / 2.776 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-05/32.68, allocations: 0 / 21.92 GB, free: 2.153 GB / 2.776 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/32.69, allocations: 301.2 kB / 21.92 GB, free: 2.153 GB / 2.776 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003175/32.69, allocations: 1.387 MB / 21.92 GB, free: 2.152 GB / 2.776 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004725/32.69, allocations: 0.7999 MB / 21.92 GB, free: 2.151 GB / 2.776 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01819/32.71, allocations: 23.24 MB / 21.94 GB, free: 2.127 GB / 2.776 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/32.71, allocations: 7.219 kB / 21.94 GB, free: 2.127 GB / 2.776 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.421/40.13, allocations: 8.892 GB / 30.84 GB, free: 449.7 MB / 2.776 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01393/40.15, allocations: 6.184 MB / 30.84 GB, free: 444.3 MB / 2.776 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005189/40.15, allocations: 0.6522 MB / 30.84 GB, free: 443.7 MB / 2.776 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008439/40.16, allocations: 0.7232 MB / 30.84 GB, free: 443 MB / 2.776 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002851/40.16, allocations: 0.6511 MB / 30.84 GB, free: 442.3 MB / 2.776 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002224/40.17, allocations: 1.253 MB / 30.85 GB, free: 441.1 MB / 2.776 GB Notification: Performance of sorting global known variables: time 0.002719/40.17, allocations: 1.849 MB / 30.85 GB, free: 439.2 MB / 2.776 GB Notification: Performance of sort global known variables: time 2.81e-07/40.17, allocations: 0 / 30.85 GB, free: 439.2 MB / 2.776 GB Notification: Performance of remove unused functions: time 0.04821/40.22, allocations: 9.992 MB / 30.86 GB, free: 429.2 MB / 2.776 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 20 (realFFT.sampleTrigger,$whenCondition3,$whenCondition1,$whenCondition2,diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off,realFFT.firstTrigger,realFFT.info,realFFT.buf[4000],realFFT.iTick) * Number of discrete states: 5 (realFFT.info,$whenCondition2,realFFT.buf[4000],realFFT.iTick,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.005861/40.22, allocations: 1.06 MB / 30.86 GB, free: 428.3 MB / 2.776 GB Notification: Performance of simCode: created initialization part: time 0.1265/40.35, allocations: 84.21 MB / 30.94 GB, free: 345.5 MB / 2.776 GB Notification: Performance of simCode: created event and clocks part: time 1.861e-05/40.35, allocations: 5.469 kB / 30.94 GB, free: 345.5 MB / 2.776 GB Notification: Performance of simCode: created simulation system equations: time 19.69/60.04, allocations: 28.58 GB / 59.52 GB, free: 332.6 MB / 2.776 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02317/60.06, allocations: 2.094 MB / 59.52 GB, free: 330.6 MB / 2.776 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1149/60.18, allocations: 64.98 MB / 59.59 GB, free: 266.3 MB / 2.776 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03034/60.21, allocations: 9.985 MB / 59.6 GB, free: 256.3 MB / 2.776 GB Notification: Performance of simCode: alias equations: time 0.0202/60.23, allocations: 4.36 MB / 59.6 GB, free: 252 MB / 2.776 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0133/60.24, allocations: 1.335 MB / 59.6 GB, free: 250.6 MB / 2.776 GB Notification: Performance of SimCode: time 1.813e-06/60.24, allocations: 0 / 59.6 GB, free: 250.6 MB / 2.776 GB Notification: Performance of Templates: time 1.085/61.33, allocations: 289.9 MB / 59.89 GB, free: 2.26 GB / 2.776 GB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Rectifier12pulseFFT/Rectifier12pulseFFT.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches