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.001522/0.001522, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 86.67 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.256e-05/2.268e-05, allocations: 4 kB / 314.8 MB, free: 9.168 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3566, allocations: 47.56 MB / 362.3 MB, free: 45.82 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1564/0.513, allocations: 92.48 MB / 454.8 MB, free: 9.824 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.5133, allocations: 69 kB / 454.9 MB, free: 9.758 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.205/1.719, allocations: 113.1 MB / 0.5547 GB, free: 81.63 MB / 395.2 MB Notification: Performance of FrontEnd: time 2.114e-06/1.719, allocations: 0 / 0.5547 GB, free: 81.63 MB / 395.2 MB Notification: Performance of Transformations before backend: time 0.0004458/1.719, allocations: 215.5 kB / 0.5549 GB, free: 81.62 MB / 395.2 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.02884/1.748, allocations: 14.27 MB / 0.5688 GB, free: 69.84 MB / 395.2 MB Notification: Performance of prepare preOptimizeDAE: time 6.393e-05/1.748, allocations: 8.031 kB / 0.5688 GB, free: 69.83 MB / 395.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005527/1.754, allocations: 1.483 MB / 0.5703 GB, free: 68.32 MB / 395.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02804/1.782, allocations: 7.617 MB / 0.5777 GB, free: 60.83 MB / 395.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/1.782, allocations: 75.98 kB / 0.5778 GB, free: 60.76 MB / 395.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001971/1.784, allocations: 128 kB / 0.5779 GB, free: 60.63 MB / 395.2 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03739/1.821, allocations: 21.81 MB / 0.5992 GB, free: 38.81 MB / 395.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04599/1.867, allocations: 24.89 MB / 0.6235 GB, free: 13.79 MB / 395.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.81e-05/1.868, allocations: 0 / 0.6235 GB, free: 13.79 MB / 395.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00149/1.869, allocations: 4 kB / 0.6235 GB, free: 13.79 MB / 395.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001713/1.869, allocations: 116.5 kB / 0.6236 GB, free: 13.67 MB / 395.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05332/1.923, allocations: 18.7 MB / 0.6419 GB, free: 10.95 MB / 411.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3754/2.298, allocations: 80.03 MB / 0.72 GB, free: 42.14 MB / 411.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.08801/2.386, allocations: 78.47 MB / 0.7967 GB, free: 13.12 MB / 443.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004798/2.387, allocations: 145.9 kB / 0.7968 GB, free: 13.02 MB / 443.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3507/2.737, allocations: 28.11 MB / 0.8243 GB, free: 121.2 MB / 443.2 MB Notification: Performance of pre-optimization done (n=4937): time 7.765e-06/2.738, allocations: 1 kB / 0.8243 GB, free: 121.2 MB / 443.2 MB Notification: Performance of matching and sorting (n=4941): time 17.15/19.89, allocations: 2.17 GB / 2.994 GB, free: 7.109 MB / 1.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007805/19.9, allocations: 7.193 MB / 3.001 GB, free: 196 kB / 1.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003003/19.9, allocations: 1.074 MB / 3.002 GB, free: 15.11 MB / 1.839 GB Notification: Performance of collectPreVariables (initialization): time 0.008549/19.91, allocations: 3.174 MB / 3.005 GB, free: 11.91 MB / 1.839 GB Notification: Performance of collectInitialEqns (initialization): time 0.001728/19.91, allocations: 1.021 MB / 3.006 GB, free: 10.88 MB / 1.839 GB Notification: Performance of collectInitialBindings (initialization): time 0.03323/19.95, allocations: 20.84 MB / 3.027 GB, free: 5.762 MB / 1.855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006133/19.95, allocations: 0 / 3.027 GB, free: 5.762 MB / 1.855 GB Notification: Performance of setup shared object (initialization): time 0.008776/19.96, allocations: 3.461 MB / 3.03 GB, free: 2.289 MB / 1.855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06877/20.03, allocations: 24.17 MB / 3.053 GB, free: 10.11 MB / 1.886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1027/20.13, allocations: 55.11 MB / 3.107 GB, free: 5.605 MB / 1.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08711/20.22, allocations: 35.65 MB / 3.142 GB, free: 2.203 MB / 1.98 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002417/20.22, allocations: 300.8 kB / 3.142 GB, free: 1.91 MB / 1.98 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.2202/20.44, allocations: 75.4 MB / 3.216 GB, free: 6.484 MB / 2.058 GB Notification: Performance of prepare postOptimizeDAE: time 0.002919/20.45, allocations: 485.7 kB / 3.217 GB, free: 6.004 MB / 2.058 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003849/20.45, allocations: 1.032 MB / 3.218 GB, free: 4.973 MB / 2.058 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00799/20.46, allocations: 2.3 MB / 3.22 GB, free: 2.672 MB / 2.058 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06371/20.52, allocations: 10.54 MB / 3.23 GB, free: 8.105 MB / 2.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02198/20.54, allocations: 12.25 MB / 3.242 GB, free: 11.41 MB / 2.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04193/20.59, allocations: 0.9335 MB / 3.243 GB, free: 10.48 MB / 2.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01286/20.6, allocations: 3.563 MB / 3.246 GB, free: 6.918 MB / 2.089 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.03306/20.63, allocations: 9.473 MB / 3.256 GB, free: 13.39 MB / 2.105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009105/20.64, allocations: 2.199 MB / 3.258 GB, free: 11.17 MB / 2.105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.092/21.73, allocations: 76.49 MB / 3.333 GB, free: 14.59 MB / 2.183 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.639e-05/21.73, allocations: 15.8 kB / 3.333 GB, free: 14.57 MB / 2.183 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/21.73, allocations: 6.156 kB / 3.333 GB, free: 14.57 MB / 2.183 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-05/21.73, allocations: 15.97 kB / 3.333 GB, free: 14.55 MB / 2.183 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.199/22.93, allocations: 97.3 MB / 3.428 GB, free: 13.13 MB / 2.277 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/22.93, allocations: 0 / 3.428 GB, free: 13.13 MB / 2.277 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/22.93, allocations: 163.8 kB / 3.428 GB, free: 12.97 MB / 2.277 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002909/22.94, allocations: 0.6754 MB / 3.428 GB, free: 12.29 MB / 2.277 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005589/22.94, allocations: 0.75 MB / 3.429 GB, free: 11.54 MB / 2.277 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01835/22.96, allocations: 10.02 MB / 3.439 GB, free: 1.074 MB / 2.277 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/22.96, allocations: 0 / 3.439 GB, free: 1.074 MB / 2.277 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.775/24.74, allocations: 127.9 MB / 3.564 GB, free: 1.901 GB / 2.339 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0252/24.76, allocations: 6.031 MB / 3.57 GB, free: 1.9 GB / 2.339 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006513/24.77, allocations: 0.5997 MB / 3.57 GB, free: 1.9 GB / 2.339 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01266/24.78, allocations: 0.6416 MB / 3.571 GB, free: 1.9 GB / 2.339 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006022/24.79, allocations: 0.5616 MB / 3.571 GB, free: 1.899 GB / 2.339 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006199/24.79, allocations: 1.213 MB / 3.573 GB, free: 1.899 GB / 2.339 GB Notification: Performance of sorting global known variables: time 0.001771/24.79, allocations: 0.8269 MB / 3.573 GB, free: 1.899 GB / 2.339 GB Notification: Performance of sort global known variables: time 5.81e-07/24.79, allocations: 0 / 3.573 GB, free: 1.899 GB / 2.339 GB Notification: Performance of remove unused functions: time 0.05463/24.85, allocations: 8.016 MB / 3.581 GB, free: 1.899 GB / 2.339 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (82): * Single equations (assignments): 76 * 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.006408/24.86, allocations: 0.9647 MB / 3.582 GB, free: 1.899 GB / 2.339 GB Notification: Performance of simCode: created initialization part: time 0.1469/25, allocations: 77.03 MB / 3.657 GB, free: 1.845 GB / 2.339 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/25, allocations: 0 / 3.657 GB, free: 1.845 GB / 2.339 GB Notification: Performance of simCode: created simulation system equations: time 61.28/86.29, allocations: 28.6 GB / 32.26 GB, free: 290.4 MB / 3.105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01369/86.3, allocations: 0.9221 MB / 32.26 GB, free: 289.5 MB / 3.105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1317/86.43, allocations: 55.78 MB / 32.31 GB, free: 234 MB / 3.105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02201/86.45, allocations: 9.089 MB / 32.32 GB, free: 224.9 MB / 3.105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009146/86.46, allocations: 1.259 MB / 32.32 GB, free: 223.6 MB / 3.105 GB Notification: Performance of SimCode: time 1.694e-06/86.46, allocations: 1.781 kB / 32.32 GB, free: 223.6 MB / 3.105 GB Notification: Performance of Templates: time 4.217/90.68, allocations: 1.383 GB / 33.71 GB, free: 1.564 GB / 3.105 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