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.001321/0.001321, allocations: 179.3 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.404/1.404, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.0008242/0.0008243, allocations: 92.27 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003043, allocations: 11.94 kB / 351.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2745, allocations: 50.41 MB / 401.5 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1175/0.3921, allocations: 95.63 MB / 497.1 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.3924, allocations: 79.97 kB / 497.2 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7696/1.162, allocations: 167.3 MB / 0.6489 GB, free: 8.785 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.276e-06/1.162, allocations: 0 / 0.6489 GB, free: 8.785 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006101/1.163, allocations: 259.9 kB / 0.6492 GB, free: 8.531 MB / 426.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.4418/1.604, allocations: 16.31 MB / 0.6651 GB, free: 34.55 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/1.605, allocations: 6.906 kB / 0.6651 GB, free: 34.55 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006098/1.611, allocations: 1.731 MB / 0.6668 GB, free: 33.56 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02256/1.633, allocations: 8.868 MB / 0.6755 GB, free: 32.46 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004693/1.634, allocations: 292.6 kB / 0.6757 GB, free: 32.46 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002364/1.636, allocations: 387.2 kB / 0.6761 GB, free: 32.46 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04637/1.683, allocations: 27.88 MB / 0.7033 GB, free: 31.53 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001035/1.683, allocations: 0 / 0.7033 GB, free: 31.53 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001964/1.685, allocations: 174.7 kB / 0.7035 GB, free: 31.53 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002532/1.685, allocations: 207.4 kB / 0.7037 GB, free: 31.52 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03431/1.719, allocations: 24.21 MB / 0.7273 GB, free: 19.73 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05491/1.774, allocations: 28.71 MB / 0.7554 GB, free: 7.727 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3487/2.123, allocations: 84.74 MB / 0.8381 GB, free: 98.48 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004718/2.123, allocations: 153.7 kB / 0.8383 GB, free: 98.38 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03965/2.163, allocations: 29.09 MB / 0.8667 GB, free: 97.56 MB / 490.8 MB Notification: Performance of pre-optimization done (n=5058): time 7.534e-06/2.163, allocations: 2.625 kB / 0.8667 GB, free: 97.56 MB / 490.8 MB Notification: Performance of matching and sorting (n=5065): time 12.04/14.21, allocations: 2.918 GB / 3.785 GB, free: 3.504 MB / 1.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005918/14.21, allocations: 7.364 MB / 3.792 GB, free: 12.38 MB / 1.964 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004406/14.22, allocations: 2.36 MB / 3.794 GB, free: 10 MB / 1.964 GB Notification: Performance of collectPreVariables (initialization): time 0.005753/14.22, allocations: 3.955 MB / 3.798 GB, free: 6.027 MB / 1.964 GB Notification: Performance of collectInitialEqns (initialization): time 0.002632/14.22, allocations: 1.742 MB / 3.8 GB, free: 4.27 MB / 1.964 GB Notification: Performance of collectInitialBindings (initialization): time 0.02581/14.25, allocations: 21.64 MB / 3.821 GB, free: 14.74 MB / 1.995 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005909/14.26, allocations: 1.508 MB / 3.822 GB, free: 13.23 MB / 1.995 GB Notification: Performance of setup shared object (initialization): time 0.006966/14.26, allocations: 3.499 MB / 3.826 GB, free: 9.719 MB / 1.995 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05325/14.32, allocations: 26.85 MB / 3.852 GB, free: 14.85 MB / 2.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07622/14.39, allocations: 58.43 MB / 3.909 GB, free: 6.988 MB / 2.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.458/14.85, allocations: 38.48 MB / 3.947 GB, free: 1.64 GB / 2.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002891/14.85, allocations: 302.1 kB / 3.947 GB, free: 1.64 GB / 2.104 GB Notification: Performance of matching and sorting (n=9915) (initialization): time 0.1894/15.04, allocations: 87.69 MB / 4.033 GB, free: 1.626 GB / 2.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.00314/15.05, allocations: 489.8 kB / 4.033 GB, free: 1.626 GB / 2.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004/15.05, allocations: 1.032 MB / 4.034 GB, free: 1.626 GB / 2.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009358/15.06, allocations: 3.026 MB / 4.037 GB, free: 1.626 GB / 2.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03858/15.1, allocations: 10.72 MB / 4.047 GB, free: 1.617 GB / 2.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02225/15.12, allocations: 26.02 MB / 4.073 GB, free: 1.593 GB / 2.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03643/15.16, allocations: 2.493 MB / 4.075 GB, free: 1.59 GB / 2.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01034/15.17, allocations: 3.608 MB / 4.079 GB, free: 1.587 GB / 2.104 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.03324/15.2, allocations: 15.07 MB / 4.094 GB, free: 1.575 GB / 2.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005421/15.21, allocations: 2.351 MB / 4.096 GB, free: 1.574 GB / 2.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.108/23.31, allocations: 8.84 GB / 12.94 GB, free: 1.401 GB / 2.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/23.31, allocations: 25.56 kB / 12.94 GB, free: 1.401 GB / 2.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/23.31, allocations: 8 kB / 12.94 GB, free: 1.401 GB / 2.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.388e-05/23.31, allocations: 11.95 kB / 12.94 GB, free: 1.401 GB / 2.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.286/31.6, allocations: 8.865 GB / 21.8 GB, free: 1.179 GB / 2.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.33e-05/31.6, allocations: 2.625 kB / 21.8 GB, free: 1.179 GB / 2.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001447/31.6, allocations: 300.6 kB / 21.8 GB, free: 1.179 GB / 2.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003342/31.61, allocations: 1.373 MB / 21.8 GB, free: 1.178 GB / 2.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005206/31.61, allocations: 0.8008 MB / 21.8 GB, free: 1.177 GB / 2.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01797/31.63, allocations: 23.65 MB / 21.83 GB, free: 1.153 GB / 2.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/31.63, allocations: 3.953 kB / 21.83 GB, free: 1.153 GB / 2.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.158/39.79, allocations: 8.892 GB / 30.72 GB, free: 0.8947 GB / 2.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02479/39.81, allocations: 6.334 MB / 30.72 GB, free: 0.8893 GB / 2.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007477/39.82, allocations: 0.6521 MB / 30.72 GB, free: 0.8887 GB / 2.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01311/39.83, allocations: 0.7264 MB / 30.73 GB, free: 0.888 GB / 2.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007708/39.84, allocations: 0.6534 MB / 30.73 GB, free: 0.8874 GB / 2.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.007662/39.85, allocations: 1.242 MB / 30.73 GB, free: 0.8861 GB / 2.104 GB Notification: Performance of sorting global known variables: time 0.003126/39.85, allocations: 1.849 MB / 30.73 GB, free: 0.8843 GB / 2.104 GB Notification: Performance of sort global known variables: time 2e-07/39.85, allocations: 0 / 30.73 GB, free: 0.8843 GB / 2.104 GB Notification: Performance of remove unused functions: time 0.05582/39.91, allocations: 9.993 MB / 30.74 GB, free: 0.8746 GB / 2.104 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.006216/39.91, allocations: 1.051 MB / 30.74 GB, free: 0.8737 GB / 2.104 GB Notification: Performance of simCode: created initialization part: time 0.1175/40.03, allocations: 84.25 MB / 30.82 GB, free: 0.7928 GB / 2.104 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/40.03, allocations: 0.75 kB / 30.82 GB, free: 0.7928 GB / 2.104 GB Notification: Performance of simCode: created simulation system equations: time 58.2/98.23, allocations: 28.62 GB / 59.44 GB, free: 1.843 GB / 2.854 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01026/98.24, allocations: 1.479 MB / 59.44 GB, free: 1.842 GB / 2.854 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1353/98.37, allocations: 81.41 MB / 59.52 GB, free: 1.763 GB / 2.854 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02178/98.39, allocations: 10.28 MB / 59.53 GB, free: 1.753 GB / 2.854 GB Notification: Performance of simCode: alias equations: time 0.01329/98.41, allocations: 4.355 MB / 59.54 GB, free: 1.749 GB / 2.854 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009153/98.42, allocations: 1.339 MB / 59.54 GB, free: 1.747 GB / 2.854 GB Notification: Performance of SimCode: time 1.643e-06/98.42, allocations: 0 / 59.54 GB, free: 1.747 GB / 2.854 GB Notification: Performance of Templates: time 0.4103/98.83, allocations: 289.2 MB / 59.82 GB, free: 1.468 GB / 2.854 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