Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.HeatingSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.HeatingSystem,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_HeatingSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.HeatingSystem,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_HeatingSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 106.5 kB / 17.06 MB, free: 6.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 193.4 kB / 18 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 51.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2376, allocations: 49.43 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.09416/0.3318, allocations: 90.1 MB / 490.3 MB, free: 14.42 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03066/0.3625, allocations: 21.33 MB / 0.4997 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00231/0.3648, allocations: 83.5 kB / 0.4997 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002529/0.3674, allocations: 0.9395 MB / 0.5007 GB, free: 8.004 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009157/0.3766, allocations: 3.721 MB / 0.5043 GB, free: 4.266 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01258/0.3892, allocations: 5.658 MB / 0.5098 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009543/0.3988, allocations: 7.05 MB / 0.5167 GB, free: 7.543 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003201/0.402, allocations: 1.833 MB / 0.5185 GB, free: 5.684 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3669/0.769, allocations: 74.88 MB / 0.5916 GB, free: 7.668 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06765/0.8367, allocations: 31.92 MB / 0.6228 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001023/0.8377, allocations: 248 kB / 0.623 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01453/0.8523, allocations: 6.096 MB / 0.629 GB, free: 8.984 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002032/0.8544, allocations: 1.091 MB / 0.63 GB, free: 8.332 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002414/0.8568, allocations: 1.494 MB / 0.6315 GB, free: 7.555 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01068/0.8675, allocations: 5.552 MB / 0.6369 GB, free: 3.223 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.8675, allocations: 4 kB / 0.6369 GB, free: 3.219 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.8675, allocations: 0 / 0.6369 GB, free: 3.219 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001002/0.8676, allocations: 0 / 0.6369 GB, free: 3.219 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.009003/0.8767, allocations: 3.59 MB / 0.6404 GB, free: 4 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/0.8767, allocations: 12.08 kB / 0.6405 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005404/0.8773, allocations: 338.1 kB / 0.6408 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009956/0.8783, allocations: 328.7 kB / 0.6411 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002819/0.8811, allocations: 1.687 MB / 0.6427 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.8813, allocations: 215.5 kB / 0.6429 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003438/0.8817, allocations: 205.6 kB / 0.6431 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005571/0.8873, allocations: 3.31 MB / 0.6464 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.845e-05/0.8873, allocations: 7.188 kB / 0.6464 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000235/0.8876, allocations: 82.78 kB / 0.6465 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000327/0.8879, allocations: 261.8 kB / 0.6467 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005501/0.8934, allocations: 3.11 MB / 0.6497 GB, free: 6.973 MB / 0.4981 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.02036/0.9138, allocations: 13.82 MB / 0.6632 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004404/0.9182, allocations: 2.233 MB / 0.6654 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002396/0.9206, allocations: 1.367 MB / 0.6668 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009125/0.9298, allocations: 5.858 MB / 0.6725 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/0.9299, allocations: 52.56 kB / 0.6725 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006474/0.9305, allocations: 177.2 kB / 0.6727 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=171): time 3.456e-06/0.9305, allocations: 4 kB / 0.6727 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197): time 0.0228/0.9533, allocations: 9.19 MB / 0.6817 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.9534, allocations: 77.41 kB / 0.6817 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/0.956, allocations: 1.837 MB / 0.6835 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002697/0.9563, allocations: 61.7 kB / 0.6836 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009017/0.9572, allocations: 1.088 MB / 0.6847 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007585/0.958, allocations: 0.7167 MB / 0.6854 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007925/0.9588, allocations: 464.5 kB / 0.6858 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.9589, allocations: 301.1 kB / 0.6861 GB, free: 500 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/0.9611, allocations: 1.233 MB / 0.6873 GB, free: 15.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002606/0.9637, allocations: 1.798 MB / 0.6891 GB, free: 13.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004792/0.9685, allocations: 3.158 MB / 0.6921 GB, free: 9.883 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.9685, allocations: 7.938 kB / 0.6921 GB, free: 9.875 MB / 0.545 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.007536/0.9761, allocations: 4.309 MB / 0.6964 GB, free: 5.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.9761, allocations: 16 kB / 0.6964 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-05/0.9761, allocations: 16 kB / 0.6964 GB, free: 5.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01369/0.9898, allocations: 3.635 MB / 0.6999 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.9911, allocations: 331.4 kB / 0.7002 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006864/0.998, allocations: 3.954 MB / 0.7041 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/0.9999, allocations: 91.95 kB / 0.7042 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002658/1, allocations: 116 kB / 0.7043 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002978/1.003, allocations: 1.672 MB / 0.7059 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002583/1.006, allocations: 1.763 MB / 0.7077 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004592/1.01, allocations: 3.045 MB / 0.7106 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.008e-05/1.01, allocations: 8 kB / 0.7106 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.007147/1.018, allocations: 4.04 MB / 0.7146 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/1.018, allocations: 15.94 kB / 0.7146 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/1.018, allocations: 19 kB / 0.7146 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009579/1.027, allocations: 2.75 MB / 0.7173 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/1.029, allocations: 377 kB / 0.7177 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005922/1.035, allocations: 3.463 MB / 0.721 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/1.037, allocations: 99.94 kB / 0.7211 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002502/1.037, allocations: 112 kB / 0.7213 GB, free: 11.92 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 4 (tank.inFlow[2],tank.inFlow[1],tank.regularFlow[2],tank.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(18,107)} Notification: Performance of prepare postOptimizeDAE: time 0.0006092/1.038, allocations: 310.9 kB / 0.7215 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005091/1.038, allocations: 234.5 kB / 0.7218 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007784/1.046, allocations: 3.948 MB / 0.7256 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.851e-05/1.046, allocations: 27.98 kB / 0.7257 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/1.046, allocations: 4 kB / 0.7257 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005875/1.052, allocations: 3.374 MB / 0.729 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/1.063, allocations: 6.299 MB / 0.7351 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/1.063, allocations: 0 / 0.7351 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/1.065, allocations: 311.9 kB / 0.7354 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004095/1.069, allocations: 1.176 MB / 0.7365 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002774/1.069, allocations: 71.95 kB / 0.7366 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/1.08, allocations: 11.06 MB / 0.7474 GB, free: 320 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.08, allocations: 0 / 0.7474 GB, free: 320 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1881/1.268, allocations: 5.195 MB / 0.7525 GB, free: 273.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/1.269, allocations: 0.6117 MB / 0.7531 GB, free: 273.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003788/1.269, allocations: 51.62 kB / 0.7531 GB, free: 273.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/1.271, allocations: 82.38 kB / 0.7532 GB, free: 273.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003377/1.271, allocations: 162 kB / 0.7534 GB, free: 273.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000162/1.271, allocations: 85.28 kB / 0.7534 GB, free: 273.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00136/1.273, allocations: 1.261 MB / 0.7547 GB, free: 273 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.72e-07/1.273, allocations: 0 / 0.7547 GB, free: 273 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003374/1.276, allocations: 1.743 MB / 0.7564 GB, free: 272.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.level,tank.medium.T,heater.mediums[1].p,heater.mediums[1].T,radiator.mediums[1].p,radiator.mediums[1].T,pipe.mediums[1].p,pipe.mediums[1].T,pipe.mediums[2].p,pipe.mediums[2].T) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,9), (2,8), (5,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008952/1.285, allocations: 6.676 MB / 0.7629 GB, free: 270.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008742/1.294, allocations: 5.115 MB / 0.7679 GB, free: 267 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.294, allocations: 1.969 kB / 0.7679 GB, free: 267 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003197/1.297, allocations: 2.243 MB / 0.7701 GB, free: 264.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004236/1.301, allocations: 1.056 MB / 0.7711 GB, free: 263.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02835/1.33, allocations: 24.26 MB / 0.7948 GB, free: 239.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009912/1.331, allocations: 1.879 MB / 0.7966 GB, free: 237.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002307/1.333, allocations: 0.9564 MB / 0.7976 GB, free: 236.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/1.334, allocations: 0.9991 MB / 0.7986 GB, free: 235.5 MB / 0.5919 GB Notification: Performance of SimCode: time 8.42e-07/1.334, allocations: 4 kB / 0.7986 GB, free: 235.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1263/1.46, allocations: 98.83 MB / 0.8951 GB, free: 137.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.39/18.85, allocations: 11.88 kB / 0.8951 GB, free: 137.1 MB / 0.5919 GB (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.HeatingSystem.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.HeatingSystem.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.HeatingSystem.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.HeatingSystem.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Fluid.Examples.HeatingSystem_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Fluid_Examples_HeatingSystem_fmu --startTime=0 --stopTime=6000 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Fluid_Examples_HeatingSystem.fmu > Modelica_4.0.0_Modelica.Fluid.Examples.HeatingSystem.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Fluid.Examples.HeatingSystem_res.mat does not exist to compare? outputFormat=mat