Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002464/0.002464, allocations: 181.2 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.553/3.553, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.001375/0.001375, allocations: 82.42 kB / 271.9 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006416/0.000642, allocations: 8 kB / 328.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7635/0.7641, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3195/1.084, allocations: 93.4 MB / 469.1 MB, free: 3.223 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005221/1.084, allocations: 79.97 kB / 469.2 MB, free: 3.145 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.574/2.658, allocations: 114 MB / 0.5695 GB, free: 44.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.441e-06/2.658, allocations: 3.562 kB / 0.5695 GB, free: 44.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006382/2.659, allocations: 211.9 kB / 0.5697 GB, free: 44.41 MB / 378.7 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.06104/2.72, allocations: 14.35 MB / 0.5837 GB, free: 29.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.135e-05/2.72, allocations: 12.02 kB / 0.5837 GB, free: 29.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0145/2.735, allocations: 1.484 MB / 0.5852 GB, free: 28.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02635/2.761, allocations: 4.375 MB / 0.5894 GB, free: 24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004515/2.762, allocations: 168.8 kB / 0.5896 GB, free: 23.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007722/2.769, allocations: 220.3 kB / 0.5898 GB, free: 23.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1088/2.878, allocations: 25.36 MB / 0.6146 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002321/2.879, allocations: 7.875 kB / 0.6146 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006498/2.885, allocations: 95.94 kB / 0.6147 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000385/2.886, allocations: 112.5 kB / 0.6148 GB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1121/2.998, allocations: 22.1 MB / 0.6364 GB, free: 7.777 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.045/4.043, allocations: 21.18 MB / 0.6571 GB, free: 79.38 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1629/4.206, allocations: 80.19 MB / 0.7354 GB, free: 20.61 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1989/4.405, allocations: 78.82 MB / 0.8124 GB, free: 2.219 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004807/4.409, allocations: 139.9 kB / 0.8125 GB, free: 2.078 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.7303/5.14, allocations: 28.25 MB / 0.8401 GB, free: 127.9 MB / 458.8 MB Notification: Performance of pre-optimization done (n=4937): time 1.531e-05/5.14, allocations: 2.375 kB / 0.8401 GB, free: 127.9 MB / 458.8 MB Notification: Performance of matching and sorting (n=4941): time 25.13/30.27, allocations: 2.9 GB / 3.74 GB, free: 15.89 MB / 1.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0157/30.28, allocations: 7.194 MB / 3.747 GB, free: 8.973 MB / 1.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01444/30.3, allocations: 1.503 MB / 3.749 GB, free: 7.453 MB / 1.948 GB Notification: Performance of collectPreVariables (initialization): time 0.02057/30.32, allocations: 3.932 MB / 3.752 GB, free: 3.504 MB / 1.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007265/30.33, allocations: 1.035 MB / 3.753 GB, free: 2.457 MB / 1.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.07884/30.41, allocations: 21.22 MB / 3.774 GB, free: 13.33 MB / 1.979 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01232/30.42, allocations: 1.495 MB / 3.776 GB, free: 11.84 MB / 1.979 GB Notification: Performance of setup shared object (initialization): time 0.01729/30.44, allocations: 3.462 MB / 3.779 GB, free: 8.367 MB / 1.979 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033/31.47, allocations: 26.19 MB / 3.805 GB, free: 1.625 GB / 1.979 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1526/31.62, allocations: 57.89 MB / 3.861 GB, free: 1.584 GB / 1.979 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3148/31.94, allocations: 86.39 MB / 3.945 GB, free: 1.5 GB / 1.979 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.005938/31.94, allocations: 303.9 kB / 3.946 GB, free: 1.5 GB / 1.979 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.324/32.27, allocations: 85.53 MB / 4.029 GB, free: 1.419 GB / 1.979 GB Notification: Performance of prepare postOptimizeDAE: time 0.005644/32.27, allocations: 485.7 kB / 4.03 GB, free: 1.419 GB / 1.979 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007004/32.28, allocations: 1.027 MB / 4.031 GB, free: 1.418 GB / 1.979 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01514/32.29, allocations: 2.184 MB / 4.033 GB, free: 1.416 GB / 1.979 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.07492/32.37, allocations: 10.53 MB / 4.043 GB, free: 1.405 GB / 1.979 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02808/32.4, allocations: 12.64 MB / 4.055 GB, free: 1.393 GB / 1.979 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0785/32.48, allocations: 2.426 MB / 4.058 GB, free: 1.39 GB / 1.979 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.02626/32.5, allocations: 3.562 MB / 4.061 GB, free: 1.387 GB / 1.979 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 () * Number of clocked 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.0989/32.6, allocations: 14.49 MB / 4.075 GB, free: 1.373 GB / 1.979 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0219/32.62, allocations: 2.213 MB / 4.078 GB, free: 1.372 GB / 1.979 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 19.52/52.14, allocations: 8.838 GB / 12.92 GB, free: 0.7362 GB / 1.979 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.238e-05/52.14, allocations: 12 kB / 12.92 GB, free: 0.7362 GB / 1.979 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-05/52.14, allocations: 7.562 kB / 12.92 GB, free: 0.7362 GB / 1.979 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.857e-05/52.14, allocations: 11.81 kB / 12.92 GB, free: 0.7362 GB / 1.979 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 20.69/72.83, allocations: 8.861 GB / 21.78 GB, free: 68.63 MB / 1.979 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.131e-05/72.83, allocations: 0 / 21.78 GB, free: 68.63 MB / 1.979 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/72.83, allocations: 167.8 kB / 21.78 GB, free: 68.47 MB / 1.979 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00247/72.83, allocations: 0.6829 MB / 21.78 GB, free: 67.79 MB / 1.979 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.01177/72.84, allocations: 0.773 MB / 21.78 GB, free: 67.02 MB / 1.979 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01996/72.86, allocations: 10.42 MB / 21.79 GB, free: 56.3 MB / 1.979 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/72.86, allocations: 0 / 21.79 GB, free: 56.3 MB / 1.979 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 23.7/96.56, allocations: 8.89 GB / 30.68 GB, free: 0.9992 GB / 1.979 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03855/96.6, allocations: 5.904 MB / 30.68 GB, free: 0.9942 GB / 1.979 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02199/96.63, allocations: 0.6271 MB / 30.68 GB, free: 0.9936 GB / 1.979 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03057/96.66, allocations: 0.6632 MB / 30.69 GB, free: 0.993 GB / 1.979 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008525/96.66, allocations: 0.5583 MB / 30.69 GB, free: 0.9924 GB / 1.979 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01859/96.68, allocations: 1.219 MB / 30.69 GB, free: 0.9912 GB / 1.979 GB Notification: Performance of sorting global known variables: time 0.003739/96.69, allocations: 1.061 MB / 30.69 GB, free: 0.9902 GB / 1.979 GB Notification: Performance of sort global known variables: time 8.52e-07/96.69, allocations: 2.078 kB / 30.69 GB, free: 0.9902 GB / 1.979 GB Notification: Performance of remove unused functions: time 0.1038/96.79, allocations: 9.543 MB / 30.7 GB, free: 0.9809 GB / 1.979 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) * Number of clocked states: 0 () * 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.01328/96.8, allocations: 1.005 MB / 30.7 GB, free: 0.9801 GB / 1.979 GB Notification: Performance of simCode: created initialization part: time 0.2392/97.04, allocations: 81.73 MB / 30.78 GB, free: 0.9012 GB / 1.979 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-05/97.04, allocations: 4.922 kB / 30.78 GB, free: 0.9012 GB / 1.979 GB Notification: Performance of simCode: created simulation system equations: time 39.7/136.7, allocations: 28.58 GB / 59.36 GB, free: 1.545 GB / 1.979 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03707/136.8, allocations: 1.656 MB / 59.36 GB, free: 1.545 GB / 1.979 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.268/137, allocations: 61.17 MB / 59.42 GB, free: 1.533 GB / 1.979 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.05067/137.1, allocations: 8.825 MB / 59.43 GB, free: 1.532 GB / 1.979 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01942/137.1, allocations: 1.272 MB / 59.43 GB, free: 1.531 GB / 1.979 GB Notification: Performance of SimCode: time 5.701e-06/137.1, allocations: 0 / 59.43 GB, free: 1.531 GB / 1.979 GB Notification: Performance of Templates: time 4.185/141.3, allocations: 1.408 GB / 60.83 GB, free: 139.9 MB / 1.979 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches