Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009869/0.0009869, allocations: 175.2 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 221.3 MB / 235.5 MB, free: 2.914 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008033/0.0008032, allocations: 95.78 kB / 286.5 MB, free: 172 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.914e-05/1.925e-05, allocations: 4 kB / 343.8 MB, free: 4.301 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0786/0.07863, allocations: 50.4 MB / 394.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3011/0.3797, allocations: 95.55 MB / 489.8 MB, free: 7.973 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.3801, allocations: 76.67 kB / 489.9 MB, free: 7.902 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9717/1.352, allocations: 167.6 MB / 0.6421 GB, free: 58.64 MB / 426.8 MB Notification: Performance of FrontEnd: time 3.547e-06/1.352, allocations: 0 / 0.6421 GB, free: 58.64 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.0005647/1.352, allocations: 266.8 kB / 0.6423 GB, free: 58.38 MB / 426.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.02594/1.378, allocations: 15.86 MB / 0.6578 GB, free: 42.4 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/1.378, allocations: 12.03 kB / 0.6578 GB, free: 42.39 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00473/1.383, allocations: 1.738 MB / 0.6595 GB, free: 40.63 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01956/1.403, allocations: 8.822 MB / 0.6682 GB, free: 31.92 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/1.403, allocations: 295.9 kB / 0.6684 GB, free: 31.63 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001829/1.405, allocations: 395.8 kB / 0.6688 GB, free: 31.25 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04002/1.445, allocations: 27.71 MB / 0.6959 GB, free: 3.348 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/1.445, allocations: 3.938 kB / 0.6959 GB, free: 3.344 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001526/1.447, allocations: 176 kB / 0.696 GB, free: 3.172 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001949/1.447, allocations: 208 kB / 0.6962 GB, free: 2.965 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3013/1.748, allocations: 24 MB / 0.7197 GB, free: 70.18 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05667/1.805, allocations: 28.71 MB / 0.7477 GB, free: 66.36 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05527/1.86, allocations: 83.49 MB / 0.8292 GB, free: 8.441 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.333/2.193, allocations: 80.03 MB / 0.9074 GB, free: 107.2 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005612/2.194, allocations: 150.7 kB / 0.9075 GB, free: 107.1 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04237/2.236, allocations: 28.96 MB / 0.9358 GB, free: 106.2 MB / 490.8 MB Notification: Performance of pre-optimization done (n=5058): time 6.332e-06/2.236, allocations: 0 / 0.9358 GB, free: 106.2 MB / 490.8 MB Notification: Performance of matching and sorting (n=5065): time 11.22/13.46, allocations: 2.189 GB / 3.125 GB, free: 11.95 MB / 1.87 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005552/13.46, allocations: 7.362 MB / 3.132 GB, free: 4.824 MB / 1.87 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004759/13.47, allocations: 2.339 MB / 3.134 GB, free: 2.465 MB / 1.87 GB Notification: Performance of collectPreVariables (initialization): time 0.006828/13.47, allocations: 3.952 MB / 3.138 GB, free: 14.5 MB / 1.886 GB Notification: Performance of collectInitialEqns (initialization): time 0.002925/13.48, allocations: 1.74 MB / 3.14 GB, free: 12.74 MB / 1.886 GB Notification: Performance of collectInitialBindings (initialization): time 0.02983/13.51, allocations: 21.63 MB / 3.161 GB, free: 7.203 MB / 1.901 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007947/13.51, allocations: 1.518 MB / 3.162 GB, free: 5.688 MB / 1.901 GB Notification: Performance of setup shared object (initialization): time 0.008803/13.52, allocations: 3.503 MB / 3.166 GB, free: 2.176 MB / 1.901 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05986/13.58, allocations: 26.28 MB / 3.191 GB, free: 7.883 MB / 1.932 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.09251/13.67, allocations: 57.87 MB / 3.248 GB, free: 0.5977 MB / 1.995 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06463/13.74, allocations: 38.21 MB / 3.285 GB, free: 10.98 MB / 2.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002305/13.74, allocations: 304 kB / 3.286 GB, free: 10.68 MB / 2.042 GB Notification: Performance of matching and sorting (n=9915) (initialization): time 0.1762/13.92, allocations: 86.56 MB / 3.37 GB, free: 4.016 MB / 2.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.003199/13.92, allocations: 483.1 kB / 3.371 GB, free: 3.539 MB / 2.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004585/13.93, allocations: 1.035 MB / 3.372 GB, free: 2.504 MB / 2.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009025/13.93, allocations: 3.021 MB / 3.375 GB, free: 15.46 MB / 2.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.044/13.98, allocations: 10.72 MB / 3.385 GB, free: 4.715 MB / 2.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02927/14.01, allocations: 25.53 MB / 3.41 GB, free: 9.898 MB / 2.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03768/14.05, allocations: 2.488 MB / 3.412 GB, free: 7.41 MB / 2.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01698/14.06, allocations: 3.602 MB / 3.416 GB, free: 3.809 MB / 2.167 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.03875/14.1, allocations: 11.05 MB / 3.427 GB, free: 8.699 MB / 2.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01282/14.11, allocations: 2.346 MB / 3.429 GB, free: 6.336 MB / 2.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.346/22.46, allocations: 8.839 GB / 12.27 GB, free: 1.275 GB / 2.354 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/22.46, allocations: 28.81 kB / 12.27 GB, free: 1.275 GB / 2.354 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/22.46, allocations: 8 kB / 12.27 GB, free: 1.275 GB / 2.354 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.514e-05/22.46, allocations: 11.95 kB / 12.27 GB, free: 1.275 GB / 2.354 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.309/29.77, allocations: 8.864 GB / 21.13 GB, free: 351.6 MB / 2.354 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.446e-05/29.77, allocations: 0.5625 kB / 21.13 GB, free: 351.6 MB / 2.354 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/29.77, allocations: 301.1 kB / 21.13 GB, free: 351.4 MB / 2.354 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00331/29.78, allocations: 1.373 MB / 21.13 GB, free: 350 MB / 2.354 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006172/29.78, allocations: 0.8004 MB / 21.13 GB, free: 349.2 MB / 2.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01857/29.8, allocations: 23.17 MB / 21.16 GB, free: 325.2 MB / 2.354 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/29.8, allocations: 5.125 kB / 21.16 GB, free: 325.2 MB / 2.354 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.774/37.57, allocations: 8.891 GB / 30.05 GB, free: 1.347 GB / 2.354 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01794/37.59, allocations: 6.333 MB / 30.05 GB, free: 1.342 GB / 2.354 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004615/37.6, allocations: 0.6519 MB / 30.06 GB, free: 1.341 GB / 2.354 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01056/37.61, allocations: 0.7191 MB / 30.06 GB, free: 1.341 GB / 2.354 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003801/37.61, allocations: 0.6581 MB / 30.06 GB, free: 1.34 GB / 2.354 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003158/37.61, allocations: 1.242 MB / 30.06 GB, free: 1.339 GB / 2.354 GB Notification: Performance of sorting global known variables: time 0.002763/37.62, allocations: 1.83 MB / 30.06 GB, free: 1.337 GB / 2.354 GB Notification: Performance of sort global known variables: time 1.61e-07/37.62, allocations: 0 / 30.06 GB, free: 1.337 GB / 2.354 GB Notification: Performance of remove unused functions: time 0.04859/37.67, allocations: 9.99 MB / 30.07 GB, free: 1.327 GB / 2.354 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.005158/37.67, allocations: 1.052 MB / 30.07 GB, free: 1.327 GB / 2.354 GB Notification: Performance of simCode: created initialization part: time 0.1071/37.78, allocations: 83.38 MB / 30.15 GB, free: 1.246 GB / 2.354 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/37.78, allocations: 0 / 30.15 GB, free: 1.246 GB / 2.354 GB Notification: Performance of simCode: created simulation system equations: time 49.59/87.36, allocations: 28.62 GB / 58.77 GB, free: 480.1 MB / 3.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009648/87.37, allocations: 1.479 MB / 58.77 GB, free: 478.7 MB / 3.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07608/87.45, allocations: 53.74 MB / 58.82 GB, free: 425.4 MB / 3.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01319/87.46, allocations: 10.28 MB / 58.83 GB, free: 415.1 MB / 3.167 GB Notification: Performance of simCode: alias equations: time 0.008607/87.47, allocations: 4.361 MB / 58.84 GB, free: 410.8 MB / 3.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005043/87.48, allocations: 1.331 MB / 58.84 GB, free: 409.5 MB / 3.167 GB Notification: Performance of SimCode: time 7.41e-07/87.48, allocations: 0 / 58.84 GB, free: 409.5 MB / 3.167 GB Notification: Performance of Templates: time 0.3599/87.84, allocations: 289.4 MB / 59.12 GB, free: 122.8 MB / 3.167 GB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches