Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT.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.Rectifier12pulseFFT,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.Rectifier12pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier12pulseFFT,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.Rectifier12pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 196.2 kB / 18.1 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 226.5 MB / 245.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008031/0.0008031, allocations: 94.92 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002347/0.0002351, allocations: 8 kB / 358.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2438, allocations: 51.28 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1133/0.3571, allocations: 96.44 MB / 0.4939 GB, free: 11.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.3574, allocations: 75.75 kB / 0.494 GB, free: 10.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.744/1.101, allocations: 167.3 MB / 0.6574 GB, free: 15.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.286e-06/1.101, allocations: 0 / 0.6574 GB, free: 15.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000847/1.102, allocations: 263.9 kB / 0.6576 GB, free: 15.64 MB / 442.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.4693/1.572, allocations: 16.12 MB / 0.6734 GB, free: 41.57 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.252e-05/1.572, allocations: 9.812 kB / 0.6734 GB, free: 41.57 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006448/1.578, allocations: 1.768 MB / 0.6751 GB, free: 40.66 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/1.591, allocations: 5.598 MB / 0.6806 GB, free: 40.2 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002615/1.591, allocations: 300.7 kB / 0.6809 GB, free: 40.19 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002073/1.593, allocations: 389.3 kB / 0.6812 GB, free: 40.19 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04682/1.64, allocations: 27.91 MB / 0.7085 GB, free: 39.27 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001633/1.64, allocations: 192 / 0.7085 GB, free: 39.27 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002303/1.643, allocations: 177.3 kB / 0.7086 GB, free: 39.26 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002064/1.643, allocations: 207 kB / 0.7088 GB, free: 39.25 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03763/1.68, allocations: 24.21 MB / 0.7325 GB, free: 29.71 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05788/1.738, allocations: 28.71 MB / 0.7605 GB, free: 18 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.08288/1.821, allocations: 84.61 MB / 0.8432 GB, free: 13.92 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3142/2.136, allocations: 79.53 MB / 0.9208 GB, free: 71.82 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004663/2.136, allocations: 149 kB / 0.921 GB, free: 71.73 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0394/2.176, allocations: 29.08 MB / 0.9494 GB, free: 58.63 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=5058): time 5.911e-06/2.176, allocations: 0 / 0.9494 GB, free: 58.63 MB / 0.4949 GB Notification: Performance of matching and sorting (n=5065): time 11.9/14.08, allocations: 2.915 GB / 3.864 GB, free: 0.5352 MB / 1.979 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006901/14.08, allocations: 7.357 MB / 3.871 GB, free: 9.414 MB / 1.995 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005075/14.09, allocations: 2.642 MB / 3.874 GB, free: 6.762 MB / 1.995 GB Notification: Performance of collectPreVariables (initialization): time 0.396/14.48, allocations: 3.952 MB / 3.878 GB, free: 1.601 GB / 1.995 GB Notification: Performance of collectInitialEqns (initialization): time 0.002567/14.49, allocations: 1.747 MB / 3.88 GB, free: 1.6 GB / 1.995 GB Notification: Performance of collectInitialBindings (initialization): time 0.02477/14.51, allocations: 21.63 MB / 3.901 GB, free: 1.588 GB / 1.995 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009213/14.52, allocations: 1.515 MB / 3.902 GB, free: 1.588 GB / 1.995 GB Notification: Performance of setup shared object (initialization): time 0.008242/14.53, allocations: 3.503 MB / 3.906 GB, free: 1.587 GB / 1.995 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05719/14.59, allocations: 26.83 MB / 3.932 GB, free: 1.587 GB / 1.995 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.08324/14.67, allocations: 58.72 MB / 3.989 GB, free: 1.542 GB / 1.995 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08984/14.76, allocations: 87.84 MB / 4.075 GB, free: 1.461 GB / 1.995 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001794/14.76, allocations: 300 kB / 4.075 GB, free: 1.46 GB / 1.995 GB Notification: Performance of matching and sorting (n=9915) (initialization): time 0.1642/14.93, allocations: 87.68 MB / 4.161 GB, free: 1.383 GB / 1.995 GB Notification: Performance of prepare postOptimizeDAE: time 0.001384/14.93, allocations: 481.7 kB / 4.161 GB, free: 1.382 GB / 1.995 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002214/14.93, allocations: 1.039 MB / 4.162 GB, free: 1.381 GB / 1.995 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006322/14.94, allocations: 2.869 MB / 4.165 GB, free: 1.378 GB / 1.995 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03631/14.97, allocations: 10.72 MB / 4.176 GB, free: 1.368 GB / 1.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02172/14.99, allocations: 25.61 MB / 4.201 GB, free: 1.341 GB / 1.995 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03573/15.03, allocations: 2.492 MB / 4.203 GB, free: 1.339 GB / 1.995 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0125/15.04, allocations: 3.602 MB / 4.207 GB, free: 1.336 GB / 1.995 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.05065/15.09, allocations: 15.08 MB / 4.221 GB, free: 1.321 GB / 1.995 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007623/15.1, allocations: 2.346 MB / 4.224 GB, free: 1.318 GB / 1.995 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.47/23.57, allocations: 8.84 GB / 13.06 GB, free: 0.5766 GB / 1.995 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/23.57, allocations: 30.25 kB / 13.06 GB, free: 0.5766 GB / 1.995 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.799e-05/23.57, allocations: 12 kB / 13.06 GB, free: 0.5766 GB / 1.995 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.65e-05/23.57, allocations: 11.95 kB / 13.06 GB, free: 0.5766 GB / 1.995 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.034/32.6, allocations: 8.864 GB / 21.93 GB, free: 1.411 GB / 1.995 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.148e-05/32.61, allocations: 0 / 21.93 GB, free: 1.411 GB / 1.995 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/32.61, allocations: 303.4 kB / 21.93 GB, free: 1.411 GB / 1.995 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003265/32.61, allocations: 1.384 MB / 21.93 GB, free: 1.409 GB / 1.995 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005316/32.62, allocations: 0.8014 MB / 21.93 GB, free: 1.409 GB / 1.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01861/32.63, allocations: 23.23 MB / 21.95 GB, free: 1.385 GB / 1.995 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/32.63, allocations: 2.906 kB / 21.95 GB, free: 1.385 GB / 1.995 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.847/41.48, allocations: 8.892 GB / 30.84 GB, free: 0.5733 GB / 1.995 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01805/41.5, allocations: 6.186 MB / 30.85 GB, free: 0.5681 GB / 1.995 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008585/41.51, allocations: 0.6484 MB / 30.85 GB, free: 0.5675 GB / 1.995 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01353/41.52, allocations: 0.722 MB / 30.85 GB, free: 0.5668 GB / 1.995 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005767/41.53, allocations: 0.6549 MB / 30.85 GB, free: 0.5661 GB / 1.995 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.007464/41.53, allocations: 1.246 MB / 30.85 GB, free: 0.5649 GB / 1.995 GB Notification: Performance of sorting global known variables: time 0.004459/41.54, allocations: 1.849 MB / 30.86 GB, free: 0.5631 GB / 1.995 GB Notification: Performance of sort global known variables: time 8.21e-07/41.54, allocations: 0 / 30.86 GB, free: 0.5631 GB / 1.995 GB Notification: Performance of remove unused functions: time 0.06487/41.6, allocations: 9.994 MB / 30.87 GB, free: 0.5534 GB / 1.995 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.009336/41.61, allocations: 1.053 MB / 30.87 GB, free: 0.5525 GB / 1.995 GB Notification: Performance of simCode: created initialization part: time 0.1325/41.75, allocations: 84.22 MB / 30.95 GB, free: 482.9 MB / 1.995 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/41.75, allocations: 0 / 30.95 GB, free: 482.9 MB / 1.995 GB Notification: Performance of simCode: created simulation system equations: time 22.9/64.65, allocations: 28.59 GB / 59.54 GB, free: 0.6589 GB / 1.995 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02148/64.67, allocations: 2.09 MB / 59.54 GB, free: 0.657 GB / 1.995 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1257/64.8, allocations: 64.98 MB / 59.6 GB, free: 0.5944 GB / 1.995 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02977/64.83, allocations: 9.984 MB / 59.61 GB, free: 0.5846 GB / 1.995 GB Notification: Performance of simCode: alias equations: time 0.01424/64.84, allocations: 4.357 MB / 59.62 GB, free: 0.5804 GB / 1.995 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008726/64.85, allocations: 1.338 MB / 59.62 GB, free: 0.5791 GB / 1.995 GB Notification: Performance of SimCode: time 1.623e-06/64.85, allocations: 0 / 59.62 GB, free: 0.5791 GB / 1.995 GB Notification: Performance of Templates: time 0.4256/65.27, allocations: 289.9 MB / 59.9 GB, free: 306 MB / 1.995 GB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Rectifier12pulseFFT/Rectifier12pulseFFT.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches