Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 183.4 kB / 8.136 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.151/1.151, allocations: 221.4 MB / 229.9 MB, free: 3.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000933/0.000933, allocations: 89.67 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.564e-06/7.684e-06, allocations: 4 kB / 336.5 MB, free: 9.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2094, allocations: 50.4 MB / 386.9 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09909/0.3085, allocations: 93.2 MB / 480.1 MB, free: 9.566 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.3088, allocations: 77 kB / 480.2 MB, free: 9.492 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.7054/1.014, allocations: 113.1 MB / 0.5794 GB, free: 27.11 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0002817/1.015, allocations: 215.9 kB / 0.5796 GB, free: 26.89 MB / 378.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.01898/1.034, allocations: 14.3 MB / 0.5935 GB, free: 12.48 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/1.034, allocations: 8.031 kB / 0.5936 GB, free: 12.47 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003905/1.038, allocations: 1.487 MB / 0.595 GB, free: 10.96 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01741/1.055, allocations: 7.604 MB / 0.6024 GB, free: 3.277 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/1.055, allocations: 72 kB / 0.6025 GB, free: 3.207 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001536/1.057, allocations: 139.9 kB / 0.6026 GB, free: 3.07 MB / 378.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02802/1.085, allocations: 22.14 MB / 0.6243 GB, free: 12.9 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0369/1.122, allocations: 25.22 MB / 0.6489 GB, free: 3.539 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.93e-05/1.122, allocations: 4 kB / 0.6489 GB, free: 3.535 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006065/1.122, allocations: 4 kB / 0.6489 GB, free: 3.531 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/1.123, allocations: 112.5 kB / 0.649 GB, free: 3.418 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1575/1.28, allocations: 18.78 MB / 0.6673 GB, free: 117.7 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04358/1.324, allocations: 78.73 MB / 0.7442 GB, free: 64.02 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.04622/1.37, allocations: 78.5 MB / 0.8209 GB, free: 276 kB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002848/1.37, allocations: 137.5 kB / 0.821 GB, free: 136 kB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1594/1.53, allocations: 29.13 MB / 0.8495 GB, free: 119.4 MB / 426.8 MB Notification: Performance of pre-optimization done (n=4937): time 5.26e-06/1.53, allocations: 0 / 0.8495 GB, free: 119.4 MB / 426.8 MB Notification: Performance of matching and sorting (n=4941): time 12.6/14.13, allocations: 4.931 GB / 5.781 GB, free: 1.051 GB / 1.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004523/14.13, allocations: 7.202 MB / 5.788 GB, free: 1.047 GB / 1.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002164/14.14, allocations: 1.089 MB / 5.789 GB, free: 1.046 GB / 1.948 GB Notification: Performance of collectPreVariables (initialization): time 0.005414/14.14, allocations: 3.47 MB / 5.792 GB, free: 1.044 GB / 1.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009454/14.14, allocations: 0.8607 MB / 5.793 GB, free: 1.043 GB / 1.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.02356/14.17, allocations: 20.84 MB / 5.813 GB, free: 1.028 GB / 1.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005909/14.17, allocations: 0 / 5.813 GB, free: 1.028 GB / 1.948 GB Notification: Performance of setup shared object (initialization): time 0.007216/14.18, allocations: 3.454 MB / 5.817 GB, free: 1.026 GB / 1.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04389/14.22, allocations: 25.67 MB / 5.842 GB, free: 1.011 GB / 1.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06009/14.28, allocations: 56.62 MB / 5.897 GB, free: 0.9472 GB / 1.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05099/14.33, allocations: 37.75 MB / 5.934 GB, free: 0.9129 GB / 1.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002117/14.34, allocations: 300 kB / 5.934 GB, free: 0.9126 GB / 1.948 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.1385/14.48, allocations: 78.08 MB / 6.01 GB, free: 0.8363 GB / 1.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/14.48, allocations: 4 kB / 6.011 GB, free: 0.8363 GB / 1.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003997/14.48, allocations: 1.031 MB / 6.012 GB, free: 0.8353 GB / 1.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00509/14.48, allocations: 2.317 MB / 6.014 GB, free: 0.8331 GB / 1.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03433/14.52, allocations: 10.54 MB / 6.024 GB, free: 0.8227 GB / 1.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/14.53, allocations: 11.93 MB / 6.036 GB, free: 0.8106 GB / 1.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03206/14.56, allocations: 0.9374 MB / 6.037 GB, free: 0.8097 GB / 1.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01144/14.57, allocations: 3.562 MB / 6.04 GB, free: 0.8063 GB / 1.948 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.02283/14.6, allocations: 9.472 MB / 6.049 GB, free: 0.797 GB / 1.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004625/14.6, allocations: 2.201 MB / 6.052 GB, free: 0.7948 GB / 1.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234/16.84, allocations: 2.149 GB / 8.2 GB, free: 0.9675 GB / 1.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/16.84, allocations: 12 kB / 8.2 GB, free: 0.9675 GB / 1.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/16.84, allocations: 4 kB / 8.2 GB, free: 0.9675 GB / 1.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.837e-05/16.84, allocations: 7.859 kB / 8.2 GB, free: 0.9675 GB / 1.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.617/20.45, allocations: 2.171 GB / 10.37 GB, free: 1.051 GB / 2.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/20.45, allocations: 0 / 10.37 GB, free: 1.051 GB / 2.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008574/20.45, allocations: 169.4 kB / 10.37 GB, free: 1.051 GB / 2.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001613/20.46, allocations: 0.7017 MB / 10.37 GB, free: 1.051 GB / 2.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00204/20.46, allocations: 0.7489 MB / 10.37 GB, free: 1.05 GB / 2.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008085/20.47, allocations: 9.792 MB / 10.38 GB, free: 1.043 GB / 2.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/20.47, allocations: 0 / 10.38 GB, free: 1.043 GB / 2.011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 2.21/22.68, allocations: 2.201 GB / 12.58 GB, free: 1.279 GB / 2.183 GB Notification: Performance of postOpt removeConstants (simulation): time 0.7278/23.4, allocations: 6.918 MB / 12.59 GB, free: 1.274 GB / 2.183 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002988/23.41, allocations: 0.5917 MB / 12.59 GB, free: 1.274 GB / 2.183 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005099/23.41, allocations: 0.6448 MB / 12.59 GB, free: 1.273 GB / 2.183 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001534/23.41, allocations: 0.5187 MB / 12.59 GB, free: 1.272 GB / 2.183 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001477/23.41, allocations: 1.215 MB / 12.59 GB, free: 1.271 GB / 2.183 GB Notification: Performance of sort global known variables: time 0.000957/23.42, allocations: 0.8423 MB / 12.59 GB, free: 1.271 GB / 2.183 GB Notification: Performance of remove unused functions: time 0.03334/23.45, allocations: 8.005 MB / 12.6 GB, free: 1.263 GB / 2.183 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.002095/23.45, allocations: 0.9688 MB / 12.6 GB, free: 1.262 GB / 2.183 GB Notification: Performance of simCode: created initialization part: time 0.08138/23.53, allocations: 79.9 MB / 12.68 GB, free: 1.192 GB / 2.183 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/23.53, allocations: 8 kB / 12.68 GB, free: 1.192 GB / 2.183 GB Notification: Performance of simCode: created simulation system equations: time 34.7/58.24, allocations: 29.09 GB / 41.77 GB, free: 1.117 GB / 2.777 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005048/58.24, allocations: 0.8969 MB / 41.77 GB, free: 1.116 GB / 2.777 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06176/58.3, allocations: 57.59 MB / 41.83 GB, free: 1.06 GB / 2.777 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01027/58.31, allocations: 10.37 MB / 41.84 GB, free: 1.05 GB / 2.777 GB Notification: Performance of SimCode: time 5.51e-07/58.31, allocations: 0 / 41.84 GB, free: 1.05 GB / 2.777 GB Notification: Performance of Templates: time 0.3002/58.61, allocations: 242.2 MB / 42.07 GB, free: 0.8172 GB / 2.777 GB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches