Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.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.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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007815/0.0007815, allocations: 89.45 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002591/0.0002591, allocations: 11.94 kB / 351.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2749, allocations: 50.41 MB / 401.5 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.3958, allocations: 94.02 MB / 495.5 MB, free: 2.426 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.3962, allocations: 71.97 kB / 495.6 MB, free: 2.355 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6702/1.066, allocations: 114.4 MB / 0.5957 GB, free: 15.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.665e-06/1.066, allocations: 0 / 0.5957 GB, free: 15.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003413/1.067, allocations: 215.9 kB / 0.5959 GB, free: 15.27 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.02511/1.092, allocations: 14.55 MB / 0.6101 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.092, allocations: 8.031 kB / 0.6101 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003661/1.096, allocations: 1.479 MB / 0.6116 GB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0191/1.115, allocations: 7.685 MB / 0.6191 GB, free: 7.324 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/1.115, allocations: 168.4 kB / 0.6193 GB, free: 7.156 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001152/1.116, allocations: 227.7 kB / 0.6195 GB, free: 6.938 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04009/1.156, allocations: 25.34 MB / 0.6442 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.351e-05/1.156, allocations: 0 / 0.6442 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001638/1.158, allocations: 92 kB / 0.6443 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001466/1.158, allocations: 112.5 kB / 0.6444 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2508/1.409, allocations: 22.09 MB / 0.666 GB, free: 73.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04609/1.455, allocations: 21.17 MB / 0.6867 GB, free: 70.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05028/1.505, allocations: 80.19 MB / 0.765 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003081/1.506, allocations: 141.6 kB / 0.7651 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05357/1.559, allocations: 29.72 MB / 0.7941 GB, free: 9.879 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4937): time 4.378e-06/1.559, allocations: 0 / 0.7941 GB, free: 9.879 MB / 442.7 MB Notification: Performance of matching and sorting (n=4941): time 12.47/14.03, allocations: 2.906 GB / 3.7 GB, free: 4.809 MB / 1.792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004902/14.03, allocations: 7.194 MB / 3.707 GB, free: 13.89 MB / 1.807 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002546/14.03, allocations: 1.346 MB / 3.708 GB, free: 12.53 MB / 1.807 GB Notification: Performance of collectPreVariables (initialization): time 0.00513/14.04, allocations: 3.932 MB / 3.712 GB, free: 8.582 MB / 1.807 GB Notification: Performance of collectInitialEqns (initialization): time 0.001395/14.04, allocations: 1.033 MB / 3.713 GB, free: 7.57 MB / 1.807 GB Notification: Performance of collectInitialBindings (initialization): time 0.02596/14.07, allocations: 21.23 MB / 3.734 GB, free: 2.445 MB / 1.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006652/14.07, allocations: 1.492 MB / 3.735 GB, free: 0.9531 MB / 1.823 GB Notification: Performance of setup shared object (initialization): time 0.007361/14.08, allocations: 3.458 MB / 3.738 GB, free: 13.48 MB / 1.839 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05129/14.13, allocations: 26.2 MB / 3.764 GB, free: 3.258 MB / 1.854 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07734/14.21, allocations: 57.6 MB / 3.82 GB, free: 12.27 MB / 1.932 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.083/14.29, allocations: 37.73 MB / 3.857 GB, free: 6.715 MB / 1.964 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001756/14.29, allocations: 300 kB / 3.857 GB, free: 6.422 MB / 1.964 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.2359/14.53, allocations: 85.56 MB / 3.941 GB, free: 0.8125 MB / 2.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.002749/14.53, allocations: 485.7 kB / 3.941 GB, free: 340 kB / 2.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003652/14.54, allocations: 1.031 MB / 3.942 GB, free: 15.3 MB / 2.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006336/14.54, allocations: 2.324 MB / 3.945 GB, free: 12.97 MB / 2.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03737/14.58, allocations: 10.54 MB / 3.955 GB, free: 2.41 MB / 2.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01658/14.6, allocations: 12.85 MB / 3.967 GB, free: 5.031 MB / 2.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03485/14.63, allocations: 2.426 MB / 3.97 GB, free: 2.605 MB / 2.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01093/14.64, allocations: 3.563 MB / 3.973 GB, free: 15.04 MB / 2.089 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.03884/14.68, allocations: 14.49 MB / 3.987 GB, free: 0.4922 MB / 2.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008567/14.69, allocations: 2.223 MB / 3.99 GB, free: 14.25 MB / 2.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.694/22.38, allocations: 8.838 GB / 12.83 GB, free: 441.8 MB / 2.558 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/22.38, allocations: 12 kB / 12.83 GB, free: 441.8 MB / 2.558 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/22.38, allocations: 5.812 kB / 12.83 GB, free: 441.8 MB / 2.558 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.506e-05/22.38, allocations: 11.44 kB / 12.83 GB, free: 441.8 MB / 2.558 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.314/29.7, allocations: 8.861 GB / 21.69 GB, free: 370 MB / 2.558 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/29.7, allocations: 0 / 21.69 GB, free: 370 MB / 2.558 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008136/29.7, allocations: 162.2 kB / 21.69 GB, free: 369.9 MB / 2.558 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001611/29.7, allocations: 0.6911 MB / 21.69 GB, free: 369.2 MB / 2.558 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005231/29.7, allocations: 0.7691 MB / 21.69 GB, free: 368.4 MB / 2.558 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009354/29.71, allocations: 10.62 MB / 21.7 GB, free: 357.5 MB / 2.558 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/29.71, allocations: 3.844 kB / 21.7 GB, free: 357.5 MB / 2.558 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.592/37.31, allocations: 8.889 GB / 30.59 GB, free: 258.4 MB / 2.558 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01764/37.32, allocations: 6.059 MB / 30.6 GB, free: 253.2 MB / 2.558 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005534/37.33, allocations: 0.6272 MB / 30.6 GB, free: 252.5 MB / 2.558 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009019/37.34, allocations: 0.6631 MB / 30.6 GB, free: 251.9 MB / 2.558 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00505/37.34, allocations: 0.5553 MB / 30.6 GB, free: 251.3 MB / 2.558 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006021/37.35, allocations: 1.212 MB / 30.6 GB, free: 250.1 MB / 2.558 GB Notification: Performance of sorting global known variables: time 0.00144/37.35, allocations: 1.061 MB / 30.6 GB, free: 249.1 MB / 2.558 GB Notification: Performance of sort global known variables: time 1.5e-07/37.35, allocations: 1.156 kB / 30.6 GB, free: 249.1 MB / 2.558 GB Notification: Performance of remove unused functions: time 0.04748/37.4, allocations: 9.542 MB / 30.61 GB, free: 239.5 MB / 2.558 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.007041/37.41, allocations: 0.9996 MB / 30.61 GB, free: 238.7 MB / 2.558 GB Notification: Performance of simCode: created initialization part: time 0.1089/37.51, allocations: 81.78 MB / 30.69 GB, free: 157.9 MB / 2.558 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/37.51, allocations: 1.75 kB / 30.69 GB, free: 157.9 MB / 2.558 GB Notification: Performance of simCode: created simulation system equations: time 51.91/89.43, allocations: 28.61 GB / 59.3 GB, free: 1.858 GB / 2.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01344/89.44, allocations: 1.059 MB / 59.3 GB, free: 1.857 GB / 2.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1141/89.55, allocations: 65.62 MB / 59.37 GB, free: 1.793 GB / 2.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0117/89.57, allocations: 9.131 MB / 59.38 GB, free: 1.784 GB / 2.948 GB Notification: Performance of simCode: alias equations: time 0.01132/89.58, allocations: 4.088 MB / 59.38 GB, free: 1.78 GB / 2.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007719/89.58, allocations: 1.264 MB / 59.38 GB, free: 1.779 GB / 2.948 GB Notification: Performance of SimCode: time 1.102e-06/89.58, allocations: 0 / 59.38 GB, free: 1.779 GB / 2.948 GB Notification: Performance of Templates: time 0.3883/89.97, allocations: 261.5 MB / 59.64 GB, free: 1.526 GB / 2.948 GB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches