Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009236/0.0009237, allocations: 183.8 kB / 18.04 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.293/1.293, allocations: 205.4 MB / 224.2 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007875/0.0007874, allocations: 94.34 kB / 272.5 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002982/0.0002983, allocations: 8 kB / 329.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1879, allocations: 47.58 MB / 377 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1006/0.2885, allocations: 93.39 MB / 470.4 MB, free: 3.117 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.2887, allocations: 79.95 kB / 470.5 MB, free: 3.039 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5939/0.8827, allocations: 114 MB / 0.5708 GB, free: 44.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.8827, allocations: 0 / 0.5708 GB, free: 44.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003109/0.883, allocations: 211.9 kB / 0.571 GB, free: 44.3 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.0215/0.9046, allocations: 14.35 MB / 0.585 GB, free: 29.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.9046, allocations: 8.031 kB / 0.585 GB, free: 29.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004448/0.9091, allocations: 1.48 MB / 0.5864 GB, free: 28.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008702/0.9178, allocations: 4.379 MB / 0.5907 GB, free: 23.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.918, allocations: 172.8 kB / 0.5909 GB, free: 23.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002708/0.9207, allocations: 212.4 kB / 0.5911 GB, free: 23.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03766/0.9584, allocations: 25.36 MB / 0.6158 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.103e-05/0.9585, allocations: 11.44 kB / 0.6159 GB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007345/0.9592, allocations: 104 kB / 0.616 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/0.9593, allocations: 104.5 kB / 0.6161 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03331/0.9926, allocations: 22.11 MB / 0.6376 GB, free: 7.672 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3693/1.362, allocations: 21.2 MB / 0.6583 GB, free: 77.29 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05455/1.417, allocations: 80.19 MB / 0.7367 GB, free: 18.41 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2551/1.672, allocations: 78.88 MB / 0.8137 GB, free: 130.4 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003302/1.672, allocations: 138.6 kB / 0.8138 GB, free: 130.4 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03674/1.709, allocations: 28.26 MB / 0.8414 GB, free: 126.3 MB / 458.8 MB Notification: Performance of pre-optimization done (n=4937): time 7.204e-06/1.709, allocations: 0 / 0.8414 GB, free: 126.3 MB / 458.8 MB Notification: Performance of matching and sorting (n=4941): time 10.74/12.45, allocations: 2.9 GB / 3.741 GB, free: 3.469 MB / 1.932 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005156/12.46, allocations: 7.194 MB / 3.748 GB, free: 12.55 MB / 1.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002784/12.46, allocations: 1.506 MB / 3.75 GB, free: 11.03 MB / 1.948 GB Notification: Performance of collectPreVariables (initialization): time 0.005696/12.47, allocations: 3.924 MB / 3.754 GB, free: 7.086 MB / 1.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0015/12.47, allocations: 1.034 MB / 3.755 GB, free: 6.039 MB / 1.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.02642/12.49, allocations: 21.23 MB / 3.775 GB, free: 0.9102 MB / 1.964 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006706/12.5, allocations: 1.497 MB / 3.777 GB, free: 15.42 MB / 1.979 GB Notification: Performance of setup shared object (initialization): time 0.00773/12.51, allocations: 3.457 MB / 3.78 GB, free: 11.96 MB / 1.979 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04982/12.56, allocations: 26.19 MB / 3.806 GB, free: 1.742 MB / 1.995 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5554/13.11, allocations: 57.89 MB / 3.862 GB, free: 1.604 GB / 1.995 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08303/13.2, allocations: 86.39 MB / 3.947 GB, free: 1.529 GB / 1.995 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002674/13.2, allocations: 307.7 kB / 3.947 GB, free: 1.529 GB / 1.995 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.1368/13.34, allocations: 85.52 MB / 4.031 GB, free: 1.452 GB / 1.995 GB Notification: Performance of prepare postOptimizeDAE: time 0.001594/13.34, allocations: 490.3 kB / 4.031 GB, free: 1.451 GB / 1.995 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001995/13.34, allocations: 1.027 MB / 4.032 GB, free: 1.45 GB / 1.995 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004452/13.35, allocations: 2.18 MB / 4.034 GB, free: 1.448 GB / 1.995 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03415/13.38, allocations: 10.53 MB / 4.044 GB, free: 1.438 GB / 1.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/13.39, allocations: 12.64 MB / 4.057 GB, free: 1.425 GB / 1.995 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03057/13.42, allocations: 2.428 MB / 4.059 GB, free: 1.423 GB / 1.995 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01031/13.43, allocations: 3.562 MB / 4.063 GB, free: 1.419 GB / 1.995 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.0351/13.47, allocations: 14.48 MB / 4.077 GB, free: 1.406 GB / 1.995 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008534/13.48, allocations: 2.218 MB / 4.079 GB, free: 1.405 GB / 1.995 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.22/20.7, allocations: 8.838 GB / 12.92 GB, free: 0.8332 GB / 1.995 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.999e-05/20.7, allocations: 19.41 kB / 12.92 GB, free: 0.8332 GB / 1.995 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/20.7, allocations: 4 kB / 12.92 GB, free: 0.8332 GB / 1.995 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.868e-05/20.7, allocations: 7.969 kB / 12.92 GB, free: 0.8332 GB / 1.995 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.53/28.23, allocations: 8.861 GB / 21.78 GB, free: 236.4 MB / 1.995 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.734e-05/28.23, allocations: 4 kB / 21.78 GB, free: 236.4 MB / 1.995 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008413/28.23, allocations: 160.5 kB / 21.78 GB, free: 236.3 MB / 1.995 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00161/28.23, allocations: 0.6941 MB / 21.78 GB, free: 235.6 MB / 1.995 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006626/28.24, allocations: 0.7695 MB / 21.78 GB, free: 234.8 MB / 1.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00918/28.24, allocations: 10.42 MB / 21.79 GB, free: 224.1 MB / 1.995 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/28.24, allocations: 6.109 kB / 21.79 GB, free: 224.1 MB / 1.995 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.873/36.12, allocations: 8.89 GB / 30.68 GB, free: 1.238 GB / 1.995 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01544/36.13, allocations: 5.908 MB / 30.69 GB, free: 1.233 GB / 1.995 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006655/36.14, allocations: 0.6172 MB / 30.69 GB, free: 1.232 GB / 1.995 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01031/36.15, allocations: 0.6671 MB / 30.69 GB, free: 1.231 GB / 1.995 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003526/36.15, allocations: 0.5537 MB / 30.69 GB, free: 1.231 GB / 1.995 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003418/36.16, allocations: 1.218 MB / 30.69 GB, free: 1.23 GB / 1.995 GB Notification: Performance of sorting global known variables: time 0.001506/36.16, allocations: 1.065 MB / 30.69 GB, free: 1.229 GB / 1.995 GB Notification: Performance of sort global known variables: time 2.21e-07/36.16, allocations: 2.812 kB / 30.69 GB, free: 1.229 GB / 1.995 GB Notification: Performance of remove unused functions: time 0.04259/36.2, allocations: 9.547 MB / 30.7 GB, free: 1.219 GB / 1.995 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.005861/36.21, allocations: 0.9989 MB / 30.7 GB, free: 1.218 GB / 1.995 GB Notification: Performance of simCode: created initialization part: time 0.1054/36.31, allocations: 81.74 MB / 30.78 GB, free: 1.14 GB / 1.995 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/36.31, allocations: 0 / 30.78 GB, free: 1.14 GB / 1.995 GB Notification: Performance of simCode: created simulation system equations: time 19.16/55.47, allocations: 28.58 GB / 59.36 GB, free: 491 MB / 1.995 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01563/55.49, allocations: 1.661 MB / 59.36 GB, free: 489.4 MB / 1.995 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1015/55.59, allocations: 60.51 MB / 59.42 GB, free: 429.2 MB / 1.995 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01756/55.61, allocations: 8.861 MB / 59.43 GB, free: 420.3 MB / 1.995 GB Notification: Performance of simCode: alias equations: time 0.0106/55.62, allocations: 4.087 MB / 59.43 GB, free: 416.2 MB / 1.995 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008/55.62, allocations: 1.269 MB / 59.43 GB, free: 415 MB / 1.995 GB Notification: Performance of SimCode: time 1.203e-06/55.62, allocations: 0 / 59.43 GB, free: 415 MB / 1.995 GB Notification: Performance of Templates: time 0.3848/56.01, allocations: 261.9 MB / 59.69 GB, free: 154.6 MB / 1.995 GB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Blocks.Examples.Rectifier6pulseFFT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches