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.001907/0.001907, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008281/0.0008282, allocations: 88.2 kB / 292.1 MB, free: 5.941 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.255e-05, allocations: 4 kB / 350.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0978/0.09785, allocations: 51.48 MB / 402 MB, free: 15.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3332/0.4311, allocations: 96.37 MB / 498.4 MB, free: 9.238 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001733/0.4313, allocations: 73.3 kB / 498.5 MB, free: 9.203 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.147/1.578, allocations: 167.6 MB / 0.6505 GB, free: 61.93 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.044e-06/1.578, allocations: 3.25 kB / 0.6505 GB, free: 61.93 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.0008391/1.579, allocations: 265.2 kB / 0.6507 GB, free: 61.9 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: 5853 * Number of variables: 5853 Notification: Performance of Generate backend data structure: time 0.03185/1.611, allocations: 15.86 MB / 0.6662 GB, free: 55.14 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/1.611, allocations: 9.312 kB / 0.6662 GB, free: 55.14 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007853/1.619, allocations: 1.774 MB / 0.668 GB, free: 54.14 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0233/1.642, allocations: 8.824 MB / 0.6766 GB, free: 50.41 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005734/1.643, allocations: 294.8 kB / 0.6769 GB, free: 50.28 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003664/1.647, allocations: 387.9 kB / 0.6772 GB, free: 50.16 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04218/1.689, allocations: 27.72 MB / 0.7043 GB, free: 29.16 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001463/1.689, allocations: 0 / 0.7043 GB, free: 29.16 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002025/1.691, allocations: 175.2 kB / 0.7045 GB, free: 29 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001982/1.691, allocations: 208 kB / 0.7047 GB, free: 28.79 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03631/1.728, allocations: 24.01 MB / 0.7281 GB, free: 4.762 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4089/2.137, allocations: 28.7 MB / 0.7561 GB, free: 70.01 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0609/2.197, allocations: 83.48 MB / 0.8377 GB, free: 12.66 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0842/2.282, allocations: 80.31 MB / 0.9161 GB, free: 0.8398 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004624/2.282, allocations: 151.4 kB / 0.9162 GB, free: 0.7383 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04932/2.332, allocations: 28.96 MB / 0.9445 GB, free: 3.637 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5058): time 1.674e-05/2.332, allocations: 0 / 0.9445 GB, free: 3.637 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5065): time 9.893/12.22, allocations: 2.19 GB / 3.134 GB, free: 196.9 MB / 1.932 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002805/12.23, allocations: 7.359 MB / 3.142 GB, free: 189.8 MB / 1.932 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00297/12.23, allocations: 2.342 MB / 3.144 GB, free: 187.4 MB / 1.932 GB Notification: Performance of collectPreVariables (initialization): time 0.003641/12.23, allocations: 3.948 MB / 3.148 GB, free: 183.5 MB / 1.932 GB Notification: Performance of collectInitialEqns (initialization): time 0.001138/12.24, allocations: 1.743 MB / 3.149 GB, free: 181.7 MB / 1.932 GB Notification: Performance of collectInitialBindings (initialization): time 0.01371/12.25, allocations: 21.63 MB / 3.171 GB, free: 160.2 MB / 1.932 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004122/12.25, allocations: 1.516 MB / 3.172 GB, free: 158.7 MB / 1.932 GB Notification: Performance of setup shared object (initialization): time 0.003682/12.26, allocations: 3.503 MB / 3.175 GB, free: 155.1 MB / 1.932 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03642/12.29, allocations: 26.27 MB / 3.201 GB, free: 128.8 MB / 1.932 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05182/12.35, allocations: 57.88 MB / 3.258 GB, free: 57.55 MB / 1.932 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04509/12.39, allocations: 38.21 MB / 3.295 GB, free: 19.89 MB / 1.932 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001399/12.39, allocations: 304 kB / 3.295 GB, free: 19.59 MB / 1.932 GB Notification: Performance of matching and sorting (n=9915) (initialization): time 0.1376/12.53, allocations: 86.56 MB / 3.38 GB, free: 12.92 MB / 2.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001694/12.53, allocations: 481.7 kB / 3.38 GB, free: 12.45 MB / 2.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001762/12.53, allocations: 1.035 MB / 3.381 GB, free: 11.41 MB / 2.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005168/12.54, allocations: 3.013 MB / 3.384 GB, free: 8.375 MB / 2.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03562/12.57, allocations: 10.72 MB / 3.395 GB, free: 13.62 MB / 2.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02453/12.6, allocations: 25.53 MB / 3.42 GB, free: 2.816 MB / 2.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.027/12.63, allocations: 2.488 MB / 3.422 GB, free: 336 kB / 2.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007341/12.63, allocations: 3.598 MB / 3.425 GB, free: 12.73 MB / 2.057 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.01655/12.65, allocations: 11.05 MB / 3.436 GB, free: 1.625 MB / 2.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004304/12.65, allocations: 2.354 MB / 3.439 GB, free: 15.25 MB / 2.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.079/18.73, allocations: 8.839 GB / 12.28 GB, free: 1.49 GB / 2.776 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/18.73, allocations: 24 kB / 12.28 GB, free: 1.49 GB / 2.776 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/18.73, allocations: 8 kB / 12.28 GB, free: 1.49 GB / 2.776 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.849e-05/18.73, allocations: 13.58 kB / 12.28 GB, free: 1.49 GB / 2.776 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.801/24.53, allocations: 8.864 GB / 21.14 GB, free: 2.219 GB / 2.776 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/24.53, allocations: 3.172 kB / 21.14 GB, free: 2.219 GB / 2.776 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/24.54, allocations: 296.9 kB / 21.14 GB, free: 2.219 GB / 2.776 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002595/24.54, allocations: 1.38 MB / 21.14 GB, free: 2.218 GB / 2.776 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001633/24.54, allocations: 0.7995 MB / 21.14 GB, free: 2.217 GB / 2.776 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0153/24.55, allocations: 23.17 MB / 21.17 GB, free: 2.195 GB / 2.776 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/24.55, allocations: 0 / 21.17 GB, free: 2.195 GB / 2.776 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.595/30.15, allocations: 8.891 GB / 30.06 GB, free: 0.5073 GB / 2.776 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0116/30.16, allocations: 6.339 MB / 30.06 GB, free: 0.5019 GB / 2.776 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002123/30.16, allocations: 0.6484 MB / 30.06 GB, free: 0.5013 GB / 2.776 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005253/30.17, allocations: 0.7189 MB / 30.07 GB, free: 0.5006 GB / 2.776 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001642/30.17, allocations: 0.6531 MB / 30.07 GB, free: 0.4999 GB / 2.776 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001501/30.17, allocations: 1.246 MB / 30.07 GB, free: 0.4987 GB / 2.776 GB Notification: Performance of sorting global known variables: time 0.002066/30.17, allocations: 1.824 MB / 30.07 GB, free: 0.4969 GB / 2.776 GB Notification: Performance of sort global known variables: time 1.3e-07/30.17, allocations: 0 / 30.07 GB, free: 0.4969 GB / 2.776 GB Notification: Performance of remove unused functions: time 0.03245/30.21, allocations: 9.99 MB / 30.08 GB, free: 498.9 MB / 2.776 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.001961/30.21, allocations: 1.038 MB / 30.08 GB, free: 498 MB / 2.776 GB Notification: Performance of simCode: created initialization part: time 0.07686/30.28, allocations: 83.37 MB / 30.16 GB, free: 415.7 MB / 2.776 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/30.29, allocations: 0 / 30.16 GB, free: 415.7 MB / 2.776 GB Notification: Performance of simCode: created simulation system equations: time 32.26/62.55, allocations: 28.62 GB / 58.78 GB, free: 1.751 GB / 2.995 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007656/62.56, allocations: 1.486 MB / 58.78 GB, free: 1.749 GB / 2.995 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05492/62.61, allocations: 53.74 MB / 58.83 GB, free: 1.697 GB / 2.995 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007013/62.62, allocations: 10.28 MB / 58.84 GB, free: 1.687 GB / 2.995 GB Notification: Performance of simCode: alias equations: time 0.006892/62.63, allocations: 4.358 MB / 58.85 GB, free: 1.683 GB / 2.995 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002949/62.63, allocations: 1.331 MB / 58.85 GB, free: 1.682 GB / 2.995 GB Notification: Performance of SimCode: time 6.92e-07/62.63, allocations: 0 / 58.85 GB, free: 1.682 GB / 2.995 GB Notification: Performance of Templates: time 0.3325/62.96, allocations: 289.4 MB / 59.13 GB, free: 1.402 GB / 2.995 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