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.001586/0.001586, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 225.6 MB / 234.8 MB, free: 3.242 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00102/0.00102, allocations: 93.67 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.452e-05/1.457e-05, allocations: 4 kB / 343.7 MB, free: 8.258 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.09627, allocations: 51.48 MB / 395.2 MB, free: 4.738 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3192/0.4155, allocations: 95.69 MB / 490.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/0.4157, allocations: 73.88 kB / 490.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.063/1.479, allocations: 165.9 MB / 0.6414 GB, free: 58.5 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.244e-06/1.479, allocations: 0 / 0.6414 GB, free: 58.5 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.000907/1.48, allocations: 259.7 kB / 0.6417 GB, free: 58.48 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.03412/1.514, allocations: 15.87 MB / 0.6572 GB, free: 53.19 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/1.514, allocations: 6.562 kB / 0.6572 GB, free: 53.19 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006564/1.521, allocations: 1.771 MB / 0.6589 GB, free: 52.19 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02043/1.541, allocations: 8.808 MB / 0.6675 GB, free: 48.41 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003145/1.542, allocations: 131.1 kB / 0.6676 GB, free: 48.41 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003037/1.545, allocations: 235.8 kB / 0.6679 GB, free: 48.4 MB / 442.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.039/1.584, allocations: 23.75 MB / 0.691 GB, free: 36.68 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04256/1.626, allocations: 27.14 MB / 0.7176 GB, free: 15.58 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001119/1.626, allocations: 4 kB / 0.7176 GB, free: 15.57 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001485/1.628, allocations: 4 kB / 0.7176 GB, free: 15.57 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001859/1.628, allocations: 212.8 kB / 0.7178 GB, free: 15.38 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05193/1.68, allocations: 25.86 MB / 0.743 GB, free: 7.715 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3519/2.032, allocations: 83.36 MB / 0.8244 GB, free: 16.67 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.08349/2.116, allocations: 80.03 MB / 0.9026 GB, free: 4.648 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004594/2.116, allocations: 154.5 kB / 0.9027 GB, free: 4.551 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04288/2.159, allocations: 28.88 MB / 0.9309 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5058): time 6.863e-06/2.159, allocations: 0 / 0.9309 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5065): time 9.011/11.17, allocations: 2.18 GB / 3.111 GB, free: 1.562 GB / 1.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003986/11.17, allocations: 7.363 MB / 3.118 GB, free: 1.56 GB / 1.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002634/11.18, allocations: 1.825 MB / 3.12 GB, free: 1.56 GB / 1.948 GB Notification: Performance of collectPreVariables (initialization): time 0.004509/11.18, allocations: 3.174 MB / 3.123 GB, free: 1.559 GB / 1.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001277/11.18, allocations: 1.754 MB / 3.124 GB, free: 1.558 GB / 1.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.01484/11.2, allocations: 21.24 MB / 3.145 GB, free: 1.542 GB / 1.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003651/11.2, allocations: 0 / 3.145 GB, free: 1.542 GB / 1.948 GB Notification: Performance of setup shared object (initialization): time 0.002886/11.2, allocations: 3.505 MB / 3.149 GB, free: 1.54 GB / 1.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03083/11.23, allocations: 24.77 MB / 3.173 GB, free: 1.532 GB / 1.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04896/11.28, allocations: 55.9 MB / 3.227 GB, free: 1.48 GB / 1.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04252/11.33, allocations: 36.37 MB / 3.263 GB, free: 1.452 GB / 1.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001636/11.33, allocations: 300 kB / 3.263 GB, free: 1.452 GB / 1.948 GB Notification: Performance of matching and sorting (n=9915) (initialization): time 0.1148/11.44, allocations: 77.46 MB / 3.339 GB, free: 1.382 GB / 1.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001743/11.44, allocations: 485.7 kB / 3.339 GB, free: 1.381 GB / 1.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001756/11.45, allocations: 1.031 MB / 3.34 GB, free: 1.38 GB / 1.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004217/11.45, allocations: 2.988 MB / 3.343 GB, free: 1.377 GB / 1.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03094/11.48, allocations: 10.73 MB / 3.354 GB, free: 1.367 GB / 1.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01728/11.5, allocations: 24.68 MB / 3.378 GB, free: 1.341 GB / 1.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02754/11.53, allocations: 0.9765 MB / 3.379 GB, free: 1.34 GB / 1.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008841/11.54, allocations: 3.602 MB / 3.382 GB, free: 1.337 GB / 1.948 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.01938/11.55, allocations: 9.487 MB / 3.391 GB, free: 1.328 GB / 1.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005147/11.56, allocations: 2.319 MB / 3.394 GB, free: 1.325 GB / 1.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5611/12.12, allocations: 78.11 MB / 3.47 GB, free: 1.249 GB / 1.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/12.12, allocations: 28 kB / 3.47 GB, free: 1.249 GB / 1.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/12.12, allocations: 11.95 kB / 3.47 GB, free: 1.249 GB / 1.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-05/12.12, allocations: 17.64 kB / 3.47 GB, free: 1.249 GB / 1.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5931/12.71, allocations: 101.1 MB / 3.569 GB, free: 1.15 GB / 1.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.076e-06/12.71, allocations: 4 kB / 3.569 GB, free: 1.15 GB / 1.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/12.72, allocations: 299.6 kB / 3.569 GB, free: 1.15 GB / 1.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002536/12.72, allocations: 1.344 MB / 3.57 GB, free: 1.148 GB / 1.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003067/12.72, allocations: 0.7617 MB / 3.571 GB, free: 1.148 GB / 1.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01449/12.74, allocations: 22.39 MB / 3.593 GB, free: 1.125 GB / 1.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/12.74, allocations: 0 / 3.593 GB, free: 1.125 GB / 1.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6397/13.38, allocations: 130.6 MB / 3.721 GB, free: 0.997 GB / 1.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01356/13.39, allocations: 6.286 MB / 3.727 GB, free: 0.9909 GB / 1.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00407/13.39, allocations: 0.6055 MB / 3.727 GB, free: 0.9903 GB / 1.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007071/13.4, allocations: 0.6796 MB / 3.728 GB, free: 0.9896 GB / 1.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002666/13.4, allocations: 0.6617 MB / 3.729 GB, free: 0.9889 GB / 1.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001885/13.4, allocations: 1.246 MB / 3.73 GB, free: 0.9877 GB / 1.948 GB Notification: Performance of sorting global known variables: time 0.001709/13.41, allocations: 1.399 MB / 3.731 GB, free: 0.9863 GB / 1.948 GB Notification: Performance of sort global known variables: time 1.4e-07/13.41, allocations: 0 / 3.731 GB, free: 0.9863 GB / 1.948 GB Notification: Performance of remove unused functions: time 0.03524/13.44, allocations: 8.409 MB / 3.739 GB, free: 0.9782 GB / 1.948 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.002145/13.44, allocations: 1.021 MB / 3.74 GB, free: 0.9773 GB / 1.948 GB Notification: Performance of simCode: created initialization part: time 0.07433/13.52, allocations: 79.37 MB / 3.818 GB, free: 0.8999 GB / 1.948 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/13.52, allocations: 0 / 3.818 GB, free: 0.8999 GB / 1.948 GB Notification: Performance of simCode: created simulation system equations: time 36.37/49.88, allocations: 28.62 GB / 32.44 GB, free: 1.521 GB / 2.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006545/49.89, allocations: 1.212 MB / 32.44 GB, free: 1.52 GB / 2.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06434/49.95, allocations: 69.62 MB / 32.51 GB, free: 1.452 GB / 2.401 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007135/49.96, allocations: 10.28 MB / 32.52 GB, free: 1.442 GB / 2.401 GB Notification: Performance of simCode: alias equations: time 0.007976/49.97, allocations: 4.298 MB / 32.52 GB, free: 1.438 GB / 2.401 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002887/49.97, allocations: 1.316 MB / 32.52 GB, free: 1.437 GB / 2.401 GB Notification: Performance of SimCode: time 5.71e-07/49.97, allocations: 0 / 32.52 GB, free: 1.437 GB / 2.401 GB Notification: Performance of Templates: time 0.3049/50.28, allocations: 265.7 MB / 32.78 GB, free: 1.18 GB / 2.401 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