Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.MultiSensorTest.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.Electrical.MultiSensorTest,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_MultiSensorTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.MultiSensorTest,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_MultiSensorTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001195/0.001195, allocations: 98.73 kB / 17.01 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001607/0.001607, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2442/0.2442, allocations: 45.91 MB / 344.1 MB, free: 12.02 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002752/0.0002754, allocations: 8 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1441, allocations: 63.47 MB / 481.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.MultiSensorTest): time 0.01287/0.157, allocations: 10.03 MB / 491.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007954/0.1651, allocations: 3.027 MB / 494.7 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002207/0.1673, allocations: 71.75 kB / 494.8 MB, free: 8.078 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00188/0.1692, allocations: 453 kB / 495.2 MB, free: 7.633 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004276/0.1735, allocations: 1.003 MB / 496.2 MB, free: 6.625 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003192/0.1767, allocations: 1.005 MB / 497.2 MB, free: 5.621 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006682/0.1834, allocations: 4.888 MB / 0.4903 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01399/0.1975, allocations: 7.506 MB / 0.4977 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003727/0.2012, allocations: 1.814 MB / 0.4994 GB, free: 7.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005452/0.2067, allocations: 2.284 MB / 0.5017 GB, free: 5.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001393/0.2082, allocations: 276 kB / 0.5019 GB, free: 4.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002384/0.2106, allocations: 479.7 kB / 0.5024 GB, free: 4.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00134/0.2119, allocations: 1.071 MB / 0.5034 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002015/0.214, allocations: 0.9524 MB / 0.5044 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2982/0.5122, allocations: 7.152 MB / 0.5113 GB, free: 19.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.5123, allocations: 2.969 kB / 0.5113 GB, free: 19.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.5123, allocations: 0 / 0.5113 GB, free: 19.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003407/0.5126, allocations: 1.25 kB / 0.5113 GB, free: 19.88 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1308 * Number of variables: 1308 Notification: Performance of Generate backend data structure: time 0.01579/0.5284, allocations: 5.212 MB / 0.5164 GB, free: 18.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.5285, allocations: 10.34 kB / 0.5164 GB, free: 18.04 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002711/0.5312, allocations: 0.6876 MB / 0.5171 GB, free: 17.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02026/0.5515, allocations: 3.595 MB / 0.5206 GB, free: 17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007506/0.5591, allocations: 2.779 MB / 0.5233 GB, free: 16.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005075/0.5596, allocations: 365.2 kB / 0.5237 GB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002618/0.5622, allocations: 495.3 kB / 0.5242 GB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02204/0.5843, allocations: 7.423 MB / 0.5314 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001902/0.5845, allocations: 10.59 kB / 0.5314 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001152/0.5857, allocations: 200 kB / 0.5316 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002916/0.586, allocations: 276.2 kB / 0.5319 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01438/0.6004, allocations: 6.894 MB / 0.5386 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04244/0.6428, allocations: 23.21 MB / 0.5613 GB, free: 5.703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01243/0.6553, allocations: 11.81 MB / 0.5728 GB, free: 8.406 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00303/0.6584, allocations: 1.732 MB / 0.5745 GB, free: 6.672 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003335/0.6588, allocations: 222.1 kB / 0.5747 GB, free: 6.426 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003265/0.6621, allocations: 2.057 MB / 0.5767 GB, free: 4.293 MB / 414.1 MB Notification: Performance of pre-optimization done (n=288): time 5.16e-06/0.6621, allocations: 0 / 0.5767 GB, free: 4.293 MB / 414.1 MB Notification: Performance of matching and sorting (n=288): time 0.009347/0.6714, allocations: 5.139 MB / 0.5817 GB, free: 15.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002889/0.6718, allocations: 0.5042 MB / 0.5822 GB, free: 14.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003876/0.6757, allocations: 2.099 MB / 0.5843 GB, free: 12.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006196/0.6763, allocations: 89.69 kB / 0.5844 GB, free: 12.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002295/0.6786, allocations: 2.032 MB / 0.5864 GB, free: 10.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001352/0.68, allocations: 0.9651 MB / 0.5873 GB, free: 9.293 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/0.6802, allocations: 76 kB / 0.5874 GB, free: 9.219 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002814/0.6805, allocations: 466 kB / 0.5878 GB, free: 8.758 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002651/0.6832, allocations: 1.62 MB / 0.5894 GB, free: 7.137 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003669/0.6868, allocations: 2.932 MB / 0.5923 GB, free: 3.664 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00356/0.6904, allocations: 2.2 MB / 0.5944 GB, free: 1.504 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.793e-05/0.6905, allocations: 12 kB / 0.5944 GB, free: 1.492 MB / 430.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.008839/0.6993, allocations: 5.06 MB / 0.5994 GB, free: 12.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.876e-05/0.6994, allocations: 20 kB / 0.5994 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.741e-05/0.6995, allocations: 44 kB / 0.5994 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008293/0.7003, allocations: 334.1 kB / 0.5997 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002829/0.7031, allocations: 0.8361 MB / 0.6006 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006835/0.71, allocations: 7.15 MB / 0.6075 GB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003836/0.7139, allocations: 488 kB / 0.608 GB, free: 3.355 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006885/0.7146, allocations: 172 kB / 0.6082 GB, free: 3.188 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 177 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.meanpowerA.y_last,meanpowerA.y_last,$whenCondition12,$whenCondition11,$whenCondition10,$PRE.rmsiA.mean.y_last,rmsiA.mean.y_last,$PRE.rmsvA.mean.y_last,rmsvA.mean.y_last,$PRE.meanpowerM[1].y_last,meanpowerM[1].y_last,$PRE.meanpowerM[2].y_last,meanpowerM[2].y_last,$PRE.meanpowerM[3].y_last,meanpowerM[3].y_last,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rmsiM[3].mean.y_last,rmsiM[3].mean.y_last,$PRE.rmsiM[2].mean.y_last,rmsiM[2].mean.y_last,$PRE.rmsiM[1].mean.y_last,rmsiM[1].mean.y_last,$PRE.rmsvM[3].mean.y_last,rmsvM[3].mean.y_last,$PRE.rmsvM[2].mean.y_last,rmsvM[2].mean.y_last,$PRE.rmsvM[1].mean.y_last,rmsvM[1].mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (464): * Single equations (assignments): 460 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004399/0.719, allocations: 1.72 MB / 0.6098 GB, free: 1.516 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007844/0.7198, allocations: 247.2 kB / 0.6101 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005195/0.725, allocations: 3.063 MB / 0.6131 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.722e-05/0.725, allocations: 39.94 kB / 0.6131 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.058e-05/0.7251, allocations: 7.984 kB / 0.6131 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.109e-05/0.7251, allocations: 15.95 kB / 0.6131 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/0.7399, allocations: 8.682 MB / 0.6216 GB, free: 5.461 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-05/0.74, allocations: 7.953 kB / 0.6216 GB, free: 5.453 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002085/0.7421, allocations: 0.5007 MB / 0.6221 GB, free: 4.977 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007886/0.7429, allocations: 290.5 kB / 0.6224 GB, free: 4.684 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002511/0.7432, allocations: 75.97 kB / 0.6225 GB, free: 4.609 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006358/0.7495, allocations: 7.083 MB / 0.6294 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.7496, allocations: 0 / 0.6294 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00925/0.7588, allocations: 5.833 MB / 0.6351 GB, free: 7.086 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001633/0.7605, allocations: 0.6614 MB / 0.6357 GB, free: 6.402 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005348/0.7611, allocations: 75.97 kB / 0.6358 GB, free: 6.328 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/0.7625, allocations: 179.8 kB / 0.636 GB, free: 6.152 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003963/0.7629, allocations: 202.3 kB / 0.6362 GB, free: 5.961 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/0.7631, allocations: 91.97 kB / 0.6362 GB, free: 5.871 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002227/0.7653, allocations: 1.416 MB / 0.6376 GB, free: 4.465 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.7653, allocations: 5.859 kB / 0.6376 GB, free: 4.461 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004598/0.7699, allocations: 1.264 MB / 0.6389 GB, free: 3.191 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 18 (sineVoltageQS.pin_p.reference.gamma,sineVoltageQM.plug_p.reference.gamma,inductorM.inductor[1].i,inductorM.inductor[2].i,inductorM.inductor[3].i,rmsvM[1].mean.x,rmsvM[2].mean.x,rmsvM[3].mean.x,rmsiM[1].mean.x,rmsiM[2].mean.x,rmsiM[3].mean.x,meanpowerM[1].x,meanpowerM[2].x,meanpowerM[3].x,inductorA.i,rmsvA.mean.x,rmsiA.mean.x,meanpowerA.x) * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rmsvM[1].mean.y_last,rmsvM[2].mean.y_last,rmsvM[3].mean.y_last,rmsiM[1].mean.y_last,rmsiM[2].mean.y_last,rmsiM[3].mean.y_last,meanpowerM[1].y_last,meanpowerM[2].y_last,meanpowerM[3].y_last,$whenCondition12,$whenCondition11,$whenCondition10,rmsvA.mean.y_last,rmsiA.mean.y_last,meanpowerA.y_last) * Number of discrete states: 12 (meanpowerA.x,rmsiA.mean.x,rmsvA.mean.x,rmsvM[1].mean.x,rmsvM[2].mean.x,rmsvM[3].mean.x,rmsiM[1].mean.x,rmsiM[2].mean.x,rmsiM[3].mean.x,meanpowerM[1].x,meanpowerM[2].x,meanpowerM[3].x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (289): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009269/0.7792, allocations: 6.523 MB / 0.6452 GB, free: 12.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007307/0.7865, allocations: 4.374 MB / 0.6495 GB, free: 8.289 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/0.7866, allocations: 9.797 kB / 0.6495 GB, free: 8.281 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003547/0.7901, allocations: 2.236 MB / 0.6517 GB, free: 6.059 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003753/0.7939, allocations: 487.3 kB / 0.6522 GB, free: 5.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04588/0.8398, allocations: 25.08 MB / 0.6767 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003565/0.8434, allocations: 3.371 MB / 0.6799 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003863/0.8473, allocations: 1.115 MB / 0.681 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003153/0.8505, allocations: 1.671 MB / 0.6827 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of SimCode: time 3.646e-06/0.8505, allocations: 0 / 0.6827 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3874/1.238, allocations: 64.64 MB / 0.7458 GB, free: 157 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/1.238, allocations: 200 kB / 0.746 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.641/4.879, allocations: 0 / 0.746 GB, free: 156.8 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.MultiSensorTest.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.MultiSensorTest.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.MultiSensorTest.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.MultiSensorTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.MultiSensorTest_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_MultiSensorTest_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_MultiSensorTest.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.MultiSensorTest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.MultiSensorTest_res.mat does not exist to compare? outputFormat=mat