Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Rectifier6pulseFFT,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_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier6pulseFFT,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_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.172/1.172, allocations: 227.2 MB / 245 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008289/0.0008288, allocations: 98.7 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002124/0.0002125, allocations: 8 kB / 357.9 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1824, allocations: 51.47 MB / 409.4 MB, free: 26.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1019/0.2844, allocations: 94.81 MB / 0.4924 GB, free: 11.81 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.2846, allocations: 85.36 kB / 0.4925 GB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5452/0.8298, allocations: 114.5 MB / 0.6043 GB, free: 5.117 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.083e-06/0.8298, allocations: 3.938 kB / 0.6043 GB, free: 5.113 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002575/0.8301, allocations: 211.9 kB / 0.6045 GB, free: 4.906 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: 5386 * Number of variables: 5386 Notification: Performance of Generate backend data structure: time 0.01857/0.8487, allocations: 14.54 MB / 0.6187 GB, free: 6.242 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.8487, allocations: 16.02 kB / 0.6187 GB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003078/0.8518, allocations: 1.51 MB / 0.6202 GB, free: 4.695 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01747/0.8693, allocations: 7.693 MB / 0.6277 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.8694, allocations: 168.4 kB / 0.6278 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008954/0.8703, allocations: 219.9 kB / 0.628 GB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03197/0.9023, allocations: 25.33 MB / 0.6528 GB, free: 3.059 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.419e-05/0.9024, allocations: 3.938 kB / 0.6528 GB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007265/0.9031, allocations: 99.97 kB / 0.6529 GB, free: 2.957 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.9032, allocations: 108.3 kB / 0.653 GB, free: 2.852 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3616/1.265, allocations: 22.1 MB / 0.6746 GB, free: 77.08 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03278/1.298, allocations: 21.17 MB / 0.6952 GB, free: 74.5 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03862/1.336, allocations: 80.19 MB / 0.7735 GB, free: 20.29 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002623/1.337, allocations: 131.7 kB / 0.7737 GB, free: 20.2 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02377/1.36, allocations: 28.27 MB / 0.8013 GB, free: 2.301 MB / 442.8 MB Notification: Performance of pre-optimization done (n=4937): time 4.028e-06/1.36, allocations: 0 / 0.8013 GB, free: 2.301 MB / 442.8 MB Notification: Performance of matching and sorting (n=4941): time 9.858/11.22, allocations: 2.908 GB / 3.709 GB, free: 21.45 MB / 1.807 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002831/11.22, allocations: 7.193 MB / 3.716 GB, free: 14.52 MB / 1.807 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/11.22, allocations: 1.353 MB / 3.718 GB, free: 13.16 MB / 1.807 GB Notification: Performance of collectPreVariables (initialization): time 0.003534/11.23, allocations: 3.928 MB / 3.722 GB, free: 9.219 MB / 1.807 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007061/11.23, allocations: 1.031 MB / 3.723 GB, free: 8.293 MB / 1.807 GB Notification: Performance of collectInitialBindings (initialization): time 0.01881/11.25, allocations: 21.23 MB / 3.743 GB, free: 3.238 MB / 1.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004577/11.25, allocations: 1.488 MB / 3.745 GB, free: 1.75 MB / 1.823 GB Notification: Performance of setup shared object (initialization): time 0.003578/11.25, allocations: 3.458 MB / 3.748 GB, free: 14.28 MB / 1.839 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04372/11.3, allocations: 26.2 MB / 3.774 GB, free: 4.051 MB / 1.854 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0654/11.36, allocations: 57.6 MB / 3.83 GB, free: 13.07 MB / 1.932 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05306/11.42, allocations: 37.72 MB / 3.867 GB, free: 7.805 MB / 1.964 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00115/11.42, allocations: 303.4 kB / 3.867 GB, free: 7.512 MB / 1.964 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.1415/11.56, allocations: 85.56 MB / 3.951 GB, free: 1.902 MB / 2.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001001/11.56, allocations: 489.7 kB / 3.951 GB, free: 1.418 MB / 2.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001718/11.56, allocations: 1.027 MB / 3.952 GB, free: 400 kB / 2.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003418/11.57, allocations: 2.327 MB / 3.954 GB, free: 14.06 MB / 2.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03184/11.6, allocations: 10.54 MB / 3.965 GB, free: 3.5 MB / 2.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/11.61, allocations: 12.86 MB / 3.977 GB, free: 6.117 MB / 2.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02771/11.64, allocations: 2.429 MB / 3.98 GB, free: 3.691 MB / 2.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008246/11.65, allocations: 3.565 MB / 3.983 GB, free: 132 kB / 2.073 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 () * Number of clocked 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.02713/11.67, allocations: 14.49 MB / 3.997 GB, free: 1.574 MB / 2.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004825/11.68, allocations: 2.219 MB / 3.999 GB, free: 15.33 MB / 2.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.333/18.01, allocations: 8.838 GB / 12.84 GB, free: 0.5567 GB / 2.589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/18.01, allocations: 17.22 kB / 12.84 GB, free: 0.5567 GB / 2.589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/18.01, allocations: 9.484 kB / 12.84 GB, free: 0.5567 GB / 2.589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.992e-05/18.01, allocations: 7.422 kB / 12.84 GB, free: 0.5567 GB / 2.589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.281/24.29, allocations: 8.861 GB / 21.7 GB, free: 0.582 GB / 2.589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/24.29, allocations: 0 / 21.7 GB, free: 0.582 GB / 2.589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007401/24.29, allocations: 166.5 kB / 21.7 GB, free: 0.5819 GB / 2.589 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001431/24.29, allocations: 0.6978 MB / 21.7 GB, free: 0.5812 GB / 2.589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004426/24.3, allocations: 0.7656 MB / 21.7 GB, free: 0.5805 GB / 2.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008195/24.31, allocations: 10.61 MB / 21.71 GB, free: 0.5698 GB / 2.589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/24.31, allocations: 0 / 21.71 GB, free: 0.5698 GB / 2.589 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.284/30.59, allocations: 8.889 GB / 30.6 GB, free: 0.5667 GB / 2.589 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01402/30.61, allocations: 6.054 MB / 30.61 GB, free: 0.5615 GB / 2.589 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002636/30.61, allocations: 0.6211 MB / 30.61 GB, free: 0.5609 GB / 2.589 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005655/30.61, allocations: 0.6666 MB / 30.61 GB, free: 0.5603 GB / 2.589 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002154/30.62, allocations: 0.5536 MB / 30.61 GB, free: 0.5597 GB / 2.589 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0022/30.62, allocations: 1.214 MB / 30.61 GB, free: 0.5586 GB / 2.589 GB Notification: Performance of sorting global known variables: time 0.001371/30.62, allocations: 1.062 MB / 30.61 GB, free: 0.5575 GB / 2.589 GB Notification: Performance of sort global known variables: time 2.21e-07/30.62, allocations: 4 kB / 30.61 GB, free: 0.5575 GB / 2.589 GB Notification: Performance of remove unused functions: time 0.03462/30.65, allocations: 9.542 MB / 30.62 GB, free: 0.5482 GB / 2.589 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) * Number of clocked states: 0 () * 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.002737/30.66, allocations: 1 MB / 30.62 GB, free: 0.5474 GB / 2.589 GB Notification: Performance of simCode: created initialization part: time 0.08574/30.74, allocations: 81.77 MB / 30.7 GB, free: 479.7 MB / 2.589 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/30.74, allocations: 0 / 30.7 GB, free: 479.7 MB / 2.589 GB Notification: Performance of simCode: created simulation system equations: time 39.53/70.27, allocations: 28.61 GB / 59.31 GB, free: 379.7 MB / 3.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005972/70.28, allocations: 1.049 MB / 59.31 GB, free: 378.7 MB / 3.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06621/70.34, allocations: 65.63 MB / 59.38 GB, free: 313.7 MB / 3.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007875/70.35, allocations: 9.121 MB / 59.39 GB, free: 304.5 MB / 3.214 GB Notification: Performance of simCode: alias equations: time 0.008823/70.36, allocations: 4.087 MB / 59.39 GB, free: 300.4 MB / 3.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006108/70.37, allocations: 1.273 MB / 59.39 GB, free: 299.2 MB / 3.214 GB Notification: Performance of SimCode: time 1.132e-06/70.37, allocations: 0 / 59.39 GB, free: 299.2 MB / 3.214 GB Notification: Performance of Templates: time 0.3361/70.7, allocations: 261.5 MB / 59.65 GB, free: 39.56 MB / 3.214 GB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Rectifier6pulseFFT/Rectifier6pulseFFT.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches