Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFT.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.Rectifier12pulseFFT,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_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier12pulseFFT,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_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001647/0.001647, allocations: 181.6 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.07/4.07, allocations: 205.4 MB / 223.6 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.001231/0.001231, allocations: 89.39 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007761/0.0007766, allocations: 19.98 kB / 328.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5629/0.5637, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2457/0.8095, allocations: 95.01 MB / 470.7 MB, free: 1.586 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0007489/0.8104, allocations: 79.97 kB / 470.8 MB, free: 1.508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.578/2.388, allocations: 166.7 MB / 0.6226 GB, free: 6.215 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.733e-06/2.388, allocations: 0 / 0.6226 GB, free: 6.215 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.001571/2.39, allocations: 267.8 kB / 0.6228 GB, free: 5.953 MB / 394.7 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.07854/2.469, allocations: 16.07 MB / 0.6385 GB, free: 5.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.376e-05/2.469, allocations: 8.031 kB / 0.6385 GB, free: 5.742 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01459/2.483, allocations: 1.735 MB / 0.6402 GB, free: 3.984 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5636/3.047, allocations: 5.597 MB / 0.6457 GB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006957/3.048, allocations: 294.3 kB / 0.646 GB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01221/3.06, allocations: 390.6 kB / 0.6464 GB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1047/3.165, allocations: 27.93 MB / 0.6736 GB, free: 40.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002919/3.165, allocations: 5.656 kB / 0.6736 GB, free: 40.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008793/3.174, allocations: 170.7 kB / 0.6738 GB, free: 40.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003788/3.174, allocations: 208.5 kB / 0.674 GB, free: 40.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08065/3.255, allocations: 24.23 MB / 0.6977 GB, free: 30.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1055/3.361, allocations: 28.74 MB / 0.7257 GB, free: 19.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1702/3.531, allocations: 84.44 MB / 0.8082 GB, free: 13.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.157/4.688, allocations: 79.53 MB / 0.8859 GB, free: 64.8 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009937/4.689, allocations: 151.1 kB / 0.886 GB, free: 64.7 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1194/4.808, allocations: 29.07 MB / 0.9144 GB, free: 51.61 MB / 474.8 MB Notification: Performance of pre-optimization done (n=5058): time 1.821e-05/4.808, allocations: 0 / 0.9144 GB, free: 51.61 MB / 474.8 MB Notification: Performance of matching and sorting (n=5065): time 30.1/34.91, allocations: 2.914 GB / 3.828 GB, free: 150.1 MB / 1.886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006634/34.91, allocations: 7.359 MB / 3.836 GB, free: 143 MB / 1.886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007914/34.92, allocations: 2.645 MB / 3.838 GB, free: 140.3 MB / 1.886 GB Notification: Performance of collectPreVariables (initialization): time 0.0322/34.95, allocations: 3.948 MB / 3.842 GB, free: 136.3 MB / 1.886 GB Notification: Performance of collectInitialEqns (initialization): time 0.01409/34.97, allocations: 1.744 MB / 3.844 GB, free: 134.6 MB / 1.886 GB Notification: Performance of collectInitialBindings (initialization): time 0.07299/35.04, allocations: 21.63 MB / 3.865 GB, free: 113.1 MB / 1.886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0144/35.05, allocations: 1.518 MB / 3.866 GB, free: 111.5 MB / 1.886 GB Notification: Performance of setup shared object (initialization): time 0.01165/35.07, allocations: 3.507 MB / 3.87 GB, free: 108 MB / 1.886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.08637/35.15, allocations: 26.83 MB / 3.896 GB, free: 81.17 MB / 1.886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1197/35.27, allocations: 58.72 MB / 3.953 GB, free: 9.023 MB / 1.886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2292/35.5, allocations: 87.84 MB / 4.039 GB, free: 2.781 MB / 1.979 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.003288/35.5, allocations: 304 kB / 4.039 GB, free: 2.484 MB / 1.979 GB Notification: Performance of matching and sorting (n=9915) (initialization): time 0.3381/35.84, allocations: 87.67 MB / 4.125 GB, free: 10.71 MB / 2.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003901/35.85, allocations: 485.7 kB / 4.125 GB, free: 10.23 MB / 2.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005134/35.85, allocations: 1.031 MB / 4.126 GB, free: 9.195 MB / 2.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01327/35.86, allocations: 2.868 MB / 4.129 GB, free: 6.301 MB / 2.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0675/35.93, allocations: 10.72 MB / 4.14 GB, free: 11.55 MB / 2.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05542/35.99, allocations: 25.61 MB / 4.165 GB, free: 0.6719 MB / 2.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1041/36.09, allocations: 2.498 MB / 4.167 GB, free: 14.18 MB / 2.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.04058/36.13, allocations: 3.598 MB / 4.171 GB, free: 10.58 MB / 2.12 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 () * Number of clocked 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.1273/36.26, allocations: 15.08 MB / 4.185 GB, free: 11.44 MB / 2.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02572/36.29, allocations: 2.354 MB / 4.188 GB, free: 9.062 MB / 2.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 21.19/57.47, allocations: 8.841 GB / 13.03 GB, free: 1.175 GB / 2.714 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.581e-05/57.47, allocations: 31.61 kB / 13.03 GB, free: 1.175 GB / 2.714 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.882e-05/57.47, allocations: 11.19 kB / 13.03 GB, free: 1.175 GB / 2.714 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-05/57.47, allocations: 13.73 kB / 13.03 GB, free: 1.175 GB / 2.714 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 21.99/79.46, allocations: 8.864 GB / 21.89 GB, free: 1.72 GB / 2.714 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.346e-05/79.46, allocations: 0 / 21.89 GB, free: 1.72 GB / 2.714 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00216/79.46, allocations: 288.2 kB / 21.89 GB, free: 1.72 GB / 2.714 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005653/79.47, allocations: 1.38 MB / 21.89 GB, free: 1.718 GB / 2.714 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.01762/79.49, allocations: 0.804 MB / 21.89 GB, free: 1.718 GB / 2.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03391/79.52, allocations: 23.23 MB / 21.92 GB, free: 1.694 GB / 2.714 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/79.52, allocations: 4.031 kB / 21.92 GB, free: 1.694 GB / 2.714 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 21.17/100.7, allocations: 8.892 GB / 30.81 GB, free: 2.199 GB / 2.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.06253/100.7, allocations: 6.187 MB / 30.82 GB, free: 2.194 GB / 2.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01786/100.8, allocations: 0.6512 MB / 30.82 GB, free: 2.194 GB / 2.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02871/100.8, allocations: 0.7184 MB / 30.82 GB, free: 2.193 GB / 2.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01036/100.8, allocations: 0.6557 MB / 30.82 GB, free: 2.192 GB / 2.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01316/100.8, allocations: 1.246 MB / 30.82 GB, free: 2.191 GB / 2.714 GB Notification: Performance of sorting global known variables: time 0.005905/100.8, allocations: 1.851 MB / 30.82 GB, free: 2.19 GB / 2.714 GB Notification: Performance of sort global known variables: time 1.933e-06/100.8, allocations: 3.281 kB / 30.82 GB, free: 2.19 GB / 2.714 GB Notification: Performance of remove unused functions: time 0.09415/100.9, allocations: 9.991 MB / 30.83 GB, free: 2.18 GB / 2.714 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) * Number of clocked states: 0 () * 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.01224/100.9, allocations: 1.065 MB / 30.83 GB, free: 2.179 GB / 2.714 GB Notification: Performance of simCode: created initialization part: time 0.2119/101.1, allocations: 84.21 MB / 30.91 GB, free: 2.108 GB / 2.714 GB Notification: Performance of simCode: created event and clocks part: time 2.758e-05/101.1, allocations: 4.125 kB / 30.91 GB, free: 2.108 GB / 2.714 GB Notification: Performance of simCode: created simulation system equations: time 33.95/135.1, allocations: 28.58 GB / 59.49 GB, free: 1.564 GB / 2.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04566/135.1, allocations: 2.089 MB / 59.5 GB, free: 1.562 GB / 2.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2347/135.4, allocations: 65.61 MB / 59.56 GB, free: 1.499 GB / 2.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04099/135.4, allocations: 9.911 MB / 59.57 GB, free: 1.489 GB / 2.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0157/135.4, allocations: 1.343 MB / 59.57 GB, free: 1.488 GB / 2.714 GB Notification: Performance of SimCode: time 3.106e-06/135.4, allocations: 0 / 59.57 GB, free: 1.488 GB / 2.714 GB Notification: Performance of Templates: time 6.062/141.5, allocations: 1.74 GB / 61.31 GB, free: 2.067 GB / 2.714 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFT.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFT.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFT --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Rectifier12pulseFFT/Rectifier12pulseFFT.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches