Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.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.Blocks.Examples.Rectifier12pulseFFT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier12pulseFFT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.563/1.563, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0009719/0.0009715, allocations: 82.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.419e-05/2.421e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1151, allocations: 47.57 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3672/0.4823, allocations: 94.73 MB / 464.7 MB, free: 14.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001608/0.4825, allocations: 78.27 kB / 464.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9556/1.438, allocations: 167.2 MB / 0.6172 GB, free: 62.44 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.593e-06/1.438, allocations: 3.938 kB / 0.6172 GB, free: 62.43 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0005041/1.439, allocations: 267.2 kB / 0.6175 GB, free: 62.18 MB / 410.8 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.02503/1.464, allocations: 15.82 MB / 0.6329 GB, free: 46.28 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/1.464, allocations: 12.03 kB / 0.6329 GB, free: 46.27 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005381/1.469, allocations: 1.734 MB / 0.6346 GB, free: 44.51 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02052/1.49, allocations: 8.801 MB / 0.6432 GB, free: 35.92 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002702/1.49, allocations: 300.7 kB / 0.6435 GB, free: 35.64 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002544/1.493, allocations: 387.2 kB / 0.6439 GB, free: 35.26 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04211/1.535, allocations: 27.75 MB / 0.671 GB, free: 7.352 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.094e-05/1.535, allocations: 7.922 kB / 0.671 GB, free: 7.344 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009389/1.536, allocations: 170.8 kB / 0.6711 GB, free: 7.18 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001656/1.536, allocations: 210.8 kB / 0.6713 GB, free: 6.973 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3187/1.855, allocations: 24.03 MB / 0.6948 GB, free: 78.54 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06797/1.923, allocations: 28.72 MB / 0.7229 GB, free: 74.8 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.08079/2.004, allocations: 83.49 MB / 0.8044 GB, free: 10.73 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.4131/2.417, allocations: 80.03 MB / 0.8826 GB, free: 87.8 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005812/2.417, allocations: 155.2 kB / 0.8827 GB, free: 87.71 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04652/2.464, allocations: 28.96 MB / 0.911 GB, free: 86.89 MB / 458.8 MB Notification: Performance of pre-optimization done (n=5058): time 6.212e-06/2.464, allocations: 0 / 0.911 GB, free: 86.89 MB / 458.8 MB Notification: Performance of matching and sorting (n=5065): time 10.94/13.41, allocations: 2.189 GB / 3.1 GB, free: 6.148 MB / 1.901 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004646/13.41, allocations: 7.364 MB / 3.107 GB, free: 15.02 MB / 1.917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003911/13.42, allocations: 2.347 MB / 3.109 GB, free: 12.66 MB / 1.917 GB Notification: Performance of collectPreVariables (initialization): time 0.005713/13.42, allocations: 3.955 MB / 3.113 GB, free: 8.688 MB / 1.917 GB Notification: Performance of collectInitialEqns (initialization): time 0.002497/13.42, allocations: 1.737 MB / 3.115 GB, free: 6.934 MB / 1.917 GB Notification: Performance of collectInitialBindings (initialization): time 0.02524/13.45, allocations: 21.64 MB / 3.136 GB, free: 1.395 MB / 1.932 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005916/13.46, allocations: 1.508 MB / 3.138 GB, free: 15.88 MB / 1.948 GB Notification: Performance of setup shared object (initialization): time 0.007045/13.46, allocations: 3.507 MB / 3.141 GB, free: 12.37 MB / 1.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05583/13.52, allocations: 26.28 MB / 3.167 GB, free: 2.074 MB / 1.964 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.08739/13.61, allocations: 57.86 MB / 3.223 GB, free: 10.79 MB / 2.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06402/13.67, allocations: 38.22 MB / 3.26 GB, free: 5.207 MB / 2.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001826/13.67, allocations: 304 kB / 3.261 GB, free: 4.91 MB / 2.073 GB Notification: Performance of matching and sorting (n=9915) (initialization): time 0.1795/13.85, allocations: 86.55 MB / 3.345 GB, free: 14.25 MB / 2.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002062/13.85, allocations: 489.7 kB / 3.346 GB, free: 13.77 MB / 2.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003518/13.86, allocations: 1.031 MB / 3.347 GB, free: 12.73 MB / 2.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008204/13.86, allocations: 3.02 MB / 3.35 GB, free: 9.688 MB / 2.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3887/14.25, allocations: 10.71 MB / 3.36 GB, free: 1.722 GB / 2.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02913/14.28, allocations: 25.53 MB / 3.385 GB, free: 1.709 GB / 2.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03589/14.32, allocations: 2.489 MB / 3.388 GB, free: 1.709 GB / 2.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01186/14.33, allocations: 3.602 MB / 3.391 GB, free: 1.709 GB / 2.167 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 () * 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.02488/14.36, allocations: 11.05 MB / 3.402 GB, free: 1.708 GB / 2.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006026/14.36, allocations: 2.354 MB / 3.404 GB, free: 1.708 GB / 2.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.183/22.54, allocations: 8.839 GB / 12.24 GB, free: 208.2 MB / 2.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/22.54, allocations: 24 kB / 12.24 GB, free: 208.2 MB / 2.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/22.54, allocations: 10.09 kB / 12.24 GB, free: 208.2 MB / 2.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.406e-05/22.54, allocations: 11.95 kB / 12.24 GB, free: 208.2 MB / 2.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.518/32.06, allocations: 8.864 GB / 21.11 GB, free: 417 MB / 2.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.632e-05/32.06, allocations: 0 / 21.11 GB, free: 417 MB / 2.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/32.06, allocations: 294.1 kB / 21.11 GB, free: 416.7 MB / 2.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003766/32.07, allocations: 1.373 MB / 21.11 GB, free: 415.4 MB / 2.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.009361/32.08, allocations: 0.7996 MB / 21.11 GB, free: 414.6 MB / 2.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01995/32.1, allocations: 23.16 MB / 21.13 GB, free: 390.5 MB / 2.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/32.1, allocations: 0.875 kB / 21.13 GB, free: 390.5 MB / 2.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.191/41.29, allocations: 8.891 GB / 30.02 GB, free: 0.5449 GB / 2.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02308/41.31, allocations: 6.342 MB / 30.03 GB, free: 0.5395 GB / 2.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008906/41.32, allocations: 0.6484 MB / 30.03 GB, free: 0.5389 GB / 2.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01584/41.34, allocations: 0.7183 MB / 30.03 GB, free: 0.5382 GB / 2.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007166/41.34, allocations: 0.6599 MB / 30.03 GB, free: 0.5376 GB / 2.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.007445/41.35, allocations: 1.241 MB / 30.03 GB, free: 0.5364 GB / 2.167 GB Notification: Performance of sorting global known variables: time 0.003514/41.36, allocations: 1.831 MB / 30.03 GB, free: 0.5346 GB / 2.167 GB Notification: Performance of sort global known variables: time 1.032e-06/41.36, allocations: 0 / 30.03 GB, free: 0.5346 GB / 2.167 GB Notification: Performance of remove unused functions: time 0.06326/41.42, allocations: 9.991 MB / 30.04 GB, free: 0.5248 GB / 2.167 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) * 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.007499/41.43, allocations: 1.039 MB / 30.05 GB, free: 0.5239 GB / 2.167 GB Notification: Performance of simCode: created initialization part: time 0.1197/41.55, allocations: 83.37 MB / 30.13 GB, free: 453.9 MB / 2.167 GB Notification: Performance of simCode: created event and clocks part: time 1.347e-05/41.55, allocations: 3.375 kB / 30.13 GB, free: 453.9 MB / 2.167 GB Notification: Performance of simCode: created simulation system equations: time 58.48/100, allocations: 28.61 GB / 58.74 GB, free: 260 MB / 2.558 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01319/100, allocations: 1.477 MB / 58.74 GB, free: 258.6 MB / 2.558 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0903/100.1, allocations: 53.73 MB / 58.79 GB, free: 205.3 MB / 2.558 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01274/100.1, allocations: 10.28 MB / 58.8 GB, free: 195 MB / 2.558 GB Notification: Performance of simCode: alias equations: time 0.009831/100.1, allocations: 4.357 MB / 58.81 GB, free: 190.7 MB / 2.558 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006943/100.2, allocations: 1.339 MB / 58.81 GB, free: 189.3 MB / 2.558 GB Notification: Performance of SimCode: time 1.262e-06/100.2, allocations: 0 / 58.81 GB, free: 189.3 MB / 2.558 GB Notification: Performance of Templates: time 0.8304/101, allocations: 289.4 MB / 59.09 GB, free: 2.069 GB / 2.558 GB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Rectifier12pulseFFT/Rectifier12pulseFFT.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches