Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT.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.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_trunk_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_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009824/0.0009825, allocations: 198.8 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.151/1.151, allocations: 227.2 MB / 245 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009048/0.0009047, allocations: 101.8 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001913/0.0001913, allocations: 4 kB / 357.9 MB, free: 9.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.181, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09786/0.2789, allocations: 96.42 MB / 0.494 GB, free: 10.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/0.2792, allocations: 76.75 kB / 0.494 GB, free: 10.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6684/0.9475, allocations: 167.3 MB / 0.6574 GB, free: 14.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.9476, allocations: 0 / 0.6574 GB, free: 14.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005427/0.9481, allocations: 259.9 kB / 0.6577 GB, free: 14.22 MB / 442.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.3538/1.302, allocations: 16.31 MB / 0.6736 GB, free: 41.05 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/1.302, allocations: 7.812 kB / 0.6736 GB, free: 41.05 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004691/1.307, allocations: 1.772 MB / 0.6754 GB, free: 40.05 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01844/1.325, allocations: 8.858 MB / 0.684 GB, free: 39.68 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002224/1.325, allocations: 303.2 kB / 0.6843 GB, free: 39.67 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001668/1.327, allocations: 388.5 kB / 0.6847 GB, free: 39.66 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03184/1.359, allocations: 27.88 MB / 0.7119 GB, free: 38.73 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.147e-05/1.359, allocations: 3.094 kB / 0.7119 GB, free: 38.73 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006366/1.36, allocations: 171.1 kB / 0.7121 GB, free: 38.73 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001528/1.36, allocations: 203.6 kB / 0.7123 GB, free: 38.72 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02373/1.384, allocations: 24.2 MB / 0.7359 GB, free: 28.44 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04199/1.426, allocations: 28.71 MB / 0.7639 GB, free: 16.68 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07088/1.497, allocations: 84.95 MB / 0.8469 GB, free: 10.84 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003484/1.497, allocations: 160.2 kB / 0.847 GB, free: 10.68 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2253/1.722, allocations: 29.08 MB / 0.8754 GB, free: 107.6 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=5058): time 5.901e-06/1.722, allocations: 0 / 0.8754 GB, free: 107.6 MB / 0.4949 GB Notification: Performance of matching and sorting (n=5065): time 9.411/11.13, allocations: 2.92 GB / 3.796 GB, free: 1.559 MB / 1.854 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004205/11.14, allocations: 7.356 MB / 3.803 GB, free: 10.44 MB / 1.87 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003479/11.14, allocations: 2.371 MB / 3.805 GB, free: 8.059 MB / 1.87 GB Notification: Performance of collectPreVariables (initialization): time 0.00465/11.15, allocations: 3.948 MB / 3.809 GB, free: 4.094 MB / 1.87 GB Notification: Performance of collectInitialEqns (initialization): time 0.001547/11.15, allocations: 1.739 MB / 3.811 GB, free: 2.535 MB / 1.87 GB Notification: Performance of collectInitialBindings (initialization): time 0.0189/11.17, allocations: 21.64 MB / 3.832 GB, free: 13.19 MB / 1.901 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004501/11.17, allocations: 1.515 MB / 3.833 GB, free: 11.68 MB / 1.901 GB Notification: Performance of setup shared object (initialization): time 0.003689/11.17, allocations: 3.505 MB / 3.837 GB, free: 8.16 MB / 1.901 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04024/11.22, allocations: 26.85 MB / 3.863 GB, free: 13.29 MB / 1.932 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06018/11.28, allocations: 58.44 MB / 3.92 GB, free: 5.43 MB / 1.995 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05408/11.33, allocations: 38.47 MB / 3.958 GB, free: 140 kB / 2.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001191/11.33, allocations: 304 kB / 3.958 GB, free: 15.84 MB / 2.042 GB Notification: Performance of matching and sorting (n=9915) (initialization): time 0.1455/11.48, allocations: 87.7 MB / 4.043 GB, free: 8.027 MB / 2.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007695/11.48, allocations: 485.7 kB / 4.044 GB, free: 7.547 MB / 2.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001665/11.48, allocations: 1.031 MB / 4.045 GB, free: 6.516 MB / 2.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005319/11.48, allocations: 3.029 MB / 4.048 GB, free: 3.465 MB / 2.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03291/11.52, allocations: 10.72 MB / 4.058 GB, free: 8.723 MB / 2.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02459/11.54, allocations: 26.02 MB / 4.084 GB, free: 13.43 MB / 2.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03111/11.57, allocations: 2.492 MB / 4.086 GB, free: 10.94 MB / 2.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008604/11.58, allocations: 3.604 MB / 4.09 GB, free: 7.34 MB / 2.167 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.02465/11.61, allocations: 15.08 MB / 4.104 GB, free: 8.199 MB / 2.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004465/11.61, allocations: 2.346 MB / 4.107 GB, free: 5.836 MB / 2.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45/18.06, allocations: 8.84 GB / 12.95 GB, free: 1.685 GB / 2.432 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/18.06, allocations: 25.91 kB / 12.95 GB, free: 1.685 GB / 2.432 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/18.06, allocations: 8 kB / 12.95 GB, free: 1.685 GB / 2.432 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.262e-05/18.06, allocations: 11.95 kB / 12.95 GB, free: 1.685 GB / 2.432 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.147/24.21, allocations: 8.865 GB / 21.81 GB, free: 1.021 GB / 2.432 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/24.21, allocations: 0 / 21.81 GB, free: 1.021 GB / 2.432 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/24.21, allocations: 298.7 kB / 21.81 GB, free: 1.02 GB / 2.432 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002817/24.21, allocations: 1.385 MB / 21.81 GB, free: 1.019 GB / 2.432 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004131/24.22, allocations: 0.8003 MB / 21.81 GB, free: 1.018 GB / 2.432 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01722/24.23, allocations: 23.64 MB / 21.84 GB, free: 0.9943 GB / 2.432 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/24.23, allocations: 4.031 kB / 21.84 GB, free: 0.9943 GB / 2.432 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.512/30.74, allocations: 8.892 GB / 30.73 GB, free: 317.1 MB / 2.433 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0156/30.76, allocations: 6.344 MB / 30.74 GB, free: 311.7 MB / 2.433 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002412/30.76, allocations: 0.6518 MB / 30.74 GB, free: 311 MB / 2.433 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005542/30.77, allocations: 0.7169 MB / 30.74 GB, free: 310.3 MB / 2.433 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001585/30.77, allocations: 0.6566 MB / 30.74 GB, free: 309.6 MB / 2.433 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001612/30.77, allocations: 1.242 MB / 30.74 GB, free: 308.4 MB / 2.433 GB Notification: Performance of sorting global known variables: time 0.002172/30.77, allocations: 1.855 MB / 30.74 GB, free: 306.5 MB / 2.433 GB Notification: Performance of sort global known variables: time 2e-07/30.77, allocations: 0 / 30.74 GB, free: 306.5 MB / 2.433 GB Notification: Performance of remove unused functions: time 0.03724/30.81, allocations: 9.992 MB / 30.75 GB, free: 296.6 MB / 2.433 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.003742/30.81, allocations: 1.048 MB / 30.75 GB, free: 295.7 MB / 2.433 GB Notification: Performance of simCode: created initialization part: time 0.09357/30.91, allocations: 84.25 MB / 30.83 GB, free: 212.8 MB / 2.433 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/30.91, allocations: 3.062 kB / 30.83 GB, free: 212.8 MB / 2.433 GB Notification: Performance of simCode: created simulation system equations: time 40.9/71.81, allocations: 28.63 GB / 59.47 GB, free: 481.2 MB / 3.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008327/71.81, allocations: 1.483 MB / 59.47 GB, free: 479.8 MB / 3.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08586/71.9, allocations: 81.4 MB / 59.55 GB, free: 399.3 MB / 3.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008305/71.91, allocations: 10.28 MB / 59.56 GB, free: 389 MB / 3.198 GB Notification: Performance of simCode: alias equations: time 0.007586/71.92, allocations: 4.36 MB / 59.56 GB, free: 384.7 MB / 3.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003632/71.92, allocations: 1.331 MB / 59.56 GB, free: 383.4 MB / 3.198 GB Notification: Performance of SimCode: time 7.51e-07/71.92, allocations: 0 / 59.56 GB, free: 383.4 MB / 3.198 GB Notification: Performance of Templates: time 0.3553/72.27, allocations: 289.2 MB / 59.85 GB, free: 97.03 MB / 3.198 GB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches