Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001541/0.001541, allocations: 202.7 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00105/0.001051, allocations: 89.53 kB / 297.2 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4303/0.4303, allocations: 45.23 MB / 394.6 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003112, allocations: 8.219 kB / 468.5 MB, free: 7.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5092/0.5096, allocations: 63.24 MB / 0.5193 GB, free: 43.68 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.763/9.272, allocations: 2.776 GB / 3.296 GB, free: 133 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/9.273, allocations: 94.88 kB / 3.296 GB, free: 133 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "Mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "Mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 2.871/12.14, allocations: 0.751 GB / 4.047 GB, free: 4.746 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.905e-06/12.14, allocations: 0 / 4.047 GB, free: 4.746 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002104/12.14, allocations: 39.05 kB / 4.047 GB, free: 4.711 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 321 * Number of variables: 321 Notification: Performance of Generate backend data structure: time 0.01482/12.16, allocations: 2.806 MB / 4.049 GB, free: 1.871 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.193e-05/12.16, allocations: 12.03 kB / 4.049 GB, free: 1.859 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008116/12.16, allocations: 198 kB / 4.05 GB, free: 1.656 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008744/12.17, allocations: 0.7349 MB / 4.05 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004353/12.17, allocations: 0.9503 MB / 4.051 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004198/12.17, allocations: 245.2 kB / 4.052 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004589/12.17, allocations: 122.7 kB / 4.052 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008361/12.18, allocations: 2.301 MB / 4.054 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.715e-05/12.18, allocations: 7.938 kB / 4.054 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002411/12.18, allocations: 59.94 kB / 4.054 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/12.18, allocations: 62.02 kB / 4.054 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007649/12.19, allocations: 2.029 MB / 4.056 GB, free: 10.89 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4781/12.67, allocations: 10.79 MB / 4.067 GB, free: 42.71 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004468/12.67, allocations: 1.269 MB / 4.068 GB, free: 42.69 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/12.67, allocations: 0.6872 MB / 4.068 GB, free: 42.12 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/12.67, allocations: 50.3 kB / 4.069 GB, free: 42.09 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001093/12.68, allocations: 128.7 kB / 4.069 GB, free: 42.09 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=88): time 3.647e-06/12.68, allocations: 0.9688 kB / 4.069 GB, free: 42.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=96): time 0.01376/12.69, allocations: 4.185 MB / 4.073 GB, free: 41.58 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/12.69, allocations: 165.2 kB / 4.073 GB, free: 41.39 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/12.69, allocations: 0.8572 MB / 4.074 GB, free: 41.24 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/12.69, allocations: 43.42 kB / 4.074 GB, free: 41.21 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004456/12.69, allocations: 0.6632 MB / 4.074 GB, free: 40.93 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/12.69, allocations: 339.2 kB / 4.075 GB, free: 40.77 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.06e-05/12.69, allocations: 32 kB / 4.075 GB, free: 40.77 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001226/12.69, allocations: 368.5 kB / 4.075 GB, free: 40.46 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/12.69, allocations: 0.5065 MB / 4.076 GB, free: 40.46 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/12.69, allocations: 1.147 MB / 4.077 GB, free: 39.68 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/12.7, allocations: 0.6807 MB / 4.077 GB, free: 39.67 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/12.7, allocations: 9.562 kB / 4.077 GB, free: 39.67 MB / 0.5573 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003762/12.7, allocations: 1.832 MB / 4.079 GB, free: 39.53 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002093/12.7, allocations: 8.087 MB / 4.087 GB, free: 31.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.579e-05/12.7, allocations: 22.41 kB / 4.087 GB, free: 31.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005761/12.7, allocations: 140.1 kB / 4.087 GB, free: 31.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/12.7, allocations: 407.1 kB / 4.088 GB, free: 31.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007825/12.7, allocations: 1.21 MB / 4.089 GB, free: 30.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/12.71, allocations: 175 kB / 4.089 GB, free: 30.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/12.71, allocations: 86.39 kB / 4.089 GB, free: 30.05 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/12.71, allocations: 2.688 kB / 4.089 GB, free: 30.05 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003378/12.71, allocations: 1.682 MB / 4.091 GB, free: 30.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/12.71, allocations: 24.31 kB / 4.091 GB, free: 30.01 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004831/12.71, allocations: 131.7 kB / 4.091 GB, free: 30 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/12.71, allocations: 410.3 kB / 4.091 GB, free: 30 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006608/12.71, allocations: 1.205 MB / 4.092 GB, free: 28.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/12.71, allocations: 177.9 kB / 4.093 GB, free: 28.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/12.72, allocations: 86.17 kB / 4.093 GB, free: 28.95 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 18 (sink2.medium.phase,sink1.medium.phase,volume1.heatTransfer.states[1].phase,source1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase,volume1.regularFlow[1],volume1.regularFlow[2],volume2.regularFlow[1],volume2.regularFlow[2],volume2.inFlow[2],volume2.inFlow[1],volume1.inFlow[2],volume1.inFlow[1],orifice2.state_b.phase,orifice2.state_a.phase,orifice1.state_b.phase,orifice1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 188 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001211/12.72, allocations: 461.8 kB / 4.093 GB, free: 28.76 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003062/12.72, allocations: 125.8 kB / 4.093 GB, free: 28.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006426/12.72, allocations: 5.074 MB / 4.098 GB, free: 28.24 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.443e-05/12.72, allocations: 64.06 kB / 4.098 GB, free: 28.24 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/12.72, allocations: 0 / 4.098 GB, free: 28.24 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/12.72, allocations: 5.953 kB / 4.098 GB, free: 28.24 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008962/12.73, allocations: 7.077 MB / 4.105 GB, free: 27.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/12.73, allocations: 2.625 kB / 4.105 GB, free: 27.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/12.73, allocations: 281.5 kB / 4.105 GB, free: 27.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007393/12.73, allocations: 179 kB / 4.106 GB, free: 27.58 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/12.73, allocations: 27.81 kB / 4.106 GB, free: 27.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006322/12.73, allocations: 1.234 MB / 4.107 GB, free: 26.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/12.73, allocations: 3.562 kB / 4.107 GB, free: 26.54 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006561/12.74, allocations: 4.168 MB / 4.111 GB, free: 26.13 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/12.74, allocations: 0.5071 MB / 4.111 GB, free: 25.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/12.74, allocations: 20.69 kB / 4.111 GB, free: 25.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/12.74, allocations: 130 kB / 4.112 GB, free: 25.87 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/12.74, allocations: 95.02 kB / 4.112 GB, free: 25.87 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.563e-05/12.74, allocations: 42.25 kB / 4.112 GB, free: 25.87 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001321/12.75, allocations: 0.8435 MB / 4.113 GB, free: 25.76 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.543e-06/12.75, allocations: 0 / 4.113 GB, free: 25.76 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009367/12.76, allocations: 1.659 MB / 4.114 GB, free: 25.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume1.medium.p,volume1.medium.h,volume2.medium.p,volume2.medium.h) * Number of discrete variables: 40 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse12.phase,$cse12.region,$cse13.region3boundary,$cse14.region3boundary,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,$cse29.phase,$cse29.region,volume1.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01558/12.77, allocations: 6.601 MB / 4.121 GB, free: 24.65 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007538/12.78, allocations: 2.778 MB / 4.123 GB, free: 24.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/12.78, allocations: 0.9688 kB / 4.123 GB, free: 24.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002677/12.78, allocations: 1.367 MB / 4.125 GB, free: 24.59 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003734/12.78, allocations: 0.6148 MB / 4.125 GB, free: 24.59 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02971/12.81, allocations: 25 MB / 4.15 GB, free: 22.58 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/12.82, allocations: 1.589 MB / 4.151 GB, free: 21.85 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003206/12.82, allocations: 1.642 MB / 4.153 GB, free: 21.83 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/12.82, allocations: 0.8616 MB / 4.154 GB, free: 21.82 MB / 0.573 GB Notification: Performance of SimCode: time 1.523e-06/12.82, allocations: 0 / 4.154 GB, free: 21.82 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1382/12.96, allocations: 77.87 MB / 4.23 GB, free: 18.24 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/12.96, allocations: 258.8 kB / 4.23 GB, free: 17.89 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.233/18.19, allocations: 0 / 4.23 GB, free: 17.89 MB / 0.573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature1_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature1.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1_res.mat does not exist to compare? outputFormat=mat