Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.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) 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(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001134/0.001134, allocations: 97.89 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001318/0.001318, allocations: 203.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002569/0.0002569, allocations: 4 kB / 306.7 MB, free: 1.285 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1235, allocations: 51.5 MB / 358.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.2998/0.4233, allocations: 76.56 MB / 434.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04342/0.4668, allocations: 17.88 MB / 452.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02172/0.4885, allocations: 406.9 kB / 453 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01397/0.5025, allocations: 3.872 MB / 456.9 MB, free: 8.637 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03577/0.5383, allocations: 10.71 MB / 467.6 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006785/0.5452, allocations: 1.213 MB / 468.8 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008928/0.5541, allocations: 3.914 MB / 472.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01354/0.5677, allocations: 9.393 MB / 482.2 MB, free: 15.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003345/0.5711, allocations: 1.709 MB / 483.9 MB, free: 13.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003587/0.5747, allocations: 2.141 MB / 486 MB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001124/0.5758, allocations: 244 kB / 486.2 MB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003/0.5788, allocations: 1.326 MB / 487.6 MB, free: 9.859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00263/0.5815, allocations: 2.669 MB / 490.2 MB, free: 7.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001643/0.5831, allocations: 1.403 MB / 491.6 MB, free: 5.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.5938, allocations: 9.808 MB / 0.4897 GB, free: 11.94 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5938, allocations: 0 / 0.4897 GB, free: 11.94 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5938, allocations: 0 / 0.4897 GB, free: 11.94 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000438/0.5943, allocations: 0 / 0.4897 GB, free: 11.94 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.01819/0.6125, allocations: 6.991 MB / 0.4965 GB, free: 4.867 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.6125, allocations: 12.03 kB / 0.4965 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005541/0.6181, allocations: 1.193 MB / 0.4977 GB, free: 3.652 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0126/0.6307, allocations: 3.075 MB / 0.5007 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01046/0.6412, allocations: 4.271 MB / 0.5049 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004024/0.6417, allocations: 447.6 kB / 0.5053 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002858/0.6445, allocations: 0.6869 MB / 0.506 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03945/0.684, allocations: 17.98 MB / 0.5235 GB, free: 8.203 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002925/0.6843, allocations: 59.38 kB / 0.5236 GB, free: 8.145 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002253/0.6866, allocations: 279.7 kB / 0.5238 GB, free: 7.871 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004597/0.6912, allocations: 2.905 MB / 0.5267 GB, free: 4.965 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4086/1.1, allocations: 14.95 MB / 0.5413 GB, free: 137.6 MB / 446.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.08955/1.189, allocations: 65.28 MB / 0.605 GB, free: 84.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02158/1.211, allocations: 7.891 MB / 0.6127 GB, free: 76.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02275/1.234, allocations: 14.88 MB / 0.6273 GB, free: 60.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/1.234, allocations: 60.56 kB / 0.6273 GB, free: 60.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=247): time 5.57e-06/1.234, allocations: 0 / 0.6273 GB, free: 60.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=293): time 0.1909/1.425, allocations: 54.66 MB / 0.6807 GB, free: 5.867 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.246e-05/1.425, allocations: 162.5 kB / 0.6809 GB, free: 5.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007799/1.433, allocations: 5.922 MB / 0.6867 GB, free: 15.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009028/1.434, allocations: 66.64 kB / 0.6867 GB, free: 15.71 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004452/1.438, allocations: 4.855 MB / 0.6915 GB, free: 10.86 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002036/1.44, allocations: 1.114 MB / 0.6925 GB, free: 9.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004604/1.441, allocations: 177.6 kB / 0.6927 GB, free: 9.578 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0005019/1.441, allocations: 0.6737 MB / 0.6934 GB, free: 8.895 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006055/1.447, allocations: 3.995 MB / 0.6973 GB, free: 4.891 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2584/1.706, allocations: 9.071 MB / 0.7061 GB, free: 137.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/1.716, allocations: 5.79 MB / 0.7118 GB, free: 136.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002077/1.717, allocations: 50.38 kB / 0.7118 GB, free: 136.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.07436/1.791, allocations: 24.03 MB / 0.7353 GB, free: 130.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001577/1.791, allocations: 84.5 kB / 0.7354 GB, free: 130.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001976/1.791, allocations: 182.1 kB / 0.7356 GB, free: 130.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01483/1.806, allocations: 5.403 MB / 0.7408 GB, free: 129.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007088/1.813, allocations: 1.981 MB / 0.7428 GB, free: 129.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03964/1.853, allocations: 34.53 MB / 0.7765 GB, free: 95.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008249/1.861, allocations: 0.6004 MB / 0.7771 GB, free: 94.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001567/1.863, allocations: 0.501 MB / 0.7776 GB, free: 94.16 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 820 * Number of states: 0 () * Number of discrete variables: 67 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,sensorConstraintRelative.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],jointPrismatic_y.boxColor[3],jointPrismatic_y.boxColor[2],jointPrismatic_y.boxColor[1],jointPrismatic_x.boxColor[3],jointPrismatic_x.boxColor[2],jointPrismatic_x.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1039): * Single equations (assignments): 1026 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,60.0%) 4,(1,100.0%) 3,(1,100.0%) 3,(2,100.0%) 6,(4,100.0%) 9,(4,100.0%) 9} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.005843/1.869, allocations: 3.291 MB / 0.7808 GB, free: 90.95 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/1.87, allocations: 0.5119 MB / 0.7813 GB, free: 90.71 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05523/1.925, allocations: 17.4 MB / 0.7983 GB, free: 73.22 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.407e-05/1.925, allocations: 46.88 kB / 0.7983 GB, free: 73.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.779e-05/1.925, allocations: 8 kB / 0.7983 GB, free: 73.17 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.13e-05/1.925, allocations: 20.33 kB / 0.7983 GB, free: 73.15 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07242/1.998, allocations: 27.98 MB / 0.8257 GB, free: 45.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.054e-05/1.998, allocations: 0 / 0.8257 GB, free: 45.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002848/2.001, allocations: 491.2 kB / 0.8261 GB, free: 44.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01403/2.015, allocations: 5.157 MB / 0.8312 GB, free: 39.36 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006577/2.015, allocations: 47.98 kB / 0.8312 GB, free: 39.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0389/2.054, allocations: 34.04 MB / 0.8645 GB, free: 4.496 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/2.054, allocations: 0 / 0.8645 GB, free: 4.496 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3094/2.364, allocations: 22.35 MB / 0.8863 GB, free: 128 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00201/2.366, allocations: 0.5482 MB / 0.8868 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001347/2.367, allocations: 51.77 kB / 0.8869 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003426/2.371, allocations: 298.4 kB / 0.8872 GB, free: 127.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008302/2.371, allocations: 186.6 kB / 0.8873 GB, free: 127.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002467/2.372, allocations: 72.05 kB / 0.8874 GB, free: 127.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005316/2.377, allocations: 3.691 MB / 0.891 GB, free: 126.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/2.377, allocations: 0 / 0.891 GB, free: 126.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.009209/2.386, allocations: 1.865 MB / 0.8928 GB, free: 126.4 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (jointPrismatic_x.s,jointPrismatic_x.v,jointPrismatic_y.s,jointPrismatic_y.v,bodyOfConstraint.v_0[2],bodyOfConstraint.v_0[3],bodyOfConstraint.body.frame_a.r_0[2],bodyOfConstraint.body.frame_a.r_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 201 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(5,60.0%) 4,(2,100.0%) 1,(4,100.0%) 9,(4,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 1 {4 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.06278/2.449, allocations: 23.26 MB / 0.9155 GB, free: 116.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02162/2.471, allocations: 11.07 MB / 0.9264 GB, free: 105.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/2.471, allocations: 0 / 0.9264 GB, free: 105.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0107/2.481, allocations: 5.153 MB / 0.9314 GB, free: 100.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004239/2.486, allocations: 0.7412 MB / 0.9321 GB, free: 99.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2573/2.743, allocations: 156.7 MB / 1.085 GB, free: 98.97 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009716/2.753, allocations: 5.175 MB / 1.09 GB, free: 98.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.008043/2.761, allocations: 2.685 MB / 1.093 GB, free: 97.99 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004075/2.765, allocations: 3.244 MB / 1.096 GB, free: 97.98 MB / 478.1 MB Notification: Performance of SimCode: time 1.062e-06/2.765, allocations: 0 / 1.096 GB, free: 97.98 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.137/7.902, allocations: 149.7 MB / 1.242 GB, free: 148.9 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/7.902, allocations: 233.6 kB / 1.242 GB, free: 148.7 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.459/13.36, allocations: 0 / 1.242 GB, free: 148.7 MB / 494.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat does not exist to compare? outputFormat=mat