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.001557/0.001557, allocations: 194.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008026/0.0008024, allocations: 103.2 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.132e-05/2.133e-05, allocations: 4 kB / 343.7 MB, free: 8.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1039, allocations: 51.48 MB / 395.2 MB, free: 4.781 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3214/0.4253, allocations: 94.08 MB / 489.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.4256, allocations: 71.94 kB / 489.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.224/1.65, allocations: 113.5 MB / 0.5887 GB, free: 60.65 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.264e-06/1.65, allocations: 0 / 0.5887 GB, free: 60.65 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.0004164/1.651, allocations: 214.4 kB / 0.5889 GB, free: 60.64 MB / 442.8 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.0249/1.675, allocations: 14.29 MB / 0.6029 GB, free: 56.28 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/1.676, allocations: 14.05 kB / 0.6029 GB, free: 56.28 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005419/1.681, allocations: 1.511 MB / 0.6043 GB, free: 55.39 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02207/1.703, allocations: 7.651 MB / 0.6118 GB, free: 54.09 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/1.703, allocations: 71.94 kB / 0.6119 GB, free: 54.09 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001931/1.705, allocations: 130.5 kB / 0.612 GB, free: 54.09 MB / 442.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05422/1.76, allocations: 21.8 MB / 0.6333 GB, free: 51.9 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04029/1.8, allocations: 24.87 MB / 0.6576 GB, free: 39.8 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.388e-05/1.8, allocations: 3.656 kB / 0.6576 GB, free: 39.8 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007009/1.801, allocations: 3.375 kB / 0.6576 GB, free: 39.8 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001353/1.801, allocations: 110.1 kB / 0.6577 GB, free: 39.79 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03474/1.836, allocations: 18.7 MB / 0.676 GB, free: 32.04 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3413/2.177, allocations: 80.82 MB / 0.7549 GB, free: 57.64 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.05103/2.228, allocations: 78 MB / 0.8311 GB, free: 10.91 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003664/2.228, allocations: 135.3 kB / 0.8312 GB, free: 10.82 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04273/2.271, allocations: 28.35 MB / 0.8589 GB, free: 15 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4937): time 5.14e-06/2.271, allocations: 0 / 0.8589 GB, free: 15 MB / 474.8 MB Notification: Performance of matching and sorting (n=4941): time 9.03/11.3, allocations: 2.177 GB / 3.036 GB, free: 0.7812 MB / 1.932 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004373/11.31, allocations: 7.194 MB / 3.043 GB, free: 9.859 MB / 1.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/11.31, allocations: 1.063 MB / 3.044 GB, free: 8.789 MB / 1.948 GB Notification: Performance of collectPreVariables (initialization): time 0.003997/11.31, allocations: 3.184 MB / 3.048 GB, free: 5.59 MB / 1.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008379/11.31, allocations: 1.04 MB / 3.049 GB, free: 4.664 MB / 1.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.01756/11.33, allocations: 20.84 MB / 3.069 GB, free: 15.7 MB / 1.979 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003219/11.33, allocations: 0 / 3.069 GB, free: 15.7 MB / 1.979 GB Notification: Performance of setup shared object (initialization): time 0.003003/11.34, allocations: 3.457 MB / 3.072 GB, free: 12.23 MB / 1.979 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0308/11.37, allocations: 24.16 MB / 3.096 GB, free: 4.051 MB / 1.995 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04846/11.42, allocations: 55.11 MB / 3.15 GB, free: 15.57 MB / 2.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2945/11.71, allocations: 35.65 MB / 3.185 GB, free: 1.622 GB / 2.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001067/11.71, allocations: 300.8 kB / 3.185 GB, free: 1.622 GB / 2.073 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.1069/11.82, allocations: 75.49 MB / 3.259 GB, free: 1.61 GB / 2.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001372/11.82, allocations: 484.8 kB / 3.259 GB, free: 1.61 GB / 2.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001905/11.82, allocations: 1.031 MB / 3.26 GB, free: 1.61 GB / 2.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003863/11.83, allocations: 2.306 MB / 3.262 GB, free: 1.61 GB / 2.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02879/11.85, allocations: 10.54 MB / 3.273 GB, free: 1.608 GB / 2.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008876/11.86, allocations: 12.25 MB / 3.285 GB, free: 1.597 GB / 2.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02357/11.89, allocations: 0.9361 MB / 3.285 GB, free: 1.596 GB / 2.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006462/11.89, allocations: 3.565 MB / 3.289 GB, free: 1.593 GB / 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 () * 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.01506/11.91, allocations: 9.475 MB / 3.298 GB, free: 1.586 GB / 2.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003265/11.91, allocations: 2.195 MB / 3.3 GB, free: 1.585 GB / 2.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5551/12.47, allocations: 76.27 MB / 3.375 GB, free: 1.518 GB / 2.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/12.47, allocations: 13.64 kB / 3.375 GB, free: 1.518 GB / 2.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/12.47, allocations: 8 kB / 3.375 GB, free: 1.518 GB / 2.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-05/12.47, allocations: 6.844 kB / 3.375 GB, free: 1.518 GB / 2.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5892/13.06, allocations: 97.31 MB / 3.47 GB, free: 1.426 GB / 2.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/13.06, allocations: 7.984 kB / 3.47 GB, free: 1.426 GB / 2.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006554/13.06, allocations: 155.8 kB / 3.47 GB, free: 1.426 GB / 2.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001274/13.06, allocations: 0.6821 MB / 3.471 GB, free: 1.425 GB / 2.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002849/13.06, allocations: 0.75 MB / 3.471 GB, free: 1.425 GB / 2.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006949/13.07, allocations: 10.04 MB / 3.481 GB, free: 1.415 GB / 2.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/13.07, allocations: 0 / 3.481 GB, free: 1.415 GB / 2.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6338/13.7, allocations: 127.9 MB / 3.606 GB, free: 1.29 GB / 2.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009997/13.71, allocations: 6.034 MB / 3.612 GB, free: 1.285 GB / 2.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001955/13.71, allocations: 0.5977 MB / 3.613 GB, free: 1.285 GB / 2.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004491/13.72, allocations: 0.6439 MB / 3.613 GB, free: 1.284 GB / 2.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001449/13.72, allocations: 0.5558 MB / 3.614 GB, free: 1.283 GB / 2.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00139/13.72, allocations: 1.215 MB / 3.615 GB, free: 1.282 GB / 2.073 GB Notification: Performance of sorting global known variables: time 0.0008557/13.72, allocations: 0.8218 MB / 3.616 GB, free: 1.281 GB / 2.073 GB Notification: Performance of sort global known variables: time 1.4e-07/13.72, allocations: 0 / 3.616 GB, free: 1.281 GB / 2.073 GB Notification: Performance of remove unused functions: time 0.02959/13.75, allocations: 8.013 MB / 3.624 GB, free: 1.274 GB / 2.073 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) * 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.00194/13.75, allocations: 0.9731 MB / 3.625 GB, free: 1.273 GB / 2.073 GB Notification: Performance of simCode: created initialization part: time 0.07209/13.83, allocations: 77.04 MB / 3.7 GB, free: 1.198 GB / 2.073 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/13.83, allocations: 4 kB / 3.7 GB, free: 1.198 GB / 2.073 GB Notification: Performance of simCode: created simulation system equations: time 36.11/49.94, allocations: 28.61 GB / 32.31 GB, free: 1.448 GB / 2.761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005345/49.94, allocations: 0.9326 MB / 32.31 GB, free: 1.447 GB / 2.761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0522/49.99, allocations: 55.13 MB / 32.37 GB, free: 1.394 GB / 2.761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005999/50, allocations: 9.132 MB / 32.38 GB, free: 1.385 GB / 2.761 GB Notification: Performance of simCode: alias equations: time 0.006165/50.01, allocations: 4.051 MB / 32.38 GB, free: 1.381 GB / 2.761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00258/50.01, allocations: 1.257 MB / 32.38 GB, free: 1.38 GB / 2.761 GB Notification: Performance of SimCode: time 9.11e-07/50.01, allocations: 0 / 32.38 GB, free: 1.38 GB / 2.761 GB Notification: Performance of Templates: time 0.2829/50.29, allocations: 244 MB / 32.62 GB, free: 1.144 GB / 2.761 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