Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.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.Rectifier6pulseFFT,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.Rectifier6pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier6pulseFFT,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.Rectifier6pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001351/0.001351, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007838/0.0007837, allocations: 82.7 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.808e-05/1.81e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0909/0.09093, allocations: 47.59 MB / 363.1 MB, free: 7.086 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3611/0.4521, allocations: 92.71 MB / 455.8 MB, free: 3.051 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001749/0.4523, allocations: 72.41 kB / 455.8 MB, free: 3.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8946/1.347, allocations: 113.1 MB / 0.5556 GB, free: 79 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.024e-06/1.347, allocations: 0 / 0.5556 GB, free: 79 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0005086/1.347, allocations: 214.3 kB / 0.5558 GB, free: 79 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: 5386 * Number of variables: 5386 Notification: Performance of Generate backend data structure: time 0.02611/1.374, allocations: 14.26 MB / 0.5697 GB, free: 74.49 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/1.374, allocations: 10.06 kB / 0.5697 GB, free: 74.49 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005391/1.379, allocations: 1.478 MB / 0.5712 GB, free: 73.6 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01753/1.397, allocations: 7.62 MB / 0.5786 GB, free: 72.05 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/1.397, allocations: 70.53 kB / 0.5787 GB, free: 72.05 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001722/1.399, allocations: 134.4 kB / 0.5788 GB, free: 72.04 MB / 410.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03265/1.431, allocations: 21.82 MB / 0.6001 GB, free: 65.05 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04044/1.472, allocations: 24.89 MB / 0.6244 GB, free: 47.98 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000136/1.472, allocations: 0 / 0.6244 GB, free: 47.98 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001704/1.474, allocations: 4 kB / 0.6244 GB, free: 47.98 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/1.474, allocations: 114.3 kB / 0.6246 GB, free: 47.87 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03531/1.509, allocations: 18.71 MB / 0.6428 GB, free: 33.29 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3075/1.817, allocations: 80.86 MB / 0.7218 GB, free: 62.78 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.05462/1.871, allocations: 78 MB / 0.798 GB, free: 14.27 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003807/1.872, allocations: 140.7 kB / 0.7981 GB, free: 14.16 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03237/1.904, allocations: 28.12 MB / 0.8256 GB, free: 1.398 MB / 426.8 MB Notification: Performance of pre-optimization done (n=4937): time 5.731e-06/1.904, allocations: 2.312 kB / 0.8256 GB, free: 1.398 MB / 426.8 MB Notification: Performance of matching and sorting (n=4941): time 11.8/13.71, allocations: 2.173 GB / 2.998 GB, free: 7.559 MB / 1.776 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006412/13.71, allocations: 7.195 MB / 3.005 GB, free: 0.6367 MB / 1.776 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00269/13.72, allocations: 1.07 MB / 3.006 GB, free: 15.56 MB / 1.792 GB Notification: Performance of collectPreVariables (initialization): time 0.005198/13.72, allocations: 3.174 MB / 3.009 GB, free: 12.37 MB / 1.792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001208/13.72, allocations: 1.045 MB / 3.01 GB, free: 11.44 MB / 1.792 GB Notification: Performance of collectInitialBindings (initialization): time 0.02944/13.75, allocations: 20.84 MB / 3.031 GB, free: 6.387 MB / 1.807 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005841/13.76, allocations: 2.5 kB / 3.031 GB, free: 6.387 MB / 1.807 GB Notification: Performance of setup shared object (initialization): time 0.008154/13.77, allocations: 3.458 MB / 3.034 GB, free: 2.918 MB / 1.807 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05257/13.82, allocations: 24.17 MB / 3.058 GB, free: 10.73 MB / 1.839 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.09043/13.91, allocations: 55.11 MB / 3.112 GB, free: 6.176 MB / 1.901 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05665/13.97, allocations: 35.65 MB / 3.146 GB, free: 2.98 MB / 1.932 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002138/13.97, allocations: 304 kB / 3.147 GB, free: 2.684 MB / 1.932 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.1619/14.13, allocations: 75.49 MB / 3.22 GB, free: 7.168 MB / 2.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.003474/14.13, allocations: 486.4 kB / 3.221 GB, free: 6.688 MB / 2.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003705/14.14, allocations: 1.031 MB / 3.222 GB, free: 5.656 MB / 2.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00619/14.14, allocations: 2.297 MB / 3.224 GB, free: 3.355 MB / 2.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03965/14.18, allocations: 10.54 MB / 3.234 GB, free: 8.785 MB / 2.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01357/14.2, allocations: 12.24 MB / 3.246 GB, free: 12.1 MB / 2.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0321/14.23, allocations: 0.9336 MB / 3.247 GB, free: 11.17 MB / 2.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01078/14.24, allocations: 3.562 MB / 3.251 GB, free: 7.605 MB / 2.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4821 * Number of states: 0 () * Number of discrete variables: 18 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9716): * Single equations (assignments): 9711 * 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: 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.02699/14.27, allocations: 9.469 MB / 3.26 GB, free: 14.07 MB / 2.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009054/14.28, allocations: 2.199 MB / 3.262 GB, free: 11.86 MB / 2.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7507/15.03, allocations: 76.5 MB / 3.337 GB, free: 15.27 MB / 2.136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.492e-05/15.03, allocations: 12 kB / 3.337 GB, free: 15.26 MB / 2.136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.89e-05/15.03, allocations: 4 kB / 3.337 GB, free: 15.26 MB / 2.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.087e-05/15.03, allocations: 11.92 kB / 3.337 GB, free: 15.25 MB / 2.136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8266/15.85, allocations: 97.3 MB / 3.432 GB, free: 13.83 MB / 2.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.943e-05/15.85, allocations: 4 kB / 3.432 GB, free: 13.83 MB / 2.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/15.86, allocations: 159.8 kB / 3.432 GB, free: 13.67 MB / 2.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002577/15.86, allocations: 0.6855 MB / 3.433 GB, free: 12.98 MB / 2.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005414/15.86, allocations: 0.7476 MB / 3.433 GB, free: 12.23 MB / 2.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01571/15.88, allocations: 10.03 MB / 3.443 GB, free: 1.758 MB / 2.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/15.88, allocations: 0 / 3.443 GB, free: 1.758 MB / 2.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.9572/16.84, allocations: 128.4 MB / 3.569 GB, free: 3.777 MB / 2.354 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02234/16.86, allocations: 6.034 MB / 3.575 GB, free: 13.7 MB / 2.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006289/16.87, allocations: 0.5938 MB / 3.575 GB, free: 13.11 MB / 2.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01076/16.88, allocations: 0.6406 MB / 3.576 GB, free: 12.47 MB / 2.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005512/16.88, allocations: 0.5597 MB / 3.576 GB, free: 11.91 MB / 2.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006379/16.89, allocations: 1.214 MB / 3.577 GB, free: 10.7 MB / 2.37 GB Notification: Performance of sorting global known variables: time 0.001877/16.89, allocations: 0.8218 MB / 3.578 GB, free: 9.867 MB / 2.37 GB Notification: Performance of sort global known variables: time 2.1e-07/16.89, allocations: 4 kB / 3.578 GB, free: 9.863 MB / 2.37 GB Notification: Performance of remove unused functions: time 0.04987/16.94, allocations: 8.013 MB / 3.586 GB, free: 1.863 MB / 2.37 GB 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: 14 (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,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 (82): * Single equations (assignments): 76 * 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: 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.006921/16.95, allocations: 0.9663 MB / 3.587 GB, free: 0.9766 MB / 2.37 GB Notification: Performance of simCode: created initialization part: time 0.1183/17.07, allocations: 77.03 MB / 3.662 GB, free: 4.109 MB / 2.448 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/17.07, allocations: 0 / 3.662 GB, free: 4.109 MB / 2.448 GB Notification: Performance of simCode: created simulation system equations: time 54.73/71.79, allocations: 28.61 GB / 32.27 GB, free: 2.561 GB / 3.058 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009989/71.8, allocations: 0.9281 MB / 32.27 GB, free: 2.56 GB / 3.058 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1207/71.92, allocations: 55.13 MB / 32.33 GB, free: 2.507 GB / 3.058 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02462/71.95, allocations: 9.129 MB / 32.33 GB, free: 2.498 GB / 3.058 GB Notification: Performance of simCode: alias equations: time 0.01498/71.96, allocations: 4.048 MB / 32.34 GB, free: 2.494 GB / 3.058 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009121/71.97, allocations: 1.253 MB / 32.34 GB, free: 2.493 GB / 3.058 GB Notification: Performance of SimCode: time 1.353e-06/71.97, allocations: 0 / 32.34 GB, free: 2.493 GB / 3.058 GB Notification: Performance of Templates: time 0.3975/72.37, allocations: 244 MB / 32.58 GB, free: 2.257 GB / 3.058 GB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Rectifier6pulseFFT/Rectifier6pulseFFT.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches