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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001122/0.001122, allocations: 209.1 kB / 8.543 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.258/1.258, allocations: 225.5 MB / 234.4 MB, free: 3.453 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008991/0.0008989, allocations: 92.33 kB / 286.3 MB, free: 5.176 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.422e-06/6.543e-06, allocations: 0 / 343.1 MB, free: 8.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09613/0.09615, allocations: 51.48 MB / 394.6 MB, free: 5.242 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2616/0.3578, allocations: 95.62 MB / 490.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/0.358, allocations: 71.11 kB / 490.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.9119/1.27, allocations: 165.7 MB / 0.6406 GB, free: 60.27 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.0005321/1.27, allocations: 264.5 kB / 0.6409 GB, free: 60.25 MB / 442.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.03423/1.305, allocations: 15.89 MB / 0.6564 GB, free: 53.58 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/1.305, allocations: 8.438 kB / 0.6564 GB, free: 53.58 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006548/1.311, allocations: 1.777 MB / 0.6582 GB, free: 52.58 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02262/1.334, allocations: 8.79 MB / 0.6667 GB, free: 48.82 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/1.334, allocations: 128.7 kB / 0.6669 GB, free: 48.82 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002172/1.336, allocations: 229.3 kB / 0.6671 GB, free: 48.82 MB / 442.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03168/1.368, allocations: 24.16 MB / 0.6907 GB, free: 37.09 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04177/1.41, allocations: 27.51 MB / 0.7175 GB, free: 15.25 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.929e-05/1.41, allocations: 3.938 kB / 0.7175 GB, free: 15.24 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009443/1.411, allocations: 19.38 kB / 0.7176 GB, free: 15.23 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/1.411, allocations: 204.3 kB / 0.7178 GB, free: 15.04 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04385/1.455, allocations: 26.05 MB / 0.7432 GB, free: 7.309 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2707/1.726, allocations: 80.4 MB / 0.8217 GB, free: 63.19 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3023/2.028, allocations: 80.65 MB / 0.9005 GB, free: 115.6 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005381/2.029, allocations: 146.1 kB / 0.9006 GB, free: 115.5 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0514/2.08, allocations: 29.25 MB / 0.9292 GB, free: 112.8 MB / 458.8 MB Notification: Performance of pre-optimization done (n=5058): time 1.093e-05/2.08, allocations: 2.969 kB / 0.9292 GB, free: 112.8 MB / 458.8 MB Notification: Performance of matching and sorting (n=5065): time 11.73/13.81, allocations: 4.942 GB / 5.871 GB, free: 1.231 GB / 2.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003777/13.82, allocations: 7.36 MB / 5.878 GB, free: 1.227 GB / 2.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002789/13.82, allocations: 1.864 MB / 5.88 GB, free: 1.226 GB / 2.073 GB Notification: Performance of collectPreVariables (initialization): time 0.004277/13.83, allocations: 3.472 MB / 5.883 GB, free: 1.223 GB / 2.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009226/13.83, allocations: 1.395 MB / 5.884 GB, free: 1.223 GB / 2.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.01357/13.84, allocations: 21.24 MB / 5.905 GB, free: 1.207 GB / 2.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003373/13.84, allocations: 4 kB / 5.905 GB, free: 1.207 GB / 2.073 GB Notification: Performance of setup shared object (initialization): time 0.002486/13.85, allocations: 3.503 MB / 5.909 GB, free: 1.205 GB / 2.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02905/13.87, allocations: 26.31 MB / 5.934 GB, free: 1.187 GB / 2.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03974/13.91, allocations: 57.46 MB / 5.99 GB, free: 1.122 GB / 2.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04198/13.96, allocations: 38.52 MB / 6.028 GB, free: 1.092 GB / 2.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001146/13.96, allocations: 307.9 kB / 6.028 GB, free: 1.091 GB / 2.073 GB Notification: Performance of matching and sorting (n=9915) (initialization): time 0.1125/14.07, allocations: 80.12 MB / 6.107 GB, free: 1.016 GB / 2.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/14.07, allocations: 4 kB / 6.107 GB, free: 1.016 GB / 2.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00243/14.07, allocations: 1.031 MB / 6.108 GB, free: 1.015 GB / 2.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00523/14.08, allocations: 3.028 MB / 6.111 GB, free: 1.012 GB / 2.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02993/14.11, allocations: 10.73 MB / 6.121 GB, free: 1.002 GB / 2.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01721/14.13, allocations: 24.05 MB / 6.145 GB, free: 0.977 GB / 2.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02779/14.15, allocations: 0.9648 MB / 6.145 GB, free: 0.9761 GB / 2.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006987/14.16, allocations: 3.598 MB / 6.149 GB, free: 0.9726 GB / 2.073 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.01603/14.18, allocations: 9.486 MB / 6.158 GB, free: 0.9632 GB / 2.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003737/14.18, allocations: 2.315 MB / 6.161 GB, free: 0.961 GB / 2.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.961/16.14, allocations: 2.153 GB / 8.314 GB, free: 1.112 GB / 2.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.937e-05/16.14, allocations: 28 kB / 8.314 GB, free: 1.112 GB / 2.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/16.14, allocations: 14.58 kB / 8.314 GB, free: 1.112 GB / 2.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-05/16.14, allocations: 10.64 kB / 8.314 GB, free: 1.112 GB / 2.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.615/19.76, allocations: 2.177 GB / 10.49 GB, free: 1.438 GB / 2.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.487e-06/19.76, allocations: 1.906 kB / 10.49 GB, free: 1.438 GB / 2.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/19.76, allocations: 308.4 kB / 10.49 GB, free: 1.438 GB / 2.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002868/19.76, allocations: 1.401 MB / 10.49 GB, free: 1.437 GB / 2.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001687/19.76, allocations: 0.7598 MB / 10.49 GB, free: 1.437 GB / 2.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01541/19.78, allocations: 21.88 MB / 10.51 GB, free: 1.42 GB / 2.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/19.78, allocations: 4 kB / 10.51 GB, free: 1.42 GB / 2.276 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 1.685/21.46, allocations: 2.201 GB / 12.72 GB, free: 1.179 GB / 2.277 GB Notification: Performance of postOpt removeConstants (simulation): time 0.7399/22.2, allocations: 7.183 MB / 12.72 GB, free: 1.173 GB / 2.277 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00336/22.21, allocations: 0.6158 MB / 12.72 GB, free: 1.173 GB / 2.277 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006106/22.21, allocations: 0.6676 MB / 12.72 GB, free: 1.172 GB / 2.277 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00199/22.21, allocations: 0.5833 MB / 12.72 GB, free: 1.172 GB / 2.277 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001862/22.22, allocations: 1.249 MB / 12.73 GB, free: 1.17 GB / 2.277 GB Notification: Performance of sort global known variables: time 0.001789/22.22, allocations: 1.427 MB / 12.73 GB, free: 1.169 GB / 2.277 GB Notification: Performance of remove unused functions: time 0.03456/22.25, allocations: 8.385 MB / 12.74 GB, free: 1.161 GB / 2.277 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.001844/22.25, allocations: 0.9904 MB / 12.74 GB, free: 1.16 GB / 2.277 GB Notification: Performance of simCode: created initialization part: time 0.07763/22.33, allocations: 82.19 MB / 12.82 GB, free: 1.088 GB / 2.277 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/22.33, allocations: 0 / 12.82 GB, free: 1.088 GB / 2.277 GB Notification: Performance of simCode: created simulation system equations: time 34.04/56.37, allocations: 29.1 GB / 41.92 GB, free: 2.142 GB / 2.59 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006803/56.38, allocations: 1.184 MB / 41.92 GB, free: 2.142 GB / 2.59 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0814/56.46, allocations: 72.73 MB / 41.99 GB, free: 2.101 GB / 2.59 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01208/56.47, allocations: 11.54 MB / 42 GB, free: 2.092 GB / 2.59 GB Notification: Performance of SimCode: time 6.71e-07/56.47, allocations: 6.188 kB / 42 GB, free: 2.092 GB / 2.59 GB Notification: Performance of Templates: time 0.3253/56.8, allocations: 264.4 MB / 42.26 GB, free: 1.843 GB / 2.59 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/jenkins/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