Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001516/0.001516, allocations: 180.3 kB / 8.699 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008016/0.0008017, allocations: 90.22 kB / 262.4 MB, free: 1.695 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.989e-05/1.992e-05, allocations: 4 kB / 315.5 MB, free: 22.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1023, allocations: 47.59 MB / 363.1 MB, free: 7.094 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3448/0.4472, allocations: 94.32 MB / 457.4 MB, free: 1.473 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.4475, allocations: 69.16 kB / 457.5 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9787/1.426, allocations: 165.4 MB / 0.6083 GB, free: 70.79 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.884e-06/1.426, allocations: 3.938 kB / 0.6083 GB, free: 70.79 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0008542/1.427, allocations: 263 kB / 0.6086 GB, free: 70.77 MB / 410.8 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.03047/1.458, allocations: 15.83 MB / 0.624 GB, free: 57.15 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/1.458, allocations: 12.03 kB / 0.624 GB, free: 57.14 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006005/1.464, allocations: 1.737 MB / 0.6257 GB, free: 55.38 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01806/1.482, allocations: 8.778 MB / 0.6343 GB, free: 46.73 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/1.482, allocations: 128.3 kB / 0.6344 GB, free: 46.6 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001979/1.484, allocations: 236 kB / 0.6346 GB, free: 46.37 MB / 410.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03344/1.517, allocations: 23.78 MB / 0.6579 GB, free: 22.58 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04647/1.564, allocations: 27.16 MB / 0.6844 GB, free: 11.24 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001073/1.564, allocations: 11.92 kB / 0.6844 GB, free: 11.23 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001317/1.565, allocations: 4 kB / 0.6844 GB, free: 11.23 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002472/1.566, allocations: 204 kB / 0.6846 GB, free: 11.02 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3212/1.887, allocations: 25.88 MB / 0.7099 GB, free: 80.77 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06277/1.95, allocations: 83.37 MB / 0.7913 GB, free: 20.67 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3605/2.31, allocations: 79.78 MB / 0.8692 GB, free: 102.4 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005338/2.311, allocations: 154.5 kB / 0.8693 GB, free: 102.3 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05311/2.364, allocations: 28.88 MB / 0.8975 GB, free: 101.5 MB / 458.8 MB Notification: Performance of pre-optimization done (n=5058): time 1.17e-05/2.364, allocations: 0.8438 kB / 0.8975 GB, free: 101.5 MB / 458.8 MB Notification: Performance of matching and sorting (n=5065): time 11.25/13.61, allocations: 2.176 GB / 3.074 GB, free: 6.457 MB / 1.87 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005211/13.62, allocations: 7.357 MB / 3.081 GB, free: 15.34 MB / 1.886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003753/13.62, allocations: 1.829 MB / 3.082 GB, free: 13.48 MB / 1.886 GB Notification: Performance of collectPreVariables (initialization): time 0.005642/13.63, allocations: 3.174 MB / 3.086 GB, free: 10.29 MB / 1.886 GB Notification: Performance of collectInitialEqns (initialization): time 0.002086/13.63, allocations: 1.763 MB / 3.087 GB, free: 8.508 MB / 1.886 GB Notification: Performance of collectInitialBindings (initialization): time 0.02758/13.66, allocations: 21.23 MB / 3.108 GB, free: 2.984 MB / 1.901 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007214/13.66, allocations: 0 / 3.108 GB, free: 2.984 MB / 1.901 GB Notification: Performance of setup shared object (initialization): time 0.008225/13.67, allocations: 3.503 MB / 3.111 GB, free: 15.47 MB / 1.917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05617/13.73, allocations: 24.77 MB / 3.136 GB, free: 6.691 MB / 1.932 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.08306/13.81, allocations: 55.9 MB / 3.19 GB, free: 1.379 MB / 1.995 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0586/13.87, allocations: 36.38 MB / 3.226 GB, free: 13.61 MB / 2.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002247/13.87, allocations: 300 kB / 3.226 GB, free: 13.31 MB / 2.042 GB Notification: Performance of matching and sorting (n=9915) (initialization): time 0.1593/14.03, allocations: 77.46 MB / 3.302 GB, free: 15.77 MB / 2.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.001065/14.03, allocations: 481.7 kB / 3.302 GB, free: 15.29 MB / 2.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002004/14.04, allocations: 1.039 MB / 3.303 GB, free: 14.25 MB / 2.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007476/14.04, allocations: 2.985 MB / 3.306 GB, free: 11.25 MB / 2.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04036/14.08, allocations: 10.72 MB / 3.317 GB, free: 0.5039 MB / 2.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02796/14.11, allocations: 24.69 MB / 3.341 GB, free: 6.727 MB / 2.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05761/14.17, allocations: 0.9783 MB / 3.342 GB, free: 5.75 MB / 2.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01519/14.18, allocations: 3.598 MB / 3.345 GB, free: 2.152 MB / 2.151 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 () * 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.0315/14.22, allocations: 9.496 MB / 3.354 GB, free: 8.598 MB / 2.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008088/14.22, allocations: 2.323 MB / 3.357 GB, free: 6.258 MB / 2.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.141/15.36, allocations: 78.32 MB / 3.433 GB, free: 1.773 GB / 2.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.324e-05/15.37, allocations: 27.86 kB / 3.433 GB, free: 1.773 GB / 2.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.361e-05/15.37, allocations: 8.547 kB / 3.433 GB, free: 1.773 GB / 2.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.378e-05/15.37, allocations: 16.22 kB / 3.433 GB, free: 1.773 GB / 2.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7905/16.16, allocations: 101.1 MB / 3.532 GB, free: 1.752 GB / 2.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.446e-05/16.16, allocations: 0 / 3.532 GB, free: 1.752 GB / 2.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/16.16, allocations: 298.1 kB / 3.532 GB, free: 1.752 GB / 2.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003359/16.16, allocations: 1.354 MB / 3.534 GB, free: 1.752 GB / 2.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004838/16.17, allocations: 0.7613 MB / 3.534 GB, free: 1.752 GB / 2.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0176/16.18, allocations: 22.39 MB / 3.556 GB, free: 1.736 GB / 2.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/16.18, allocations: 1.75 kB / 3.556 GB, free: 1.736 GB / 2.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8132/17, allocations: 130.6 MB / 3.684 GB, free: 1.631 GB / 2.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02774/17.02, allocations: 6.29 MB / 3.69 GB, free: 1.625 GB / 2.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006799/17.03, allocations: 0.6122 MB / 3.69 GB, free: 1.625 GB / 2.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01063/17.04, allocations: 0.6748 MB / 3.691 GB, free: 1.624 GB / 2.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005884/17.05, allocations: 0.654 MB / 3.692 GB, free: 1.624 GB / 2.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005671/17.05, allocations: 1.242 MB / 3.693 GB, free: 1.622 GB / 2.229 GB Notification: Performance of sorting global known variables: time 0.002254/17.06, allocations: 1.399 MB / 3.694 GB, free: 1.621 GB / 2.229 GB Notification: Performance of sort global known variables: time 2.21e-07/17.06, allocations: 7.75 kB / 3.694 GB, free: 1.621 GB / 2.229 GB Notification: Performance of remove unused functions: time 0.05093/17.11, allocations: 8.416 MB / 3.703 GB, free: 1.613 GB / 2.229 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) * 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.006085/17.11, allocations: 0.9941 MB / 3.704 GB, free: 1.612 GB / 2.229 GB Notification: Performance of simCode: created initialization part: time 0.1144/17.23, allocations: 79.38 MB / 3.781 GB, free: 1.535 GB / 2.229 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/17.23, allocations: 0 / 3.781 GB, free: 1.535 GB / 2.229 GB Notification: Performance of simCode: created simulation system equations: time 57/74.22, allocations: 28.61 GB / 32.39 GB, free: 1.782 GB / 2.464 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0123/74.24, allocations: 1.21 MB / 32.39 GB, free: 1.781 GB / 2.464 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1226/74.36, allocations: 69.6 MB / 32.46 GB, free: 1.714 GB / 2.464 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02063/74.38, allocations: 10.28 MB / 32.47 GB, free: 1.704 GB / 2.464 GB Notification: Performance of simCode: alias equations: time 0.01304/74.39, allocations: 4.293 MB / 32.47 GB, free: 1.7 GB / 2.464 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00757/74.4, allocations: 1.316 MB / 32.48 GB, free: 1.698 GB / 2.464 GB Notification: Performance of SimCode: time 1.052e-06/74.4, allocations: 0 / 32.48 GB, free: 1.698 GB / 2.464 GB Notification: Performance of Templates: time 0.4139/74.81, allocations: 265.8 MB / 32.74 GB, free: 1.441 GB / 2.464 GB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT_res.mat","/var/lib/jenkins/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_Modelica.Blocks.Examples.Rectifier12pulseFFT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches