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.001423/0.001423, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 221.5 MB / 230.3 MB, free: 7.516 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.0008307/0.0008305, allocations: 93.72 kB / 281.2 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.578e-05/1.58e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1101, allocations: 50.42 MB / 387.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3314/0.4416, allocations: 93.28 MB / 480.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.4418, allocations: 75.89 kB / 480.8 MB, free: 1.465 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6549/1.097, allocations: 113.5 MB / 0.5804 GB, free: 85.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.698e-06/1.097, allocations: 0 / 0.5804 GB, free: 85.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007847/1.098, allocations: 212.9 kB / 0.5806 GB, free: 85.89 MB / 426.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.02584/1.124, allocations: 14.29 MB / 0.5945 GB, free: 81.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/1.124, allocations: 13.95 kB / 0.5945 GB, free: 81.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004255/1.128, allocations: 1.49 MB / 0.596 GB, free: 80.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01576/1.144, allocations: 7.634 MB / 0.6034 GB, free: 78.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/1.144, allocations: 72.06 kB / 0.6035 GB, free: 78.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001769/1.146, allocations: 133 kB / 0.6036 GB, free: 78.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03065/1.176, allocations: 21.79 MB / 0.6249 GB, free: 68.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03666/1.213, allocations: 24.88 MB / 0.6492 GB, free: 48.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.796e-05/1.213, allocations: 0 / 0.6492 GB, free: 48.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005392/1.214, allocations: 8 kB / 0.6492 GB, free: 48.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/1.214, allocations: 115.8 kB / 0.6493 GB, free: 47.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03415/1.248, allocations: 18.69 MB / 0.6676 GB, free: 32.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2953/1.543, allocations: 80.02 MB / 0.7457 GB, free: 72.35 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.05829/1.602, allocations: 78.01 MB / 0.8219 GB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003493/1.602, allocations: 135.6 kB / 0.8221 GB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03388/1.636, allocations: 28.12 MB / 0.8495 GB, free: 2.352 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4937): time 5.11e-06/1.636, allocations: 0 / 0.8495 GB, free: 2.352 MB / 442.7 MB Notification: Performance of matching and sorting (n=4941): time 12.74/14.37, allocations: 2.172 GB / 3.022 GB, free: 142.9 MB / 1.87 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003727/14.38, allocations: 7.19 MB / 3.029 GB, free: 136 MB / 1.87 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002323/14.38, allocations: 1.074 MB / 3.03 GB, free: 134.9 MB / 1.87 GB Notification: Performance of collectPreVariables (initialization): time 0.003992/14.38, allocations: 3.174 MB / 3.033 GB, free: 131.7 MB / 1.87 GB Notification: Performance of collectInitialEqns (initialization): time 0.001016/14.38, allocations: 1.044 MB / 3.034 GB, free: 130.8 MB / 1.87 GB Notification: Performance of collectInitialBindings (initialization): time 0.02173/14.41, allocations: 20.84 MB / 3.054 GB, free: 109.6 MB / 1.87 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006342/14.41, allocations: 2.625 kB / 3.054 GB, free: 109.6 MB / 1.87 GB Notification: Performance of setup shared object (initialization): time 0.006989/14.42, allocations: 3.454 MB / 3.057 GB, free: 106.2 MB / 1.87 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04006/14.46, allocations: 24.16 MB / 3.081 GB, free: 82 MB / 1.87 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06275/14.52, allocations: 55.11 MB / 3.135 GB, free: 13.37 MB / 1.87 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0577/14.58, allocations: 35.65 MB / 3.17 GB, free: 10.12 MB / 1.901 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002/14.58, allocations: 304 kB / 3.17 GB, free: 9.828 MB / 1.901 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.1612/14.74, allocations: 75.49 MB / 3.244 GB, free: 14.32 MB / 1.979 GB Notification: Performance of prepare postOptimizeDAE: time 0.002583/14.75, allocations: 494.7 kB / 3.244 GB, free: 13.83 MB / 1.979 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002733/14.75, allocations: 1.031 MB / 3.245 GB, free: 12.8 MB / 1.979 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005354/14.75, allocations: 2.303 MB / 3.247 GB, free: 10.49 MB / 1.979 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04355/14.8, allocations: 10.54 MB / 3.258 GB, free: 15.92 MB / 1.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01574/14.81, allocations: 12.25 MB / 3.27 GB, free: 3.223 MB / 1.995 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03633/14.85, allocations: 0.9375 MB / 3.271 GB, free: 2.285 MB / 1.995 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01283/14.86, allocations: 3.566 MB / 3.274 GB, free: 14.71 MB / 2.011 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.03095/14.89, allocations: 9.465 MB / 3.283 GB, free: 5.195 MB / 2.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008049/14.9, allocations: 2.196 MB / 3.286 GB, free: 2.98 MB / 2.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7243/15.63, allocations: 76.27 MB / 3.36 GB, free: 6.621 MB / 2.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/15.63, allocations: 14.44 kB / 3.36 GB, free: 6.609 MB / 2.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/15.63, allocations: 11.06 kB / 3.36 GB, free: 6.602 MB / 2.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.164e-05/15.63, allocations: 7.969 kB / 3.36 GB, free: 6.594 MB / 2.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7784/16.4, allocations: 97.32 MB / 3.455 GB, free: 5.16 MB / 2.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-05/16.4, allocations: 0 / 3.455 GB, free: 5.16 MB / 2.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008927/16.4, allocations: 163.8 kB / 3.455 GB, free: 5 MB / 2.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001803/16.41, allocations: 0.6814 MB / 3.456 GB, free: 4.309 MB / 2.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004777/16.41, allocations: 0.75 MB / 3.457 GB, free: 3.559 MB / 2.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/16.42, allocations: 10.03 MB / 3.466 GB, free: 9.078 MB / 2.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/16.42, allocations: 0 / 3.466 GB, free: 9.078 MB / 2.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.9074/17.33, allocations: 128.3 MB / 3.592 GB, free: 10.68 MB / 2.323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0216/17.35, allocations: 6.029 MB / 3.598 GB, free: 4.617 MB / 2.323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006573/17.36, allocations: 0.5938 MB / 3.598 GB, free: 4.023 MB / 2.323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01061/17.37, allocations: 0.6483 MB / 3.599 GB, free: 3.375 MB / 2.323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005076/17.37, allocations: 0.5519 MB / 3.599 GB, free: 2.824 MB / 2.323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005517/17.38, allocations: 1.211 MB / 3.601 GB, free: 1.613 MB / 2.323 GB Notification: Performance of sorting global known variables: time 0.001451/17.38, allocations: 0.8257 MB / 3.601 GB, free: 0.7812 MB / 2.323 GB Notification: Performance of sort global known variables: time 1.9e-07/17.38, allocations: 0 / 3.601 GB, free: 0.7812 MB / 2.323 GB Notification: Performance of remove unused functions: time 0.04601/17.43, allocations: 8.018 MB / 3.609 GB, free: 8.781 MB / 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.004892/17.43, allocations: 0.9842 MB / 3.61 GB, free: 7.91 MB / 2.339 GB Notification: Performance of simCode: created initialization part: time 0.1253/17.56, allocations: 77.15 MB / 3.685 GB, free: 11.5 MB / 2.417 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/17.56, allocations: 8.125 kB / 3.685 GB, free: 11.49 MB / 2.417 GB Notification: Performance of simCode: created simulation system equations: time 50.1/67.66, allocations: 28.61 GB / 32.29 GB, free: 1.422 GB / 2.901 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01041/67.67, allocations: 0.9194 MB / 32.29 GB, free: 1.421 GB / 2.901 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1029/67.78, allocations: 55.15 MB / 32.35 GB, free: 1.367 GB / 2.901 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02146/67.8, allocations: 9.131 MB / 32.36 GB, free: 1.359 GB / 2.901 GB Notification: Performance of simCode: alias equations: time 0.01059/67.81, allocations: 4.049 MB / 32.36 GB, free: 1.355 GB / 2.901 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008257/67.82, allocations: 1.249 MB / 32.36 GB, free: 1.353 GB / 2.901 GB Notification: Performance of SimCode: time 1.182e-06/67.82, allocations: 3.406 kB / 32.36 GB, free: 1.353 GB / 2.901 GB Notification: Performance of Templates: time 0.3713/68.19, allocations: 244 MB / 32.6 GB, free: 1.118 GB / 2.901 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/jenkins/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