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: 183.8 kB / 18.04 MB, free: 3.781 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.388/1.388, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.000728/0.000728, allocations: 92.97 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.000303, allocations: 8 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2109, allocations: 47.58 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1034/0.3143, allocations: 95.01 MB / 472 MB, free: 1.516 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/0.3145, allocations: 83.95 kB / 472.1 MB, free: 1.434 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6978/1.012, allocations: 166.7 MB / 0.6239 GB, free: 6.117 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.908e-06/1.012, allocations: 0 / 0.6239 GB, free: 6.117 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0008668/1.013, allocations: 263.8 kB / 0.6241 GB, free: 5.859 MB / 394.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.03614/1.049, allocations: 16.08 MB / 0.6398 GB, free: 5.648 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/1.05, allocations: 12.03 kB / 0.6398 GB, free: 5.637 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00575/1.055, allocations: 1.731 MB / 0.6415 GB, free: 3.883 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3807/1.436, allocations: 5.601 MB / 0.647 GB, free: 41.93 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003031/1.436, allocations: 295.7 kB / 0.6473 GB, free: 41.92 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002381/1.439, allocations: 386 kB / 0.6476 GB, free: 41.92 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04275/1.481, allocations: 27.93 MB / 0.6749 GB, free: 41 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001968/1.482, allocations: 4.875 kB / 0.6749 GB, free: 41 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002457/1.484, allocations: 171.7 kB / 0.6751 GB, free: 41 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002066/1.484, allocations: 201.5 kB / 0.6753 GB, free: 40.99 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03804/1.522, allocations: 24.24 MB / 0.6989 GB, free: 30.89 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06106/1.584, allocations: 28.74 MB / 0.727 GB, free: 19.77 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3653/1.949, allocations: 84.57 MB / 0.8096 GB, free: 87.24 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.05339/2.002, allocations: 79.53 MB / 0.8873 GB, free: 39.27 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005222/2.003, allocations: 153 kB / 0.8874 GB, free: 39.17 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04253/2.046, allocations: 29.08 MB / 0.9158 GB, free: 26.07 MB / 458.8 MB Notification: Performance of pre-optimization done (n=5058): time 9.889e-06/2.046, allocations: 3.156 kB / 0.9158 GB, free: 26.07 MB / 458.8 MB Notification: Performance of matching and sorting (n=5065): time 12.2/14.24, allocations: 2.916 GB / 3.832 GB, free: 126 MB / 1.87 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003367/14.25, allocations: 7.361 MB / 3.839 GB, free: 118.9 MB / 1.87 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004258/14.25, allocations: 2.649 MB / 3.841 GB, free: 116.2 MB / 1.87 GB Notification: Performance of collectPreVariables (initialization): time 0.004238/14.25, allocations: 3.948 MB / 3.845 GB, free: 112.3 MB / 1.87 GB Notification: Performance of collectInitialEqns (initialization): time 0.001695/14.26, allocations: 1.746 MB / 3.847 GB, free: 110.5 MB / 1.87 GB Notification: Performance of collectInitialBindings (initialization): time 0.0192/14.27, allocations: 21.63 MB / 3.868 GB, free: 88.97 MB / 1.87 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006232/14.28, allocations: 1.512 MB / 3.87 GB, free: 87.46 MB / 1.87 GB Notification: Performance of setup shared object (initialization): time 0.006207/14.29, allocations: 3.514 MB / 3.873 GB, free: 83.94 MB / 1.87 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04578/14.33, allocations: 26.83 MB / 3.899 GB, free: 57.09 MB / 1.87 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07157/14.4, allocations: 58.72 MB / 3.957 GB, free: 0.9414 MB / 1.886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1048/14.51, allocations: 87.84 MB / 4.042 GB, free: 10.64 MB / 1.995 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001458/14.51, allocations: 300 kB / 4.043 GB, free: 10.35 MB / 1.995 GB Notification: Performance of matching and sorting (n=9915) (initialization): time 0.1772/14.69, allocations: 87.66 MB / 4.128 GB, free: 2.57 MB / 2.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001985/14.69, allocations: 489.7 kB / 4.129 GB, free: 2.086 MB / 2.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002478/14.69, allocations: 1.031 MB / 4.13 GB, free: 1.055 MB / 2.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006314/14.7, allocations: 2.877 MB / 4.133 GB, free: 14.15 MB / 2.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03846/14.74, allocations: 10.72 MB / 4.143 GB, free: 3.414 MB / 2.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02924/14.77, allocations: 25.61 MB / 4.168 GB, free: 8.527 MB / 2.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0331/14.8, allocations: 2.488 MB / 4.17 GB, free: 6.039 MB / 2.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0131/14.81, allocations: 3.602 MB / 4.174 GB, free: 2.438 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.03962/14.85, allocations: 15.08 MB / 4.189 GB, free: 3.297 MB / 2.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007808/14.86, allocations: 2.354 MB / 4.191 GB, free: 0.9219 MB / 2.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.224/22.09, allocations: 8.84 GB / 13.03 GB, free: 1.086 GB / 2.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-05/22.09, allocations: 28 kB / 13.03 GB, free: 1.086 GB / 2.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.485e-05/22.09, allocations: 13.66 kB / 13.03 GB, free: 1.086 GB / 2.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.679e-05/22.09, allocations: 11.95 kB / 13.03 GB, free: 1.086 GB / 2.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.236/29.32, allocations: 8.864 GB / 21.9 GB, free: 1.568 GB / 2.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.702e-05/29.32, allocations: 0 / 21.9 GB, free: 1.568 GB / 2.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/29.32, allocations: 290.4 kB / 21.9 GB, free: 1.567 GB / 2.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003187/29.33, allocations: 1.376 MB / 21.9 GB, free: 1.566 GB / 2.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004939/29.33, allocations: 0.8008 MB / 21.9 GB, free: 1.565 GB / 2.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01843/29.35, allocations: 23.24 MB / 21.92 GB, free: 1.542 GB / 2.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/29.35, allocations: 3.875 kB / 21.92 GB, free: 1.542 GB / 2.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.376/36.72, allocations: 8.892 GB / 30.81 GB, free: 2.001 GB / 2.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0145/36.74, allocations: 6.194 MB / 30.82 GB, free: 1.996 GB / 2.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006268/36.75, allocations: 0.6484 MB / 30.82 GB, free: 1.995 GB / 2.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009282/36.76, allocations: 0.7205 MB / 30.82 GB, free: 1.995 GB / 2.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004188/36.76, allocations: 0.6572 MB / 30.82 GB, free: 1.994 GB / 2.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005234/36.76, allocations: 1.242 MB / 30.82 GB, free: 1.993 GB / 2.698 GB Notification: Performance of sorting global known variables: time 0.003594/36.77, allocations: 1.853 MB / 30.82 GB, free: 1.991 GB / 2.698 GB Notification: Performance of sort global known variables: time 4.31e-07/36.77, allocations: 0 / 30.82 GB, free: 1.991 GB / 2.698 GB Notification: Performance of remove unused functions: time 0.04671/36.81, allocations: 9.993 MB / 30.83 GB, free: 1.981 GB / 2.698 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.005564/36.82, allocations: 1.055 MB / 30.83 GB, free: 1.98 GB / 2.698 GB Notification: Performance of simCode: created initialization part: time 0.1175/36.94, allocations: 84.21 MB / 30.92 GB, free: 1.899 GB / 2.698 GB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/36.94, allocations: 128 / 30.92 GB, free: 1.899 GB / 2.698 GB Notification: Performance of simCode: created simulation system equations: time 18.67/55.61, allocations: 28.58 GB / 59.5 GB, free: 1.159 GB / 2.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01726/55.63, allocations: 2.089 MB / 59.5 GB, free: 1.157 GB / 2.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1012/55.73, allocations: 64.97 MB / 59.56 GB, free: 1.094 GB / 2.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02006/55.75, allocations: 9.988 MB / 59.57 GB, free: 1.084 GB / 2.698 GB Notification: Performance of simCode: alias equations: time 0.01181/55.76, allocations: 4.357 MB / 59.58 GB, free: 1.079 GB / 2.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008299/55.77, allocations: 1.328 MB / 59.58 GB, free: 1.078 GB / 2.698 GB Notification: Performance of SimCode: time 9.31e-07/55.77, allocations: 4 kB / 59.58 GB, free: 1.078 GB / 2.698 GB Notification: Performance of Templates: time 0.4188/56.19, allocations: 289.9 MB / 59.86 GB, free: 0.7971 GB / 2.698 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/jenkins1/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