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.001135/0.001135, allocations: 181.1 kB / 17.01 MB, free: 5.125 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.762/1.762, allocations: 205.4 MB / 223.1 MB, free: 9.039 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.00102/0.00102, allocations: 98.59 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002865/0.0002865, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2712, allocations: 47.57 MB / 375.8 MB, free: 45.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.123/0.3943, allocations: 93.23 MB / 469 MB, free: 3.426 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.3946, allocations: 79.97 kB / 469.1 MB, free: 3.348 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6216/1.016, allocations: 114.1 MB / 0.5695 GB, free: 44.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.404e-06/1.016, allocations: 0 / 0.5695 GB, free: 44.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003824/1.017, allocations: 215.9 kB / 0.5697 GB, free: 44.69 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.03093/1.048, allocations: 14.51 MB / 0.5839 GB, free: 30.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/1.048, allocations: 8.031 kB / 0.5839 GB, free: 30.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007035/1.055, allocations: 1.483 MB / 0.5853 GB, free: 28.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02205/1.077, allocations: 7.677 MB / 0.5928 GB, free: 20.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002057/1.077, allocations: 168.3 kB / 0.593 GB, free: 20.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004735/1.082, allocations: 220 kB / 0.5932 GB, free: 20.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05285/1.135, allocations: 25.34 MB / 0.6179 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001593/1.135, allocations: 3.938 kB / 0.6179 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004627/1.14, allocations: 95.98 kB / 0.618 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001855/1.14, allocations: 112.5 kB / 0.6181 GB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0463/1.186, allocations: 22.1 MB / 0.6397 GB, free: 4.617 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5443/1.73, allocations: 21.18 MB / 0.6604 GB, free: 78.44 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0662/1.797, allocations: 80.19 MB / 0.7387 GB, free: 18.27 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004421/1.797, allocations: 140.6 kB / 0.7389 GB, free: 18.17 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0491/1.846, allocations: 28.47 MB / 0.7667 GB, free: 15.57 MB / 426.8 MB Notification: Performance of pre-optimization done (n=4937): time 1.035e-05/1.846, allocations: 0 / 0.7667 GB, free: 15.57 MB / 426.8 MB Notification: Performance of matching and sorting (n=4941): time 14.14/15.99, allocations: 2.905 GB / 3.671 GB, free: 10.43 MB / 1.792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005277/15.99, allocations: 7.192 MB / 3.679 GB, free: 3.512 MB / 1.792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00283/15.99, allocations: 1.349 MB / 3.68 GB, free: 2.152 MB / 1.792 GB Notification: Performance of collectPreVariables (initialization): time 0.00556/16, allocations: 3.929 MB / 3.684 GB, free: 14.21 MB / 1.807 GB Notification: Performance of collectInitialEqns (initialization): time 0.001532/16, allocations: 1.04 MB / 3.685 GB, free: 13.16 MB / 1.807 GB Notification: Performance of collectInitialBindings (initialization): time 0.02839/16.03, allocations: 21.23 MB / 3.705 GB, free: 8.027 MB / 1.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007477/16.04, allocations: 1.492 MB / 3.707 GB, free: 6.535 MB / 1.823 GB Notification: Performance of setup shared object (initialization): time 0.008688/16.05, allocations: 3.454 MB / 3.71 GB, free: 3.07 MB / 1.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05421/16.1, allocations: 26.21 MB / 3.736 GB, free: 8.84 MB / 1.854 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.09092/16.19, allocations: 57.6 MB / 3.792 GB, free: 1.859 MB / 1.917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06762/16.26, allocations: 37.72 MB / 3.829 GB, free: 12.36 MB / 1.964 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002613/16.26, allocations: 303.9 kB / 3.829 GB, free: 12.06 MB / 1.964 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.1783/16.44, allocations: 85.56 MB / 3.913 GB, free: 6.453 MB / 2.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.003294/16.44, allocations: 481.7 kB / 3.913 GB, free: 5.977 MB / 2.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003693/16.45, allocations: 1.031 MB / 3.914 GB, free: 4.945 MB / 2.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00786/16.45, allocations: 2.318 MB / 3.917 GB, free: 2.617 MB / 2.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04231/16.5, allocations: 10.54 MB / 3.927 GB, free: 8.051 MB / 2.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01738/16.51, allocations: 12.85 MB / 3.939 GB, free: 10.69 MB / 2.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04031/16.56, allocations: 2.422 MB / 3.942 GB, free: 8.27 MB / 2.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01431/16.57, allocations: 3.566 MB / 3.945 GB, free: 4.703 MB / 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.04857/16.62, allocations: 14.49 MB / 3.959 GB, free: 6.156 MB / 2.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0113/16.63, allocations: 2.219 MB / 3.962 GB, free: 3.918 MB / 2.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.257/24.89, allocations: 8.838 GB / 12.8 GB, free: 258.8 MB / 2.511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/24.89, allocations: 12 kB / 12.8 GB, free: 258.7 MB / 2.511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/24.89, allocations: 4 kB / 12.8 GB, free: 258.7 MB / 2.511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.079e-05/24.89, allocations: 7.969 kB / 12.8 GB, free: 258.7 MB / 2.511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.787/33.67, allocations: 8.861 GB / 21.66 GB, free: 46.91 MB / 2.511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/33.67, allocations: 0 / 21.66 GB, free: 46.91 MB / 2.511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009086/33.68, allocations: 167 kB / 21.66 GB, free: 46.76 MB / 2.511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001719/33.68, allocations: 0.6872 MB / 21.66 GB, free: 46.07 MB / 2.511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.01088/33.69, allocations: 0.7656 MB / 21.66 GB, free: 45.31 MB / 2.511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/33.7, allocations: 10.63 MB / 21.67 GB, free: 34.38 MB / 2.511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/33.7, allocations: 7.516 kB / 21.67 GB, free: 34.38 MB / 2.511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.38/42.08, allocations: 8.889 GB / 30.56 GB, free: 1.964 GB / 2.511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02182/42.1, allocations: 6.059 MB / 30.57 GB, free: 1.958 GB / 2.511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007241/42.11, allocations: 0.6172 MB / 30.57 GB, free: 1.958 GB / 2.511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01149/42.12, allocations: 0.6621 MB / 30.57 GB, free: 1.957 GB / 2.511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006779/42.13, allocations: 0.555 MB / 30.57 GB, free: 1.957 GB / 2.511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00766/42.13, allocations: 1.218 MB / 30.57 GB, free: 1.955 GB / 2.511 GB Notification: Performance of sorting global known variables: time 0.001656/42.13, allocations: 1.061 MB / 30.57 GB, free: 1.954 GB / 2.511 GB Notification: Performance of sort global known variables: time 1.71e-07/42.13, allocations: 0 / 30.57 GB, free: 1.954 GB / 2.511 GB Notification: Performance of remove unused functions: time 0.04915/42.18, allocations: 9.542 MB / 30.58 GB, free: 1.945 GB / 2.511 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.004956/42.19, allocations: 0.998 MB / 30.58 GB, free: 1.944 GB / 2.511 GB Notification: Performance of simCode: created initialization part: time 0.1083/42.3, allocations: 81.77 MB / 30.66 GB, free: 1.865 GB / 2.511 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/42.3, allocations: 0 / 30.66 GB, free: 1.865 GB / 2.511 GB Notification: Performance of simCode: created simulation system equations: time 56/98.29, allocations: 28.61 GB / 59.27 GB, free: 0.6894 GB / 3.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009092/98.3, allocations: 1.064 MB / 59.27 GB, free: 0.6884 GB / 3.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.113/98.42, allocations: 65.59 MB / 59.34 GB, free: 0.6247 GB / 3.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02023/98.44, allocations: 9.125 MB / 59.35 GB, free: 0.6157 GB / 3.245 GB Notification: Performance of simCode: alias equations: time 0.01272/98.45, allocations: 4.084 MB / 59.35 GB, free: 0.6117 GB / 3.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008386/98.46, allocations: 1.269 MB / 59.35 GB, free: 0.6105 GB / 3.245 GB Notification: Performance of SimCode: time 1.072e-06/98.46, allocations: 0 / 59.35 GB, free: 0.6105 GB / 3.245 GB Notification: Performance of Templates: time 0.4349/98.89, allocations: 261.5 MB / 59.61 GB, free: 365.1 MB / 3.245 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