Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.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.Rectifier6pulseFFT,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.Rectifier6pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier6pulseFFT,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.Rectifier6pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 176.4 kB / 17.4 MB, free: 4.422 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.576/1.576, allocations: 223.3 MB / 241.4 MB, free: 11.6 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 101.2 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005769/0.0005771, allocations: 12 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.252, allocations: 50.4 MB / 402.7 MB, free: 32.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1175/0.3696, allocations: 94.12 MB / 496.8 MB, free: 2.223 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.3699, allocations: 71.97 kB / 496.9 MB, free: 2.152 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6081/0.978, allocations: 114.4 MB / 0.597 GB, free: 15.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.9781, allocations: 4 kB / 0.597 GB, free: 15.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003927/0.9785, allocations: 211.9 kB / 0.5972 GB, free: 14.91 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.02605/1.005, allocations: 14.36 MB / 0.6113 GB, free: 440 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/1.005, allocations: 12.03 kB / 0.6113 GB, free: 428 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00503/1.01, allocations: 1.488 MB / 0.6127 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01475/1.024, allocations: 4.383 MB / 0.617 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002281/1.025, allocations: 168.7 kB / 0.6172 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001985/1.027, allocations: 220.3 kB / 0.6174 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05211/1.079, allocations: 25.34 MB / 0.6421 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.06e-05/1.079, allocations: 7.938 kB / 0.6421 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001764/1.081, allocations: 92 kB / 0.6422 GB, free: 492 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001541/1.081, allocations: 116.4 kB / 0.6423 GB, free: 372 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3466/1.428, allocations: 22.08 MB / 0.6639 GB, free: 70.92 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04326/1.471, allocations: 21.19 MB / 0.6846 GB, free: 68.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05924/1.53, allocations: 80.18 MB / 0.7629 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3033/1.834, allocations: 78.87 MB / 0.8399 GB, free: 119.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003419/1.834, allocations: 135.5 kB / 0.84 GB, free: 119.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03527/1.869, allocations: 28.26 MB / 0.8676 GB, free: 117.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4937): time 5.029e-06/1.869, allocations: 0 / 0.8676 GB, free: 117.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=4941): time 12.46/14.33, allocations: 2.901 GB / 3.769 GB, free: 7.707 MB / 1.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005228/14.34, allocations: 7.192 MB / 3.776 GB, free: 0.7852 MB / 1.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002687/14.34, allocations: 1.506 MB / 3.778 GB, free: 15.27 MB / 1.964 GB Notification: Performance of collectPreVariables (initialization): time 0.0051/14.35, allocations: 3.928 MB / 3.781 GB, free: 11.32 MB / 1.964 GB Notification: Performance of collectInitialEqns (initialization): time 0.001222/14.35, allocations: 1.035 MB / 3.782 GB, free: 10.29 MB / 1.964 GB Notification: Performance of collectInitialBindings (initialization): time 0.02846/14.38, allocations: 21.23 MB / 3.803 GB, free: 5.16 MB / 1.979 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006928/14.38, allocations: 1.488 MB / 3.805 GB, free: 3.672 MB / 1.979 GB Notification: Performance of setup shared object (initialization): time 0.008111/14.39, allocations: 3.458 MB / 3.808 GB, free: 208 kB / 1.979 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05344/14.44, allocations: 26.19 MB / 3.834 GB, free: 5.988 MB / 2.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4174/14.86, allocations: 57.89 MB / 3.89 GB, free: 1.608 GB / 2.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09128/14.95, allocations: 86.39 MB / 3.974 GB, free: 1.555 GB / 2.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002146/14.96, allocations: 301.9 kB / 3.975 GB, free: 1.555 GB / 2.026 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.1475/15.1, allocations: 85.54 MB / 4.058 GB, free: 1.49 GB / 2.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.002006/15.11, allocations: 489.7 kB / 4.059 GB, free: 1.489 GB / 2.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002681/15.11, allocations: 1.027 MB / 4.06 GB, free: 1.488 GB / 2.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00452/15.11, allocations: 2.174 MB / 4.062 GB, free: 1.486 GB / 2.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03784/15.15, allocations: 10.54 MB / 4.072 GB, free: 1.476 GB / 2.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/15.16, allocations: 12.66 MB / 4.084 GB, free: 1.463 GB / 2.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03469/15.2, allocations: 2.426 MB / 4.087 GB, free: 1.461 GB / 2.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01113/15.21, allocations: 3.562 MB / 4.09 GB, free: 1.457 GB / 2.026 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.0373/15.25, allocations: 14.49 MB / 4.104 GB, free: 1.443 GB / 2.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007239/15.25, allocations: 2.213 MB / 4.107 GB, free: 1.442 GB / 2.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.005/23.26, allocations: 8.838 GB / 12.94 GB, free: 0.9647 GB / 2.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/23.26, allocations: 16 kB / 12.94 GB, free: 0.9647 GB / 2.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/23.26, allocations: 4 kB / 12.94 GB, free: 0.9647 GB / 2.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.26e-05/23.26, allocations: 7.969 kB / 12.94 GB, free: 0.9647 GB / 2.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.405/31.66, allocations: 8.86 GB / 21.8 GB, free: 466.3 MB / 2.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.71e-05/31.66, allocations: 4 kB / 21.8 GB, free: 466.3 MB / 2.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008699/31.66, allocations: 155.3 kB / 21.8 GB, free: 466.2 MB / 2.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001696/31.67, allocations: 0.693 MB / 21.81 GB, free: 465.5 MB / 2.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005628/31.67, allocations: 0.7695 MB / 21.81 GB, free: 464.7 MB / 2.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009018/31.68, allocations: 10.41 MB / 21.82 GB, free: 454 MB / 2.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/31.68, allocations: 3.75 kB / 21.82 GB, free: 454 MB / 2.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.222/40.9, allocations: 8.889 GB / 30.71 GB, free: 1.556 GB / 2.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01335/40.92, allocations: 5.905 MB / 30.71 GB, free: 1.554 GB / 2.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005959/40.92, allocations: 0.6225 MB / 30.71 GB, free: 1.554 GB / 2.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009736/40.93, allocations: 0.6656 MB / 30.71 GB, free: 1.554 GB / 2.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004022/40.94, allocations: 0.558 MB / 30.71 GB, free: 1.554 GB / 2.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004268/40.94, allocations: 1.212 MB / 30.71 GB, free: 1.554 GB / 2.026 GB Notification: Performance of sorting global known variables: time 0.001635/40.94, allocations: 1.065 MB / 30.72 GB, free: 1.553 GB / 2.026 GB Notification: Performance of sort global known variables: time 1.7e-07/40.94, allocations: 0 / 30.72 GB, free: 1.553 GB / 2.026 GB Notification: Performance of remove unused functions: time 0.04278/40.98, allocations: 9.544 MB / 30.72 GB, free: 1.545 GB / 2.026 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.006612/40.99, allocations: 1 MB / 30.73 GB, free: 1.544 GB / 2.026 GB Notification: Performance of simCode: created initialization part: time 0.1163/41.11, allocations: 81.75 MB / 30.81 GB, free: 1.474 GB / 2.026 GB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/41.11, allocations: 4 kB / 30.81 GB, free: 1.474 GB / 2.026 GB Notification: Performance of simCode: created simulation system equations: time 22.4/63.51, allocations: 28.58 GB / 59.39 GB, free: 1.119 GB / 2.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0161/63.53, allocations: 1.664 MB / 59.39 GB, free: 1.118 GB / 2.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1006/63.63, allocations: 60.53 MB / 59.45 GB, free: 1.059 GB / 2.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02258/63.65, allocations: 8.874 MB / 59.46 GB, free: 1.05 GB / 2.026 GB Notification: Performance of simCode: alias equations: time 0.01384/63.66, allocations: 4.083 MB / 59.46 GB, free: 1.046 GB / 2.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008508/63.67, allocations: 1.272 MB / 59.46 GB, free: 1.045 GB / 2.026 GB Notification: Performance of SimCode: time 1.142e-06/63.67, allocations: 0 / 59.46 GB, free: 1.045 GB / 2.026 GB Notification: Performance of Templates: time 0.3836/64.06, allocations: 261.8 MB / 59.72 GB, free: 0.7914 GB / 2.026 GB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Rectifier6pulseFFT/Rectifier6pulseFFT.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches