Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001024/0.001023, allocations: 98.2 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001223/0.001223, allocations: 192.2 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246 MB, free: 11.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2001/0.2001, allocations: 45.92 MB / 344.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002694/0.0002695, allocations: 8 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1222, allocations: 63.48 MB / 481.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.03555/0.1578, allocations: 36.68 MB / 0.5062 GB, free: 472 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2613/0.4192, allocations: 18.86 MB / 0.5246 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/0.4207, allocations: 22.69 kB / 0.5246 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.4221, allocations: 378.2 kB / 0.525 GB, free: 11.78 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01288/0.435, allocations: 4.075 MB / 0.529 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006637/0.4416, allocations: 2.033 MB / 0.5309 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003537/0.4452, allocations: 2.372 MB / 0.5333 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008775/0.4461, allocations: 406.1 kB / 0.5337 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01178/0.4579, allocations: 6.43 MB / 0.5399 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01238/0.4703, allocations: 9.116 MB / 0.5488 GB, free: 3.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.4705, allocations: 36 kB / 0.5489 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01303/0.4836, allocations: 6.95 MB / 0.5557 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004258/0.484, allocations: 248.9 kB / 0.5559 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004137/0.4844, allocations: 189.3 kB / 0.5561 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00591/0.4904, allocations: 3.473 MB / 0.5595 GB, free: 8.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4904, allocations: 0 / 0.5595 GB, free: 8.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4904, allocations: 0 / 0.5595 GB, free: 8.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.4904, allocations: 0 / 0.5595 GB, free: 8.73 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.003644/0.4941, allocations: 1.547 MB / 0.561 GB, free: 7.148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.4941, allocations: 8.562 kB / 0.561 GB, free: 7.141 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001331/0.4942, allocations: 114.3 kB / 0.5611 GB, free: 7.023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/0.4963, allocations: 322.4 kB / 0.5614 GB, free: 6.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008036/0.4971, allocations: 0.535 MB / 0.5619 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.4972, allocations: 120.6 kB / 0.562 GB, free: 6.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-05/0.4973, allocations: 63.98 kB / 0.5621 GB, free: 5.957 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002374/0.4997, allocations: 1.212 MB / 0.5633 GB, free: 4.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.4997, allocations: 4 kB / 0.5633 GB, free: 4.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.597e-05/0.4998, allocations: 28 kB / 0.5633 GB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.488e-05/0.4999, allocations: 45.23 kB / 0.5634 GB, free: 4.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00242/0.5023, allocations: 1.063 MB / 0.5644 GB, free: 3.52 MB / 398.1 MB 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.006201/0.5085, allocations: 5.623 MB / 0.5699 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/0.511, allocations: 0.8083 MB / 0.5707 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006166/0.5116, allocations: 293.6 kB / 0.571 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03064/0.5423, allocations: 17.42 MB / 0.588 GB, free: 8.871 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.455e-05/0.5424, allocations: 46.52 kB / 0.588 GB, free: 8.816 MB / 430.1 MB Notification: Performance of pre-optimization done (n=45): time 2.685e-06/0.5424, allocations: 0 / 0.588 GB, free: 8.816 MB / 430.1 MB Notification: Performance of matching and sorting (n=49): time 0.00691/0.5493, allocations: 2.365 MB / 0.5903 GB, free: 6.398 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.5494, allocations: 170.6 kB / 0.5905 GB, free: 6.191 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007794/0.5502, allocations: 0.5976 MB / 0.5911 GB, free: 5.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/0.5503, allocations: 37.7 kB / 0.5911 GB, free: 5.547 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.5505, allocations: 386.9 kB / 0.5915 GB, free: 5.168 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.5507, allocations: 177.2 kB / 0.5916 GB, free: 4.996 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.5507, allocations: 16 kB / 0.5917 GB, free: 4.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.5509, allocations: 378.8 kB / 0.592 GB, free: 4.602 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005715/0.5515, allocations: 289.8 kB / 0.5923 GB, free: 4.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007948/0.5523, allocations: 0.6238 MB / 0.5929 GB, free: 3.543 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006592/0.5529, allocations: 376.5 kB / 0.5933 GB, free: 3.172 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.404e-05/0.553, allocations: 7.953 kB / 0.5933 GB, free: 3.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001759/0.5548, allocations: 0.9801 MB / 0.5942 GB, free: 2.172 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.5548, allocations: 8 kB / 0.5942 GB, free: 2.164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.5548, allocations: 12 kB / 0.5942 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002795/0.5551, allocations: 65.44 kB / 0.5943 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.5564, allocations: 307.5 kB / 0.5946 GB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.5579, allocations: 1.98 MB / 0.5965 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007258/0.5586, allocations: 83.91 kB / 0.5966 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.678e-05/0.5587, allocations: 43.98 kB / 0.5967 GB, free: 15.53 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004222/0.5591, allocations: 281.4 kB / 0.5969 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.5593, allocations: 71.16 kB / 0.597 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003114/0.5624, allocations: 2.602 MB / 0.5995 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-05/0.5625, allocations: 35.95 kB / 0.5996 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5625, allocations: 0 / 0.5996 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.5625, allocations: 11.86 kB / 0.5996 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004726/0.5672, allocations: 3.794 MB / 0.6033 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.5673, allocations: 4 kB / 0.6033 GB, free: 8.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.5683, allocations: 243.7 kB / 0.6035 GB, free: 8.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003815/0.5687, allocations: 88.78 kB / 0.6036 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.5688, allocations: 16 kB / 0.6036 GB, free: 8.316 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/0.5702, allocations: 1.995 MB / 0.6056 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5703, allocations: 0 / 0.6056 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00331/0.5736, allocations: 2.373 MB / 0.6079 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006396/0.5742, allocations: 334.8 kB / 0.6082 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.5744, allocations: 16.06 kB / 0.6082 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005196/0.5749, allocations: 59.86 kB / 0.6083 GB, free: 3.352 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.575, allocations: 48.48 kB / 0.6083 GB, free: 3.305 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.395e-05/0.5751, allocations: 19.98 kB / 0.6083 GB, free: 3.285 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000798/0.5759, allocations: 0.5537 MB / 0.6089 GB, free: 2.734 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5759, allocations: 0 / 0.6089 GB, free: 2.734 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003788/0.5797, allocations: 1.097 MB / 0.61 GB, free: 1.637 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009211/0.5889, allocations: 4.058 MB / 0.6139 GB, free: 13.65 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002798/0.5917, allocations: 1.108 MB / 0.615 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.5918, allocations: 0 / 0.615 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00159/0.5934, allocations: 0.8207 MB / 0.6158 GB, free: 11.72 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/0.5953, allocations: 378.1 kB / 0.6162 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.6073, allocations: 6.399 MB / 0.6224 GB, free: 4.762 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007926/0.6082, allocations: 1.177 MB / 0.6236 GB, free: 3.555 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001062/0.6092, allocations: 435.3 kB / 0.624 GB, free: 3.129 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005643/0.6098, allocations: 447.3 kB / 0.6244 GB, free: 2.695 MB / 462.1 MB Notification: Performance of SimCode: time 1.162e-06/0.6098, allocations: 0 / 0.6244 GB, free: 2.695 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09838/0.7082, allocations: 57.23 MB / 0.6803 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/0.7085, allocations: 285.2 kB / 0.6806 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.607/5.315, allocations: 0 / 0.6806 GB, free: 9.367 MB / 0.5137 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat