Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 201 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 226.5 MB / 245.4 MB, free: 8.137 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000788/0.0007878, allocations: 93.27 kB / 297.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002483/0.0002485, allocations: 4 kB / 358.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2478, allocations: 51.3 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1127/0.3606, allocations: 94.81 MB / 0.4924 GB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.3609, allocations: 81 kB / 0.4924 GB, free: 12.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6756/1.036, allocations: 114.4 MB / 0.6042 GB, free: 6.508 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.037, allocations: 0 / 0.6042 GB, free: 6.508 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006689/1.037, allocations: 211.9 kB / 0.6044 GB, free: 6.301 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.02763/1.065, allocations: 14.37 MB / 0.6184 GB, free: 7.809 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/1.065, allocations: 16.02 kB / 0.6184 GB, free: 7.793 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005021/1.07, allocations: 1.523 MB / 0.6199 GB, free: 6.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/1.082, allocations: 4.387 MB / 0.6242 GB, free: 1.785 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002976/1.082, allocations: 160.8 kB / 0.6244 GB, free: 1.625 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002307/1.085, allocations: 220.3 kB / 0.6246 GB, free: 1.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04592/1.131, allocations: 25.36 MB / 0.6493 GB, free: 7.914 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.704e-05/1.131, allocations: 3.938 kB / 0.6493 GB, free: 7.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005645/1.131, allocations: 88 kB / 0.6494 GB, free: 7.824 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/1.131, allocations: 116.5 kB / 0.6495 GB, free: 7.707 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03539/1.167, allocations: 22.09 MB / 0.6711 GB, free: 1.594 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.444/1.611, allocations: 21.17 MB / 0.6918 GB, free: 84.67 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05101/1.662, allocations: 80.19 MB / 0.7701 GB, free: 24.59 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.07624/1.738, allocations: 79.25 MB / 0.8475 GB, free: 7.762 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003577/1.739, allocations: 138.3 kB / 0.8476 GB, free: 7.621 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2806/2.019, allocations: 28.25 MB / 0.8752 GB, free: 134 MB / 490.8 MB Notification: Performance of pre-optimization done (n=4937): time 5.911e-06/2.019, allocations: 1.188 kB / 0.8752 GB, free: 134 MB / 490.8 MB Notification: Performance of matching and sorting (n=4941): time 12.37/14.39, allocations: 2.902 GB / 3.777 GB, free: 1.918 MB / 1.839 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007112/14.4, allocations: 7.195 MB / 3.784 GB, free: 11 MB / 1.854 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003838/14.4, allocations: 1.503 MB / 3.786 GB, free: 9.48 MB / 1.854 GB Notification: Performance of collectPreVariables (initialization): time 0.007236/14.41, allocations: 3.932 MB / 3.789 GB, free: 5.531 MB / 1.854 GB Notification: Performance of collectInitialEqns (initialization): time 0.001928/14.41, allocations: 1.038 MB / 3.79 GB, free: 4.598 MB / 1.854 GB Notification: Performance of collectInitialBindings (initialization): time 0.02888/14.44, allocations: 21.22 MB / 3.811 GB, free: 15.52 MB / 1.886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006748/14.45, allocations: 1.492 MB / 3.813 GB, free: 14.02 MB / 1.886 GB Notification: Performance of setup shared object (initialization): time 0.008567/14.46, allocations: 3.465 MB / 3.816 GB, free: 10.55 MB / 1.886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0581/14.52, allocations: 26.19 MB / 3.842 GB, free: 344 kB / 1.901 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.09616/14.61, allocations: 57.89 MB / 3.898 GB, free: 9.062 MB / 1.979 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1138/14.73, allocations: 86.39 MB / 3.982 GB, free: 4.219 MB / 2.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002337/14.73, allocations: 304 kB / 3.983 GB, free: 3.922 MB / 2.073 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.1791/14.91, allocations: 85.53 MB / 4.066 GB, free: 14.34 MB / 2.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002292/14.91, allocations: 481.7 kB / 4.067 GB, free: 13.86 MB / 2.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003117/14.91, allocations: 1.031 MB / 4.068 GB, free: 12.83 MB / 2.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006658/14.92, allocations: 2.175 MB / 4.07 GB, free: 10.65 MB / 2.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03835/14.96, allocations: 10.54 MB / 4.08 GB, free: 84 kB / 2.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01606/14.97, allocations: 12.65 MB / 4.092 GB, free: 2.918 MB / 2.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0337/15.01, allocations: 2.437 MB / 4.095 GB, free: 496 kB / 2.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01148/15.02, allocations: 3.564 MB / 4.098 GB, free: 12.92 MB / 2.198 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.03846/15.06, allocations: 14.48 MB / 4.112 GB, free: 14.37 MB / 2.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007093/15.06, allocations: 2.223 MB / 4.115 GB, free: 12.13 MB / 2.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.579/23.64, allocations: 8.838 GB / 12.95 GB, free: 1.736 GB / 2.432 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/23.64, allocations: 12 kB / 12.95 GB, free: 1.736 GB / 2.432 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/23.64, allocations: 4 kB / 12.95 GB, free: 1.736 GB / 2.432 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.41e-05/23.64, allocations: 8.5 kB / 12.95 GB, free: 1.736 GB / 2.432 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.041/31.69, allocations: 8.86 GB / 21.81 GB, free: 1.14 GB / 2.432 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/31.69, allocations: 0 / 21.81 GB, free: 1.14 GB / 2.432 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000749/31.69, allocations: 161.1 kB / 21.81 GB, free: 1.14 GB / 2.432 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001519/31.69, allocations: 0.6953 MB / 21.81 GB, free: 1.139 GB / 2.432 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005918/31.69, allocations: 0.7695 MB / 21.81 GB, free: 1.138 GB / 2.432 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008998/31.7, allocations: 10.41 MB / 21.82 GB, free: 1.128 GB / 2.432 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/31.7, allocations: 4.031 kB / 21.82 GB, free: 1.128 GB / 2.432 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.237/39.94, allocations: 8.889 GB / 30.71 GB, free: 0.5031 GB / 2.432 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01482/39.95, allocations: 5.91 MB / 30.72 GB, free: 0.4981 GB / 2.432 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005908/39.96, allocations: 0.6172 MB / 30.72 GB, free: 0.4975 GB / 2.432 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009004/39.97, allocations: 0.6632 MB / 30.72 GB, free: 0.4969 GB / 2.432 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004709/39.97, allocations: 0.5647 MB / 30.72 GB, free: 0.4963 GB / 2.432 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00552/39.98, allocations: 1.215 MB / 30.72 GB, free: 0.4952 GB / 2.432 GB Notification: Performance of sorting global known variables: time 0.001652/39.98, allocations: 1.057 MB / 30.72 GB, free: 0.4941 GB / 2.432 GB Notification: Performance of sort global known variables: time 1.91e-07/39.98, allocations: 4.625 kB / 30.72 GB, free: 0.4941 GB / 2.432 GB Notification: Performance of remove unused functions: time 0.05057/40.03, allocations: 9.543 MB / 30.73 GB, free: 496.5 MB / 2.432 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.006837/40.04, allocations: 1.005 MB / 30.73 GB, free: 495.6 MB / 2.432 GB Notification: Performance of simCode: created initialization part: time 0.1288/40.17, allocations: 81.74 MB / 30.81 GB, free: 414.8 MB / 2.432 GB Notification: Performance of simCode: created event and clocks part: time 2.116e-05/40.17, allocations: 0 / 30.81 GB, free: 414.8 MB / 2.432 GB Notification: Performance of simCode: created simulation system equations: time 20.38/60.55, allocations: 28.58 GB / 59.39 GB, free: 0.5808 GB / 2.433 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01823/60.57, allocations: 1.671 MB / 59.39 GB, free: 0.5793 GB / 2.433 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1063/60.67, allocations: 60.53 MB / 59.45 GB, free: 0.5207 GB / 2.433 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02509/60.7, allocations: 8.871 MB / 59.46 GB, free: 0.512 GB / 2.433 GB Notification: Performance of simCode: alias equations: time 0.01629/60.72, allocations: 4.076 MB / 59.47 GB, free: 0.508 GB / 2.433 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009671/60.73, allocations: 1.273 MB / 59.47 GB, free: 0.5068 GB / 2.433 GB Notification: Performance of SimCode: time 1.823e-06/60.73, allocations: 2.812 kB / 59.47 GB, free: 0.5068 GB / 2.433 GB Notification: Performance of Templates: time 0.4517/61.18, allocations: 261.8 MB / 59.72 GB, free: 259 MB / 2.433 GB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches