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") [: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 3.2.3+maint.om/package.mo): time 0.0009825/0.0009823, allocations: 168.9 kB / 8.47 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.16/1.16, allocations: 205.2 MB / 214.1 MB, free: 5.145 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.0008631/0.0008634, allocations: 95.25 kB / 262.1 MB, free: 5.18 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.664e-06/7.694e-06, allocations: 4 kB / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08735/0.08737, allocations: 47.57 MB / 362.5 MB, free: 9.969 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2981/0.3855, allocations: 94.01 MB / 456.5 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.3858, allocations: 74.41 kB / 456.6 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.056/1.442, allocations: 165.4 MB / 0.6074 GB, free: 58.66 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0006963/1.442, allocations: 264.4 kB / 0.6076 GB, free: 58.64 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.03231/1.475, allocations: 15.84 MB / 0.6231 GB, free: 53.58 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/1.475, allocations: 12.08 kB / 0.6231 GB, free: 53.58 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006306/1.481, allocations: 1.733 MB / 0.6248 GB, free: 52.59 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0208/1.502, allocations: 8.76 MB / 0.6334 GB, free: 50.7 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002136/1.502, allocations: 127.5 kB / 0.6335 GB, free: 50.7 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001882/1.504, allocations: 238.6 kB / 0.6337 GB, free: 50.7 MB / 410.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03664/1.541, allocations: 24.19 MB / 0.6573 GB, free: 39.68 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04506/1.586, allocations: 27.55 MB / 0.6842 GB, free: 14.92 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000143/1.586, allocations: 0 / 0.6842 GB, free: 14.92 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003061/1.589, allocations: 8 kB / 0.6843 GB, free: 14.91 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000238/1.589, allocations: 207.2 kB / 0.6845 GB, free: 14.72 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06209/1.651, allocations: 26.26 MB / 0.7101 GB, free: 9.535 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2332/1.885, allocations: 80.4 MB / 0.7886 GB, free: 60.43 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2387/2.123, allocations: 80.73 MB / 0.8675 GB, free: 98.61 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003808/2.124, allocations: 149.7 kB / 0.8676 GB, free: 98.52 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04221/2.166, allocations: 29.25 MB / 0.8962 GB, free: 97.7 MB / 426.8 MB Notification: Performance of pre-optimization done (n=5058): time 6.642e-06/2.166, allocations: 0 / 0.8962 GB, free: 97.7 MB / 426.8 MB Notification: Performance of matching and sorting (n=5065): time 13.2/15.37, allocations: 4.933 GB / 5.829 GB, free: 0.5613 GB / 2.636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004844/15.38, allocations: 7.363 MB / 5.836 GB, free: 0.5554 GB / 2.636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004473/15.38, allocations: 1.867 MB / 5.838 GB, free: 0.5538 GB / 2.636 GB Notification: Performance of collectPreVariables (initialization): time 0.005512/15.39, allocations: 3.473 MB / 5.841 GB, free: 0.551 GB / 2.636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001755/15.39, allocations: 1.394 MB / 5.843 GB, free: 0.55 GB / 2.636 GB Notification: Performance of collectInitialBindings (initialization): time 0.02629/15.41, allocations: 21.23 MB / 5.863 GB, free: 0.531 GB / 2.636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006886/15.42, allocations: 0 / 5.863 GB, free: 0.531 GB / 2.636 GB Notification: Performance of setup shared object (initialization): time 0.007963/15.43, allocations: 3.504 MB / 5.867 GB, free: 0.5285 GB / 2.636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05194/15.48, allocations: 26.31 MB / 5.892 GB, free: 0.5062 GB / 2.636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07518/15.56, allocations: 57.45 MB / 5.949 GB, free: 452.1 MB / 2.636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.056/15.61, allocations: 38.52 MB / 5.986 GB, free: 420.2 MB / 2.636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002604/15.61, allocations: 304 kB / 5.986 GB, free: 419.9 MB / 2.636 GB Notification: Performance of matching and sorting (n=9915) (initialization): time 0.1418/15.76, allocations: 80.13 MB / 6.065 GB, free: 339.7 MB / 2.636 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/15.76, allocations: 4 kB / 6.065 GB, free: 339.7 MB / 2.636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005109/15.76, allocations: 1.035 MB / 6.066 GB, free: 338.7 MB / 2.636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01062/15.77, allocations: 3.021 MB / 6.069 GB, free: 335.6 MB / 2.636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04154/15.81, allocations: 10.72 MB / 6.079 GB, free: 324.9 MB / 2.636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02344/15.84, allocations: 24.05 MB / 6.103 GB, free: 299.7 MB / 2.636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03749/15.87, allocations: 0.9706 MB / 6.104 GB, free: 298.7 MB / 2.636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01222/15.89, allocations: 3.598 MB / 6.107 GB, free: 295.1 MB / 2.636 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.03155/15.92, allocations: 9.492 MB / 6.116 GB, free: 285.6 MB / 2.636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009617/15.93, allocations: 2.315 MB / 6.119 GB, free: 283.3 MB / 2.636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.131/18.06, allocations: 2.144 GB / 8.263 GB, free: 209.5 MB / 2.636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.344e-05/18.06, allocations: 28 kB / 8.263 GB, free: 209.4 MB / 2.636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-05/18.06, allocations: 12.12 kB / 8.263 GB, free: 209.4 MB / 2.636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.262e-05/18.06, allocations: 14.36 kB / 8.263 GB, free: 209.4 MB / 2.636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.637/21.7, allocations: 2.172 GB / 10.44 GB, free: 217.6 MB / 2.636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.585e-05/21.7, allocations: 0 / 10.44 GB, free: 217.6 MB / 2.636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/21.7, allocations: 301.6 kB / 10.44 GB, free: 217.4 MB / 2.636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003745/21.7, allocations: 1.386 MB / 10.44 GB, free: 216.3 MB / 2.636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002917/21.71, allocations: 0.7609 MB / 10.44 GB, free: 215.5 MB / 2.636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0187/21.72, allocations: 21.9 MB / 10.46 GB, free: 194.7 MB / 2.636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/21.72, allocations: 0 / 10.46 GB, free: 194.7 MB / 2.636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 2.098/23.82, allocations: 2.199 GB / 12.66 GB, free: 161.9 MB / 2.636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.7502/24.57, allocations: 7.176 MB / 12.66 GB, free: 156.3 MB / 2.636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004003/24.58, allocations: 0.6131 MB / 12.67 GB, free: 155.7 MB / 2.636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007486/24.58, allocations: 0.6717 MB / 12.67 GB, free: 155.1 MB / 2.636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002533/24.59, allocations: 0.5833 MB / 12.67 GB, free: 154.6 MB / 2.636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002758/24.59, allocations: 1.249 MB / 12.67 GB, free: 153.3 MB / 2.636 GB Notification: Performance of sort global known variables: time 0.002295/24.59, allocations: 1.425 MB / 12.67 GB, free: 152 MB / 2.636 GB Notification: Performance of remove unused functions: time 0.04197/24.63, allocations: 8.387 MB / 12.68 GB, free: 143.7 MB / 2.636 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.002793/24.64, allocations: 0.9917 MB / 12.68 GB, free: 142.9 MB / 2.636 GB Notification: Performance of simCode: created initialization part: time 0.09479/24.73, allocations: 82.19 MB / 12.76 GB, free: 69.29 MB / 2.636 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/24.73, allocations: 4 kB / 12.76 GB, free: 69.29 MB / 2.636 GB Notification: Performance of simCode: created simulation system equations: time 49.19/73.92, allocations: 29.1 GB / 41.86 GB, free: 0.5932 GB / 3.355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008865/73.93, allocations: 1.179 MB / 41.86 GB, free: 0.5921 GB / 3.355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1333/74.06, allocations: 72.72 MB / 41.93 GB, free: 0.5214 GB / 3.355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03265/74.1, allocations: 11.55 MB / 41.94 GB, free: 0.5101 GB / 3.355 GB Notification: Performance of SimCode: time 1.072e-06/74.1, allocations: 0 / 41.94 GB, free: 0.5101 GB / 3.355 GB Notification: Performance of Templates: time 0.4124/74.51, allocations: 264.5 MB / 42.2 GB, free: 262.5 MB / 3.355 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