Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassSC,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassSC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassSC,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassSC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 205.3 MB / 214.4 MB, free: 1.664 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.0008213/0.0008213, allocations: 82.5 kB / 262.4 MB, free: 1.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.798e-05/1.808e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08186/0.08189, allocations: 47.58 MB / 363.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3495/0.4314, allocations: 80.92 MB / 444.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.4317, allocations: 73.14 kB / 444.2 MB, free: 14.46 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/Analog/Examples/Utilities/SwitchedCapacitor.mo:41:3-41:79:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.1049/0.5366, allocations: 40.17 MB / 484.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5367, allocations: 0 / 484.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001011/0.5368, allocations: 56 kB / 484.4 MB, free: 12.23 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: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.00593/0.5427, allocations: 2.542 MB / 486.9 MB, free: 9.609 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.5428, allocations: 8.031 kB / 486.9 MB, free: 9.602 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007742/0.5436, allocations: 288.5 kB / 487.2 MB, free: 9.316 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.5454, allocations: 1.028 MB / 488.2 MB, free: 8.246 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.5456, allocations: 91.94 kB / 488.3 MB, free: 8.156 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003064/0.5459, allocations: 155.9 kB / 488.5 MB, free: 8.004 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003269/0.5492, allocations: 1.717 MB / 490.2 MB, free: 6.281 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003886/0.5531, allocations: 2.194 MB / 492.4 MB, free: 3.953 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.267e-05/0.5531, allocations: 3.938 kB / 492.4 MB, free: 3.949 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/0.5533, allocations: 7.984 kB / 492.4 MB, free: 3.941 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-05/0.5534, allocations: 64 kB / 492.5 MB, free: 3.879 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01429/0.5676, allocations: 9.225 MB / 0.4899 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005783/0.5735, allocations: 2.71 MB / 0.4926 GB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/0.575, allocations: 0.9947 MB / 0.4936 GB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.5751, allocations: 22 kB / 0.4936 GB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001426/0.5766, allocations: 0.8669 MB / 0.4944 GB, free: 5.836 MB / 378.7 MB Notification: Performance of pre-optimization done (n=218): time 4.328e-06/0.5766, allocations: 0 / 0.4944 GB, free: 5.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.004588/0.5812, allocations: 2.3 MB / 0.4967 GB, free: 3.488 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.5813, allocations: 93.33 kB / 0.4968 GB, free: 3.387 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.5825, allocations: 0.8436 MB / 0.4976 GB, free: 2.531 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.5826, allocations: 29.7 kB / 0.4976 GB, free: 2.496 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007863/0.5834, allocations: 0.9398 MB / 0.4985 GB, free: 1.543 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005913/0.584, allocations: 0.6582 MB / 0.4992 GB, free: 0.875 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.296e-05/0.5841, allocations: 4 kB / 0.4992 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.5843, allocations: 395 kB / 0.4996 GB, free: 492 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.5854, allocations: 0.626 MB / 0.5002 GB, free: 15.85 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.5868, allocations: 1.172 MB / 0.5013 GB, free: 14.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.588, allocations: 0.7007 MB / 0.502 GB, free: 13.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.588, allocations: 8 kB / 0.502 GB, free: 13.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.005247/0.5932, allocations: 2.711 MB / 0.5047 GB, free: 10.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.74e-05/0.5933, allocations: 15.95 kB / 0.5047 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.37e-05/0.5934, allocations: 16 kB / 0.5047 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00328/0.5966, allocations: 1.109 MB / 0.5058 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.5979, allocations: 287.5 kB / 0.506 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02197/0.6199, allocations: 21.47 MB / 0.527 GB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.622, allocations: 273.9 kB / 0.5273 GB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002126/0.6223, allocations: 96 kB / 0.5274 GB, free: 2.309 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 66 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.R4.BooleanPulse.pulseStart,R4.BooleanPulse.pulseStart,R4.IdealCommutingSwitch1.control,R4.logicalSwitch.u1,$PRE.R5.BooleanPulse.pulseStart,R5.BooleanPulse.pulseStart,R5.IdealCommutingSwitch1.control,R5.logicalSwitch.u1,$PRE.R8.BooleanPulse.pulseStart,R8.BooleanPulse.pulseStart,R8.IdealCommutingSwitch1.control,R8.logicalSwitch.u1,$PRE.R9.BooleanPulse.pulseStart,R9.BooleanPulse.pulseStart,R9.IdealCommutingSwitch1.control,R9.logicalSwitch.u1,$PRE.R1.BooleanPulse.pulseStart,R1.BooleanPulse.pulseStart,R1.IdealCommutingSwitch1.control,R1.logicalSwitch.u1,$PRE.R2.BooleanPulse.pulseStart,R2.BooleanPulse.pulseStart,R2.IdealCommutingSwitch1.control,R2.logicalSwitch.u1,$PRE.R3.BooleanPulse.pulseStart,R3.BooleanPulse.pulseStart,R3.IdealCommutingSwitch1.control,R3.logicalSwitch.u1,$PRE.Rp1.BooleanPulse.pulseStart,Rp1.BooleanPulse.pulseStart,Rp1.IdealCommutingSwitch1.control,Rp1.logicalSwitch.u1,$PRE.R7.BooleanPulse.pulseStart,R7.BooleanPulse.pulseStart,R7.IdealCommutingSwitch1.control,R7.logicalSwitch.u1,$PRE.R10.BooleanPulse.pulseStart,R10.BooleanPulse.pulseStart,R10.IdealCommutingSwitch1.control,R10.logicalSwitch.u1,$PRE.R11.BooleanPulse.pulseStart,R11.BooleanPulse.pulseStart,R11.IdealCommutingSwitch1.control,R11.logicalSwitch.u1,R11.lessEqualThreshold.y,R10.lessEqualThreshold.y,R7.lessEqualThreshold.y,Rp1.lessEqualThreshold.y,R3.lessEqualThreshold.y,R2.lessEqualThreshold.y,R1.lessEqualThreshold.y,R9.lessEqualThreshold.y,R8.lessEqualThreshold.y,R5.lessEqualThreshold.y,R4.lessEqualThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 187 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(1,100.0%) 9,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003937/0.6227, allocations: 188.5 kB / 0.5275 GB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1959/0.8186, allocations: 2.295 MB / 0.5298 GB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006844/0.8193, allocations: 170.4 kB / 0.5299 GB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007085/0.8201, allocations: 186.4 kB / 0.5301 GB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.597e-05/0.8201, allocations: 21.55 kB / 0.5301 GB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.884e-05/0.8202, allocations: 19.97 kB / 0.5302 GB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-05/0.8202, allocations: 10.41 kB / 0.5302 GB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/0.8238, allocations: 1.775 MB / 0.5319 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.8239, allocations: 0.8906 kB / 0.5319 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008358/0.8247, allocations: 141.3 kB / 0.532 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003182/0.8279, allocations: 1.097 MB / 0.5331 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002801/0.8282, allocations: 12.8 kB / 0.5331 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01921/0.8474, allocations: 21.44 MB / 0.5541 GB, free: 93.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.8475, allocations: 2.25 kB / 0.5541 GB, free: 93.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007681/0.8552, allocations: 3.359 MB / 0.5573 GB, free: 93.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/0.8563, allocations: 449.8 kB / 0.5578 GB, free: 93.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003133/0.8566, allocations: 8.391 kB / 0.5578 GB, free: 93.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.8579, allocations: 100.3 kB / 0.5579 GB, free: 93.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009233/0.8588, allocations: 282.4 kB / 0.5581 GB, free: 93.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/0.859, allocations: 54.19 kB / 0.5582 GB, free: 93.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001067/0.8601, allocations: 0.5712 MB / 0.5588 GB, free: 93.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.8601, allocations: 0 / 0.5588 GB, free: 93.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003121/0.8632, allocations: 0.7088 MB / 0.5594 GB, free: 93.06 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 16 (C1.v,C2.v,C3.v,C4.v,C7.v,R4.Capacitor.v,R5.Capacitor.v,R8.Capacitor.v,R9.Capacitor.v,R1.Capacitor.v,R2.Capacitor.v,R3.Capacitor.v,Rp1.Capacitor.v,R7.Capacitor.v,R10.Capacitor.v,R11.Capacitor.v) * Number of discrete variables: 44 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,R4.BooleanPulse.pulseStart,R4.IdealCommutingSwitch1.control,R4.logicalSwitch.u1,R5.BooleanPulse.pulseStart,R5.IdealCommutingSwitch1.control,R5.logicalSwitch.u1,R8.BooleanPulse.pulseStart,R8.IdealCommutingSwitch1.control,R8.logicalSwitch.u1,R9.BooleanPulse.pulseStart,R9.IdealCommutingSwitch1.control,R9.logicalSwitch.u1,R1.BooleanPulse.pulseStart,R1.IdealCommutingSwitch1.control,R1.logicalSwitch.u1,R2.BooleanPulse.pulseStart,R2.IdealCommutingSwitch1.control,R2.logicalSwitch.u1,R3.BooleanPulse.pulseStart,R3.IdealCommutingSwitch1.control,R3.logicalSwitch.u1,Rp1.BooleanPulse.pulseStart,Rp1.IdealCommutingSwitch1.control,Rp1.logicalSwitch.u1,R7.BooleanPulse.pulseStart,R7.IdealCommutingSwitch1.control,R7.logicalSwitch.u1,R10.BooleanPulse.pulseStart,R10.IdealCommutingSwitch1.control,R10.logicalSwitch.u1,R11.BooleanPulse.pulseStart,R11.IdealCommutingSwitch1.control,R11.logicalSwitch.u1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 9,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005824/0.869, allocations: 3.955 MB / 0.5633 GB, free: 92.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005757/0.8749, allocations: 3.699 MB / 0.5669 GB, free: 90.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.8749, allocations: 0 / 0.5669 GB, free: 90.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003688/0.8786, allocations: 2.822 MB / 0.5697 GB, free: 88.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.8802, allocations: 257 kB / 0.5699 GB, free: 88.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007201/0.8875, allocations: 4.061 MB / 0.5739 GB, free: 86.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009945/0.8885, allocations: 1.589 MB / 0.5754 GB, free: 85.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007166/0.8892, allocations: 140.5 kB / 0.5756 GB, free: 85.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006994/0.8899, allocations: 0.7671 MB / 0.5763 GB, free: 84.75 MB / 410.7 MB Notification: Performance of SimCode: time 8.41e-07/0.89, allocations: 0 / 0.5763 GB, free: 84.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07346/0.9634, allocations: 43.99 MB / 0.6193 GB, free: 58.37 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002443/0.9637, allocations: 138.8 kB / 0.6194 GB, free: 58.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.546/4.51, allocations: 0 / 0.6194 GB, free: 58.18 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassSC_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassSC.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat does not exist to compare? outputFormat=mat