Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.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.Rectifier6pulseFFT,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.Rectifier6pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier6pulseFFT,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.Rectifier6pulseFFT") [: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.001151/0.001151, allocations: 202.9 kB / 8.542 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, 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.0008865/0.0008865, allocations: 87.5 kB / 286.3 MB, free: 5.164 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.746e-06/8.986e-06, allocations: 0 / 343.1 MB, free: 8.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1043, allocations: 51.48 MB / 394.6 MB, free: 5.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2692/0.3735, allocations: 94 MB / 488.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001861/0.3737, allocations: 77.64 kB / 488.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.8013/1.175, allocations: 113.1 MB / 0.5877 GB, free: 62.13 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.0009767/1.176, allocations: 210.9 kB / 0.5879 GB, free: 62.12 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: 5386 * Number of variables: 5386 Notification: Performance of Generate backend data structure: time 0.02885/1.205, allocations: 14.31 MB / 0.6019 GB, free: 57.77 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/1.205, allocations: 7.469 kB / 0.6019 GB, free: 57.77 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005643/1.211, allocations: 1.518 MB / 0.6034 GB, free: 56.88 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01759/1.228, allocations: 7.618 MB / 0.6108 GB, free: 55.6 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/1.228, allocations: 75.69 kB / 0.6109 GB, free: 55.6 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001598/1.23, allocations: 140.2 kB / 0.611 GB, free: 55.59 MB / 442.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02534/1.255, allocations: 22.15 MB / 0.6326 GB, free: 52.04 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03162/1.287, allocations: 25.2 MB / 0.6572 GB, free: 39.94 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.232e-05/1.287, allocations: 4.969 kB / 0.6572 GB, free: 39.94 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005717/1.288, allocations: 7.156 kB / 0.6573 GB, free: 39.93 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/1.288, allocations: 115.9 kB / 0.6574 GB, free: 39.92 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03626/1.324, allocations: 18.78 MB / 0.6757 GB, free: 32.18 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1964/1.521, allocations: 79.53 MB / 0.7534 GB, free: 107.6 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.04604/1.567, allocations: 78.51 MB / 0.83 GB, free: 62.01 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003328/1.567, allocations: 129.2 kB / 0.8302 GB, free: 61.92 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03793/1.605, allocations: 28.45 MB / 0.8579 GB, free: 49.16 MB / 458.8 MB Notification: Performance of pre-optimization done (n=4937): time 7.394e-06/1.605, allocations: 0 / 0.8579 GB, free: 49.16 MB / 458.8 MB Notification: Performance of matching and sorting (n=4941): time 10.91/12.51, allocations: 4.931 GB / 5.789 GB, free: 1.426 GB / 2.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003293/12.52, allocations: 7.197 MB / 5.796 GB, free: 1.422 GB / 2.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/12.52, allocations: 1.091 MB / 5.797 GB, free: 1.421 GB / 2.198 GB Notification: Performance of collectPreVariables (initialization): time 0.004/12.52, allocations: 3.469 MB / 5.8 GB, free: 1.419 GB / 2.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004751/12.52, allocations: 0.8589 MB / 5.801 GB, free: 1.419 GB / 2.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.01283/12.54, allocations: 20.84 MB / 5.821 GB, free: 1.403 GB / 2.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003263/12.54, allocations: 3.125 kB / 5.821 GB, free: 1.403 GB / 2.198 GB Notification: Performance of setup shared object (initialization): time 0.002463/12.54, allocations: 3.46 MB / 5.825 GB, free: 1.402 GB / 2.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02647/12.57, allocations: 25.67 MB / 5.85 GB, free: 1.386 GB / 2.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0361/12.6, allocations: 56.62 MB / 5.905 GB, free: 1.322 GB / 2.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03992/12.64, allocations: 37.75 MB / 5.942 GB, free: 1.292 GB / 2.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0008868/12.64, allocations: 304 kB / 5.942 GB, free: 1.292 GB / 2.198 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.1009/12.75, allocations: 78.08 MB / 6.019 GB, free: 1.223 GB / 2.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/12.75, allocations: 5.094 kB / 6.019 GB, free: 1.223 GB / 2.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001681/12.75, allocations: 1.035 MB / 6.02 GB, free: 1.222 GB / 2.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003529/12.75, allocations: 2.31 MB / 6.022 GB, free: 1.22 GB / 2.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02731/12.78, allocations: 10.55 MB / 6.032 GB, free: 1.21 GB / 2.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008752/12.79, allocations: 11.93 MB / 6.044 GB, free: 1.197 GB / 2.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02534/12.81, allocations: 0.9297 MB / 6.045 GB, free: 1.197 GB / 2.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005593/12.82, allocations: 3.562 MB / 6.048 GB, free: 1.193 GB / 2.198 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 () * 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.01372/12.83, allocations: 9.472 MB / 6.057 GB, free: 1.184 GB / 2.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003278/12.83, allocations: 2.205 MB / 6.06 GB, free: 1.182 GB / 2.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165/15, allocations: 2.151 GB / 8.21 GB, free: 1.614 GB / 2.386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/15, allocations: 18.59 kB / 8.21 GB, free: 1.614 GB / 2.386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/15, allocations: 4 kB / 8.21 GB, free: 1.614 GB / 2.386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-05/15, allocations: 8.469 kB / 8.21 GB, free: 1.614 GB / 2.386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 2.993/17.99, allocations: 2.166 GB / 10.38 GB, free: 1.385 GB / 2.386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/17.99, allocations: 3.281 kB / 10.38 GB, free: 1.385 GB / 2.386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008057/17.99, allocations: 163.8 kB / 10.38 GB, free: 1.385 GB / 2.386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001463/17.99, allocations: 0.6996 MB / 10.38 GB, free: 1.384 GB / 2.386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001829/18, allocations: 0.7515 MB / 10.38 GB, free: 1.384 GB / 2.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007864/18, allocations: 9.79 MB / 10.39 GB, free: 1.376 GB / 2.386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/18, allocations: 2.688 kB / 10.39 GB, free: 1.376 GB / 2.386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 2.004/20.01, allocations: 2.203 GB / 12.59 GB, free: 8.867 MB / 2.479 GB Notification: Performance of postOpt removeConstants (simulation): time 0.7192/20.73, allocations: 6.917 MB / 12.6 GB, free: 2.734 MB / 2.479 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002531/20.73, allocations: 0.5938 MB / 12.6 GB, free: 2.141 MB / 2.479 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004717/20.74, allocations: 0.6405 MB / 12.6 GB, free: 1.504 MB / 2.479 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001641/20.74, allocations: 0.5232 MB / 12.6 GB, free: 0.9844 MB / 2.479 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001629/20.74, allocations: 1.212 MB / 12.6 GB, free: 15.77 MB / 2.495 GB Notification: Performance of sort global known variables: time 0.001083/20.74, allocations: 0.8413 MB / 12.6 GB, free: 14.93 MB / 2.495 GB Notification: Performance of remove unused functions: time 0.03533/20.78, allocations: 8 MB / 12.61 GB, free: 6.949 MB / 2.495 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 76 * 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.002216/20.78, allocations: 0.9673 MB / 12.61 GB, free: 6.133 MB / 2.495 GB Notification: Performance of simCode: created initialization part: time 0.095/20.87, allocations: 79.9 MB / 12.69 GB, free: 7.055 MB / 2.573 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/20.87, allocations: 0 / 12.69 GB, free: 7.055 MB / 2.573 GB Notification: Performance of simCode: created simulation system equations: time 32.61/53.48, allocations: 29.1 GB / 41.79 GB, free: 0.7089 GB / 3.418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005007/53.49, allocations: 0.9072 MB / 41.79 GB, free: 0.7081 GB / 3.418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06219/53.55, allocations: 57.58 MB / 41.84 GB, free: 0.652 GB / 3.418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009985/53.56, allocations: 10.37 MB / 41.85 GB, free: 0.6418 GB / 3.418 GB Notification: Performance of SimCode: time 6.52e-07/53.56, allocations: 0 / 41.85 GB, free: 0.6418 GB / 3.418 GB Notification: Performance of Templates: time 0.3029/53.86, allocations: 242.2 MB / 42.09 GB, free: 419.7 MB / 3.418 GB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Rectifier6pulseFFT/Rectifier6pulseFFT.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches