Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Rectifier12pulseFFT,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_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier12pulseFFT,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_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 221.5 MB / 230.3 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008653/0.0008652, allocations: 91.84 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.917e-05/1.92e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 50.43 MB / 387.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3391/0.4514, allocations: 94.88 MB / 482.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.4517, allocations: 68.72 kB / 482.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9923/1.444, allocations: 165.9 MB / 0.6331 GB, free: 69.85 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.825e-06/1.444, allocations: 0 / 0.6331 GB, free: 69.85 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.000987/1.445, allocations: 262.9 kB / 0.6334 GB, free: 69.59 MB / 426.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.02912/1.474, allocations: 15.86 MB / 0.6489 GB, free: 53.65 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/1.474, allocations: 19.58 kB / 0.6489 GB, free: 53.63 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007056/1.481, allocations: 1.73 MB / 0.6506 GB, free: 51.88 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01964/1.501, allocations: 8.811 MB / 0.6592 GB, free: 43.2 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/1.501, allocations: 124 kB / 0.6593 GB, free: 43.07 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00207/1.503, allocations: 234.9 kB / 0.6595 GB, free: 42.85 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03023/1.534, allocations: 23.75 MB / 0.6827 GB, free: 19.09 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0417/1.575, allocations: 27.15 MB / 0.7092 GB, free: 7.859 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/1.576, allocations: 7.25 kB / 0.7092 GB, free: 7.855 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001228/1.577, allocations: 8 kB / 0.7092 GB, free: 7.848 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002134/1.577, allocations: 208 kB / 0.7094 GB, free: 7.641 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3318/1.909, allocations: 25.85 MB / 0.7347 GB, free: 83.43 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05855/1.967, allocations: 83.37 MB / 0.8161 GB, free: 22.65 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3386/2.306, allocations: 79.74 MB / 0.894 GB, free: 103.6 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004646/2.307, allocations: 152 kB / 0.8941 GB, free: 103.5 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04019/2.347, allocations: 28.88 MB / 0.9223 GB, free: 102.7 MB / 474.8 MB Notification: Performance of pre-optimization done (n=5058): time 6.222e-06/2.347, allocations: 2.969 kB / 0.9223 GB, free: 102.7 MB / 474.8 MB Notification: Performance of matching and sorting (n=5065): time 12.12/14.47, allocations: 2.176 GB / 3.098 GB, free: 8.234 MB / 1.854 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005503/14.47, allocations: 7.361 MB / 3.106 GB, free: 1.109 MB / 1.854 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003663/14.48, allocations: 1.823 MB / 3.107 GB, free: 15.26 MB / 1.87 GB Notification: Performance of collectPreVariables (initialization): time 0.005485/14.48, allocations: 3.178 MB / 3.11 GB, free: 12.07 MB / 1.87 GB Notification: Performance of collectInitialEqns (initialization): time 0.00228/14.48, allocations: 1.761 MB / 3.112 GB, free: 10.29 MB / 1.87 GB Notification: Performance of collectInitialBindings (initialization): time 0.03078/14.52, allocations: 21.23 MB / 3.133 GB, free: 4.77 MB / 1.886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006509/14.52, allocations: 0 / 3.133 GB, free: 4.77 MB / 1.886 GB Notification: Performance of setup shared object (initialization): time 0.007504/14.53, allocations: 3.507 MB / 3.136 GB, free: 1.25 MB / 1.886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05195/14.58, allocations: 24.76 MB / 3.161 GB, free: 8.473 MB / 1.917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.08674/14.67, allocations: 55.9 MB / 3.215 GB, free: 3.16 MB / 1.979 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06328/14.73, allocations: 36.37 MB / 3.251 GB, free: 15.35 MB / 2.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001895/14.73, allocations: 300 kB / 3.251 GB, free: 15.06 MB / 2.026 GB Notification: Performance of matching and sorting (n=9915) (initialization): time 0.1672/14.9, allocations: 77.46 MB / 3.327 GB, free: 1.52 MB / 2.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.001287/14.9, allocations: 493.6 kB / 3.327 GB, free: 1.031 MB / 2.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002203/14.9, allocations: 1.031 MB / 3.328 GB, free: 0 / 2.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006711/14.91, allocations: 2.987 MB / 3.331 GB, free: 12.99 MB / 2.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04367/14.95, allocations: 10.73 MB / 3.341 GB, free: 2.234 MB / 2.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02718/14.98, allocations: 24.67 MB / 3.366 GB, free: 8.457 MB / 2.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0369/15.02, allocations: 0.9765 MB / 3.366 GB, free: 7.48 MB / 2.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01376/15.03, allocations: 3.598 MB / 3.37 GB, free: 3.883 MB / 2.136 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.03643/15.07, allocations: 9.495 MB / 3.379 GB, free: 10.33 MB / 2.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01391/15.08, allocations: 2.313 MB / 3.382 GB, free: 8 MB / 2.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8357/15.92, allocations: 78.59 MB / 3.458 GB, free: 11.71 MB / 2.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.424e-05/15.92, allocations: 28 kB / 3.458 GB, free: 11.68 MB / 2.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.736e-05/15.92, allocations: 8 kB / 3.458 GB, free: 11.67 MB / 2.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.426e-05/15.92, allocations: 15.94 kB / 3.458 GB, free: 11.66 MB / 2.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7808/16.7, allocations: 101.1 MB / 3.557 GB, free: 6.387 MB / 2.323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-05/16.7, allocations: 4 kB / 3.557 GB, free: 6.383 MB / 2.323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/16.7, allocations: 299.6 kB / 3.557 GB, free: 6.09 MB / 2.323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003598/16.7, allocations: 1.362 MB / 3.559 GB, free: 4.707 MB / 2.323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005136/16.71, allocations: 0.7642 MB / 3.559 GB, free: 3.945 MB / 2.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02331/16.73, allocations: 22.37 MB / 3.581 GB, free: 12.45 MB / 2.354 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/16.73, allocations: 7.984 kB / 3.581 GB, free: 12.45 MB / 2.354 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.404/18.14, allocations: 130.6 MB / 3.709 GB, free: 1.857 GB / 2.354 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02183/18.16, allocations: 6.289 MB / 3.715 GB, free: 1.855 GB / 2.354 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00757/18.17, allocations: 0.6068 MB / 3.716 GB, free: 1.855 GB / 2.354 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01379/18.18, allocations: 0.6791 MB / 3.716 GB, free: 1.855 GB / 2.354 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006057/18.19, allocations: 0.6584 MB / 3.717 GB, free: 1.855 GB / 2.354 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005996/18.19, allocations: 1.249 MB / 3.718 GB, free: 1.855 GB / 2.354 GB Notification: Performance of sorting global known variables: time 0.002475/18.2, allocations: 1.399 MB / 3.719 GB, free: 1.854 GB / 2.354 GB Notification: Performance of sort global known variables: time 3.01e-07/18.2, allocations: 0.9844 kB / 3.719 GB, free: 1.854 GB / 2.354 GB Notification: Performance of remove unused functions: time 0.05031/18.25, allocations: 8.408 MB / 3.728 GB, free: 1.849 GB / 2.354 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.006786/18.25, allocations: 1.028 MB / 3.729 GB, free: 1.849 GB / 2.354 GB Notification: Performance of simCode: created initialization part: time 0.1099/18.36, allocations: 79.36 MB / 3.806 GB, free: 1.78 GB / 2.354 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/18.36, allocations: 0 / 3.806 GB, free: 1.78 GB / 2.354 GB Notification: Performance of simCode: created simulation system equations: time 53.07/71.43, allocations: 28.61 GB / 32.42 GB, free: 1.063 GB / 2.761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01252/71.44, allocations: 1.215 MB / 32.42 GB, free: 1.062 GB / 2.761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1646/71.61, allocations: 69.61 MB / 32.49 GB, free: 0.9943 GB / 2.761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02346/71.63, allocations: 10.28 MB / 32.5 GB, free: 0.9843 GB / 2.761 GB Notification: Performance of simCode: alias equations: time 0.01913/71.65, allocations: 4.293 MB / 32.5 GB, free: 0.9801 GB / 2.761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0101/71.66, allocations: 1.32 MB / 32.5 GB, free: 0.9788 GB / 2.761 GB Notification: Performance of SimCode: time 1.683e-06/71.66, allocations: 0 / 32.5 GB, free: 0.9788 GB / 2.761 GB Notification: Performance of Templates: time 0.4133/72.07, allocations: 265.8 MB / 32.76 GB, free: 0.7224 GB / 2.761 GB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Rectifier12pulseFFT/Rectifier12pulseFFT.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches