Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) [: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.0009781/0.0009781, allocations: 180.8 kB / 8.128 MB, free: 2.223 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.078/1.078, allocations: 221.4 MB / 229.9 MB, free: 3.035 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.0009198/0.0009198, allocations: 102.4 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08813/0.08908, allocations: 55.83 MB / 336.6 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.2564, allocations: 50.39 MB / 387 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08573/0.3422, allocations: 91.46 MB / 478.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.3425, allocations: 91.88 kB / 478.6 MB, free: 11.3 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.1939/0.5363, allocations: 32.14 MB / 0.4987 GB, free: 90.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.5364, allocations: 18.05 kB / 0.4988 GB, free: 90.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/0.5366, allocations: 170.5 kB / 0.4989 GB, free: 90.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002925/0.5395, allocations: 1.677 MB / 0.5006 GB, free: 89.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.55e-05/0.5396, allocations: 56.56 kB / 0.5006 GB, free: 89.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.5397, allocations: 79.88 kB / 0.5007 GB, free: 89.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001674/0.5414, allocations: 1.389 MB / 0.502 GB, free: 89.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.5433, allocations: 1.609 MB / 0.5036 GB, free: 89.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.5434, allocations: 7.094 kB / 0.5036 GB, free: 89.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.5435, allocations: 3.906 kB / 0.5036 GB, free: 89.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.172e-05/0.5435, allocations: 60.16 kB / 0.5037 GB, free: 89.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005681/0.5492, allocations: 4.996 MB / 0.5086 GB, free: 88.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.5505, allocations: 1.089 MB / 0.5096 GB, free: 87.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006806/0.5512, allocations: 0.6008 MB / 0.5102 GB, free: 87.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/0.5512, allocations: 12.38 kB / 0.5102 GB, free: 87.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006102/0.5519, allocations: 0.5983 MB / 0.5108 GB, free: 87.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 2.245e-06/0.5519, allocations: 0 / 0.5108 GB, free: 87.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=91): time 0.001162/0.553, allocations: 1.004 MB / 0.5118 GB, free: 87.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.5531, allocations: 177.6 kB / 0.512 GB, free: 86.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006199/0.5537, allocations: 0.7051 MB / 0.5126 GB, free: 86.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.367e-05/0.5538, allocations: 40.39 kB / 0.5127 GB, free: 86.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.554, allocations: 0.4996 MB / 0.5132 GB, free: 86.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.5541, allocations: 254.6 kB / 0.5134 GB, free: 85.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.5542, allocations: 0 / 0.5134 GB, free: 85.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.256e-05/0.5542, allocations: 347.5 kB / 0.5137 GB, free: 85.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000473/0.5547, allocations: 442.5 kB / 0.5142 GB, free: 85.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005414/0.5553, allocations: 0.6627 MB / 0.5148 GB, free: 85.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004765/0.5557, allocations: 476.8 kB / 0.5153 GB, free: 84.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5558, allocations: 3.844 kB / 0.5153 GB, free: 84.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001311/0.5571, allocations: 1.229 MB / 0.5165 GB, free: 84.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002869/0.5574, allocations: 2.533 MB / 0.5189 GB, free: 81.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.5574, allocations: 3.969 kB / 0.5189 GB, free: 81.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004249/0.5578, allocations: 225 kB / 0.5192 GB, free: 81.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005842/0.5584, allocations: 175.2 kB / 0.5193 GB, free: 81.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.5604, allocations: 2.548 MB / 0.5218 GB, free: 79.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006991/0.5612, allocations: 135.2 kB / 0.5219 GB, free: 79.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.941e-05/0.5612, allocations: 40.28 kB / 0.522 GB, free: 79.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/0.5613, allocations: 3.5 kB / 0.522 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001551/0.5628, allocations: 1.102 MB / 0.5231 GB, free: 79.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.5628, allocations: 7.375 kB / 0.5231 GB, free: 79.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003681/0.5632, allocations: 224.9 kB / 0.5233 GB, free: 79.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000555/0.5638, allocations: 162.3 kB / 0.5234 GB, free: 79.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.5657, allocations: 2.544 MB / 0.5259 GB, free: 77.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006055/0.5663, allocations: 125 kB / 0.526 GB, free: 77.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/0.5664, allocations: 36 kB / 0.5261 GB, free: 77.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001739/0.5666, allocations: 174.5 kB / 0.5262 GB, free: 77.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.5667, allocations: 94.88 kB / 0.5263 GB, free: 77.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.5669, allocations: 108.4 kB / 0.5264 GB, free: 76.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.5669, allocations: 11.91 kB / 0.5264 GB, free: 76.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.5669, allocations: 0 / 0.5264 GB, free: 76.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.5669, allocations: 3.75 kB / 0.5265 GB, free: 76.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002794/0.5697, allocations: 2.514 MB / 0.5289 GB, free: 74.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.5697, allocations: 0 / 0.5289 GB, free: 74.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004796/0.5702, allocations: 116.5 kB / 0.529 GB, free: 74.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003365/0.5706, allocations: 200.2 kB / 0.5292 GB, free: 74.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-05/0.5706, allocations: 11.61 kB / 0.5292 GB, free: 74.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/0.5724, allocations: 2.464 MB / 0.5316 GB, free: 72.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.5725, allocations: 3.938 kB / 0.5316 GB, free: 72.19 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001689/0.5741, allocations: 1.778 MB / 0.5334 GB, free: 70.57 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00225/0.5764, allocations: 2.793 MB / 0.5361 GB, free: 68.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/0.5767, allocations: 281.3 kB / 0.5364 GB, free: 67.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.5769, allocations: 14.95 kB / 0.5364 GB, free: 67.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005789/0.5775, allocations: 93.55 kB / 0.5365 GB, free: 67.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.5777, allocations: 89.2 kB / 0.5366 GB, free: 67.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.707e-05/0.5777, allocations: 23.66 kB / 0.5366 GB, free: 67.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004655/0.5782, allocations: 0.5215 MB / 0.5371 GB, free: 67.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002305/0.5805, allocations: 0.5637 MB / 0.5376 GB, free: 66.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001799/0.5807, allocations: 159.9 kB / 0.5378 GB, free: 66.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002/0.5827, allocations: 1.906 MB / 0.5396 GB, free: 64.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5827, allocations: 0 / 0.5396 GB, free: 64.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007112/0.5834, allocations: 0.7063 MB / 0.5403 GB, free: 64.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007266/0.5842, allocations: 171.1 kB / 0.5405 GB, free: 63.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.5873, allocations: 2.131 MB / 0.5426 GB, free: 61.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008593/0.5882, allocations: 1.51 MB / 0.5441 GB, free: 60.69 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5882, allocations: 0 / 0.5441 GB, free: 60.69 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV_Characteristic.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat