Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Rectifier6pulseFFT,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.Rectifier6pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier6pulseFFT,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.Rectifier6pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001277/0.001277, allocations: 172.3 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007907/0.0007907, allocations: 98.56 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.158e-05/3.16e-05, allocations: 8 kB / 322.4 MB, free: 17.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09378/0.09382, allocations: 47.57 MB / 370 MB, free: 1.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.345/0.4388, allocations: 93.13 MB / 463.1 MB, free: 328 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.4392, allocations: 74.28 kB / 463.2 MB, free: 292 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9555/1.395, allocations: 114.2 MB / 0.5639 GB, free: 80.94 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.874e-06/1.395, allocations: 0 / 0.5639 GB, free: 80.94 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0003922/1.395, allocations: 215.5 kB / 0.5641 GB, free: 80.93 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5386 * Number of variables: 5386 Notification: Performance of Generate backend data structure: time 0.0292/1.424, allocations: 14.27 MB / 0.578 GB, free: 76.36 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/1.424, allocations: 10.16 kB / 0.578 GB, free: 76.36 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005033/1.429, allocations: 1.481 MB / 0.5795 GB, free: 75.47 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02233/1.452, allocations: 7.635 MB / 0.5869 GB, free: 73.71 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/1.452, allocations: 164.2 kB / 0.5871 GB, free: 73.71 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001432/1.453, allocations: 220.3 kB / 0.5873 GB, free: 73.71 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04466/1.498, allocations: 25.22 MB / 0.6119 GB, free: 60.64 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.898e-05/1.498, allocations: 3.625 kB / 0.6119 GB, free: 60.64 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008264/1.499, allocations: 95.19 kB / 0.612 GB, free: 60.55 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001388/1.499, allocations: 115.1 kB / 0.6121 GB, free: 60.45 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03497/1.534, allocations: 21.96 MB / 0.6336 GB, free: 40.03 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04982/1.584, allocations: 21.19 MB / 0.6543 GB, free: 21.77 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3837/1.968, allocations: 80.07 MB / 0.7325 GB, free: 63.45 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.09406/2.062, allocations: 78.1 MB / 0.8087 GB, free: 0.5312 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004434/2.062, allocations: 139 kB / 0.8089 GB, free: 448 kB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06665/2.129, allocations: 28.16 MB / 0.8364 GB, free: 3.66 MB / 442.8 MB Notification: Performance of pre-optimization done (n=4937): time 1.599e-05/2.129, allocations: 0 / 0.8364 GB, free: 3.66 MB / 442.8 MB Notification: Performance of matching and sorting (n=4941): time 11.89/14.02, allocations: 2.184 GB / 3.021 GB, free: 6.441 MB / 1.776 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007258/14.03, allocations: 7.189 MB / 3.028 GB, free: 15.52 MB / 1.792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003245/14.03, allocations: 1.341 MB / 3.029 GB, free: 14.17 MB / 1.792 GB Notification: Performance of collectPreVariables (initialization): time 0.007459/14.04, allocations: 3.928 MB / 3.033 GB, free: 10.23 MB / 1.792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002202/14.04, allocations: 1.034 MB / 3.034 GB, free: 9.297 MB / 1.792 GB Notification: Performance of collectInitialBindings (initialization): time 0.02613/14.07, allocations: 21.23 MB / 3.055 GB, free: 4.191 MB / 1.807 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005688/14.07, allocations: 1.492 MB / 3.056 GB, free: 2.699 MB / 1.807 GB Notification: Performance of setup shared object (initialization): time 0.006901/14.08, allocations: 3.455 MB / 3.059 GB, free: 15.24 MB / 1.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04884/14.13, allocations: 25.66 MB / 3.084 GB, free: 5.562 MB / 1.839 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07905/14.21, allocations: 57.05 MB / 3.14 GB, free: 15.01 MB / 1.917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06003/14.27, allocations: 37.46 MB / 3.177 GB, free: 9.945 MB / 1.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002096/14.27, allocations: 300 kB / 3.177 GB, free: 9.652 MB / 1.948 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.1764/14.45, allocations: 84.45 MB / 3.26 GB, free: 5.152 MB / 2.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.001507/14.45, allocations: 481.7 kB / 3.26 GB, free: 4.676 MB / 2.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002443/14.45, allocations: 1.033 MB / 3.261 GB, free: 3.645 MB / 2.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004651/14.46, allocations: 2.322 MB / 3.263 GB, free: 1.316 MB / 2.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03905/14.5, allocations: 10.54 MB / 3.274 GB, free: 6.754 MB / 2.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01483/14.51, allocations: 12.61 MB / 3.286 GB, free: 9.633 MB / 2.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03654/14.55, allocations: 2.425 MB / 3.288 GB, free: 7.211 MB / 2.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01244/14.56, allocations: 3.566 MB / 3.292 GB, free: 3.645 MB / 2.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4821 * Number of states: 0 () * Number of discrete variables: 18 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9716): * Single equations (assignments): 9711 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.02718/14.59, allocations: 10.98 MB / 3.302 GB, free: 8.602 MB / 2.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008736/14.6, allocations: 2.221 MB / 3.305 GB, free: 6.367 MB / 2.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.078/22.67, allocations: 8.837 GB / 12.14 GB, free: 448.3 MB / 2.542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/22.67, allocations: 12 kB / 12.14 GB, free: 448.3 MB / 2.542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/22.67, allocations: 8.469 kB / 12.14 GB, free: 448.3 MB / 2.542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.579e-05/22.67, allocations: 9.094 kB / 12.14 GB, free: 448.3 MB / 2.542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.679/31.35, allocations: 8.86 GB / 21 GB, free: 375.7 MB / 2.542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.733e-05/31.35, allocations: 7.031 kB / 21 GB, free: 375.7 MB / 2.542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009187/31.35, allocations: 159.7 kB / 21 GB, free: 375.6 MB / 2.542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001828/31.36, allocations: 0.6921 MB / 21 GB, free: 374.9 MB / 2.542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007425/31.36, allocations: 0.7695 MB / 21 GB, free: 374.1 MB / 2.542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009156/31.37, allocations: 10.37 MB / 21.01 GB, free: 363.4 MB / 2.542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/31.37, allocations: 4.031 kB / 21.01 GB, free: 363.4 MB / 2.542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.364/39.74, allocations: 8.889 GB / 29.9 GB, free: 262.8 MB / 2.542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02355/39.76, allocations: 6.051 MB / 29.91 GB, free: 257.6 MB / 2.542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007154/39.77, allocations: 0.6208 MB / 29.91 GB, free: 256.9 MB / 2.542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01283/39.78, allocations: 0.6657 MB / 29.91 GB, free: 256.3 MB / 2.542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00513/39.78, allocations: 0.5627 MB / 29.91 GB, free: 255.7 MB / 2.542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005031/39.79, allocations: 1.211 MB / 29.91 GB, free: 254.5 MB / 2.542 GB Notification: Performance of sorting global known variables: time 0.001644/39.79, allocations: 1.046 MB / 29.91 GB, free: 253.5 MB / 2.542 GB Notification: Performance of sort global known variables: time 3e-07/39.79, allocations: 1.969 kB / 29.91 GB, free: 253.5 MB / 2.542 GB Notification: Performance of remove unused functions: time 0.04929/39.84, allocations: 9.546 MB / 29.92 GB, free: 243.9 MB / 2.542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 14 (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,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 (83): * Single equations (assignments): 77 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.006104/39.85, allocations: 0.9872 MB / 29.92 GB, free: 243.1 MB / 2.542 GB Notification: Performance of simCode: created initialization part: time 0.124/39.97, allocations: 80.93 MB / 30 GB, free: 162.9 MB / 2.542 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/39.97, allocations: 5.25 kB / 30 GB, free: 162.9 MB / 2.542 GB Notification: Performance of simCode: created simulation system equations: time 52.84/92.81, allocations: 28.61 GB / 58.61 GB, free: 1.001 GB / 2.776 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01311/92.82, allocations: 1.06 MB / 58.61 GB, free: 1 GB / 2.776 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09718/92.92, allocations: 50.47 MB / 58.66 GB, free: 0.951 GB / 2.776 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0166/92.93, allocations: 9.127 MB / 58.67 GB, free: 0.9421 GB / 2.776 GB Notification: Performance of simCode: alias equations: time 0.01103/92.95, allocations: 4.08 MB / 58.67 GB, free: 0.9381 GB / 2.776 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009278/92.96, allocations: 1.277 MB / 58.67 GB, free: 0.9368 GB / 2.776 GB Notification: Performance of SimCode: time 1.383e-06/92.96, allocations: 0 / 58.67 GB, free: 0.9368 GB / 2.776 GB Notification: Performance of Templates: time 0.4797/93.43, allocations: 261.7 MB / 58.93 GB, free: 0.6829 GB / 2.776 GB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Rectifier6pulseFFT/Rectifier6pulseFFT.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches