Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Rectifier12pulseFFT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier12pulseFFT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001216, allocations: 97.53 kB / 16.95 MB, free: 6.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 176.7 kB / 17.84 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.4 MB / 224 MB, free: 13.05 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005632/0.0005634, allocations: 12 kB / 280.8 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1508, allocations: 47.57 MB / 328.3 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier12pulseFFT): time 0.0155/0.1664, allocations: 9.576 MB / 337.9 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.1783, allocations: 3.687 MB / 341.6 MB, free: 6.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005141/0.1835, allocations: 63.62 kB / 341.7 MB, free: 6.707 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00514/0.1887, allocations: 0.6252 MB / 342.3 MB, free: 6.078 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00765/0.1964, allocations: 1.6 MB / 343.9 MB, free: 4.473 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002728/0.1992, allocations: 487.2 kB / 344.4 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.009008/0.2082, allocations: 5.647 MB / 350 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004528/0.2128, allocations: 2.886 MB / 352.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004479/0.2173, allocations: 2.204 MB / 355.1 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00624/0.2236, allocations: 2.839 MB / 357.9 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001267/0.2249, allocations: 284 kB / 358.2 MB, free: 6.055 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002763/0.2277, allocations: 0.5464 MB / 358.8 MB, free: 5.508 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004434/0.2321, allocations: 4.88 MB / 363.6 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003966/0.2361, allocations: 2.559 MB / 366.2 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01631/0.2524, allocations: 12.69 MB / 378.9 MB, free: 1.312 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.2525, allocations: 0 / 378.9 MB, free: 1.312 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.2525, allocations: 4 kB / 378.9 MB, free: 1.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0007241/0.2532, allocations: 0 / 378.9 MB, free: 1.309 MB / 318.1 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.4547/0.7079, allocations: 16.88 MB / 395.8 MB, free: 26.58 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.708, allocations: 6.969 kB / 395.8 MB, free: 26.58 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005835/0.7138, allocations: 1.725 MB / 397.5 MB, free: 25.58 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/0.7241, allocations: 3.927 MB / 401.4 MB, free: 24 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004203/0.7245, allocations: 298 kB / 401.7 MB, free: 23.83 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001744/0.7263, allocations: 388.6 kB / 402.1 MB, free: 23.58 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05365/0.78, allocations: 29.55 MB / 431.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003064/0.7804, allocations: 7.562 kB / 431.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002185/0.7826, allocations: 162.7 kB / 431.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004552/0.7831, allocations: 204 kB / 432 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04664/0.8297, allocations: 26.69 MB / 458.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0521/0.8819, allocations: 22.27 MB / 481 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3494/1.231, allocations: 86.12 MB / 0.5538 GB, free: 113.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.05602/1.287, allocations: 81.67 MB / 0.6336 GB, free: 49.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005802/1.288, allocations: 132.7 kB / 0.6337 GB, free: 49.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03467/1.323, allocations: 30.62 MB / 0.6636 GB, free: 19.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5058): time 1.053e-05/1.323, allocations: 0 / 0.6636 GB, free: 19.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=5065): time 14.19/15.51, allocations: 2.902 GB / 3.566 GB, free: 7.105 MB / 1.811 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005816/15.52, allocations: 7.362 MB / 3.573 GB, free: 15.62 MB / 1.826 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004501/15.52, allocations: 2.633 MB / 3.575 GB, free: 12.96 MB / 1.826 GB Notification: Performance of collectPreVariables (initialization): time 0.006161/15.53, allocations: 3.952 MB / 3.579 GB, free: 8.996 MB / 1.826 GB Notification: Performance of collectInitialEqns (initialization): time 0.002478/15.53, allocations: 1.741 MB / 3.581 GB, free: 7.234 MB / 1.826 GB Notification: Performance of collectInitialBindings (initialization): time 0.03406/15.56, allocations: 21.64 MB / 3.602 GB, free: 1.309 MB / 1.842 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006015/15.57, allocations: 1.511 MB / 3.604 GB, free: 15.8 MB / 1.858 GB Notification: Performance of setup shared object (initialization): time 0.006839/15.58, allocations: 3.508 MB / 3.607 GB, free: 12.28 MB / 1.858 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06472/15.64, allocations: 26.84 MB / 3.633 GB, free: 1.41 MB / 1.873 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.09029/15.73, allocations: 58.75 MB / 3.691 GB, free: 7.902 MB / 1.951 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06623/15.8, allocations: 38.48 MB / 3.728 GB, free: 1.359 MB / 1.983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002248/15.8, allocations: 303.9 kB / 3.729 GB, free: 1.062 MB / 1.983 GB Notification: Performance of matching and sorting (n=9917) (initialization): time 0.1947/16, allocations: 87.7 MB / 3.814 GB, free: 9.25 MB / 2.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.003263/16, allocations: 492.5 kB / 3.815 GB, free: 8.766 MB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004394/16, allocations: 1.031 MB / 3.816 GB, free: 7.734 MB / 2.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01197/16.02, allocations: 3.264 MB / 3.819 GB, free: 4.453 MB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04633/16.06, allocations: 10.72 MB / 3.829 GB, free: 9.703 MB / 2.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03348/16.1, allocations: 25.59 MB / 3.854 GB, free: 14.79 MB / 2.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04126/16.14, allocations: 2.496 MB / 3.857 GB, free: 12.29 MB / 2.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01424/16.15, allocations: 3.598 MB / 3.86 GB, free: 8.691 MB / 2.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4834 * 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 (9811): * Single equations (assignments): 9800 * 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.04614/16.2, allocations: 15.08 MB / 3.875 GB, free: 9.543 MB / 2.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006856/16.2, allocations: 2.346 MB / 3.877 GB, free: 7.176 MB / 2.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.836/25.04, allocations: 8.843 GB / 12.72 GB, free: 1.638 GB / 2.389 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.418e-05/25.04, allocations: 24.75 kB / 12.72 GB, free: 1.638 GB / 2.389 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-05/25.04, allocations: 8 kB / 12.72 GB, free: 1.638 GB / 2.389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.47e-05/25.04, allocations: 11.95 kB / 12.72 GB, free: 1.638 GB / 2.389 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.596/33.64, allocations: 8.865 GB / 21.59 GB, free: 0.9366 GB / 2.389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.718e-05/33.64, allocations: 4 kB / 21.59 GB, free: 0.9366 GB / 2.389 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/33.64, allocations: 283.6 kB / 21.59 GB, free: 0.9364 GB / 2.389 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004708/33.64, allocations: 1.625 MB / 21.59 GB, free: 0.9348 GB / 2.389 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002899/33.65, allocations: 0.6445 MB / 21.59 GB, free: 0.9342 GB / 2.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01912/33.66, allocations: 23.22 MB / 21.61 GB, free: 0.9105 GB / 2.389 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/33.66, allocations: 3.953 kB / 21.61 GB, free: 0.9105 GB / 2.389 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.022/41.69, allocations: 8.897 GB / 30.51 GB, free: 188.5 MB / 2.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01927/41.71, allocations: 5.088 MB / 30.51 GB, free: 184.3 MB / 2.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006048/41.71, allocations: 0.6516 MB / 30.51 GB, free: 183.7 MB / 2.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01225/41.72, allocations: 0.7211 MB / 30.51 GB, free: 182.9 MB / 2.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01016/41.73, allocations: 0.6562 MB / 30.52 GB, free: 182.3 MB / 2.389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00368/41.74, allocations: 0.6523 MB / 30.52 GB, free: 181.7 MB / 2.389 GB Notification: Performance of sorting global known variables: time 0.004058/41.74, allocations: 1.841 MB / 30.52 GB, free: 179.8 MB / 2.389 GB Notification: Performance of sort global known variables: time 8.21e-07/41.74, allocations: 0 / 30.52 GB, free: 179.8 MB / 2.389 GB Notification: Performance of remove unused functions: time 0.06194/41.8, allocations: 9.961 MB / 30.53 GB, free: 169.9 MB / 2.389 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.006321/41.81, allocations: 0.9943 MB / 30.53 GB, free: 168.9 MB / 2.389 GB Notification: Performance of simCode: created initialization part: time 0.155/41.97, allocations: 84.2 MB / 30.61 GB, free: 85.06 MB / 2.389 GB Notification: Performance of simCode: created event and clocks part: time 1.791e-05/41.97, allocations: 0.9375 kB / 30.61 GB, free: 85.06 MB / 2.389 GB Notification: Performance of simCode: created simulation system equations: time 59.77/101.7, allocations: 28.59 GB / 59.2 GB, free: 0.6168 GB / 2.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02585/101.8, allocations: 2.104 MB / 59.2 GB, free: 0.6149 GB / 2.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1246/101.9, allocations: 65 MB / 59.27 GB, free: 0.5517 GB / 2.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02502/101.9, allocations: 9.984 MB / 59.28 GB, free: 0.5419 GB / 2.67 GB Notification: Performance of simCode: alias equations: time 0.01413/101.9, allocations: 4.363 MB / 59.28 GB, free: 0.5376 GB / 2.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008363/101.9, allocations: 1.339 MB / 59.28 GB, free: 0.5363 GB / 2.67 GB Notification: Performance of SimCode: time 1.753e-06/101.9, allocations: 0 / 59.28 GB, free: 0.5363 GB / 2.67 GB Notification: Performance of Templates: time 0.4511/102.4, allocations: 287.4 MB / 59.56 GB, free: 262.2 MB / 2.67 GB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Rectifier12pulseFFT/Rectifier12pulseFFT.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches