Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.AllComponents.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Rotational.AllComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.AllComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_AllComponents",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.0009864/0.0009864, allocations: 94.69 kB / 16.99 MB, free: 5.941 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.001053/0.001053, allocations: 180.3 kB / 17.87 MB, free: 5.609 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.385/1.385, allocations: 223.2 MB / 241.8 MB, free: 384 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2239/0.2239, allocations: 44.23 MB / 337.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.000346, allocations: 9.062 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1475, allocations: 61.92 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.AllComponents): time 0.008089/0.1556, allocations: 7.638 MB / 479.2 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006761/0.1624, allocations: 3.153 MB / 482.3 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001877/0.1643, allocations: 39.81 kB / 482.4 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006989/0.1651, allocations: 234.1 kB / 482.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002769/0.1679, allocations: 0.8329 MB / 483.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.17, allocations: 0.7021 MB / 484.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004129/0.1741, allocations: 2.111 MB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/0.1754, allocations: 0.638 MB / 486.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002386/0.1778, allocations: 1.137 MB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002632/0.1804, allocations: 1.323 MB / 489.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006221/0.1811, allocations: 136 kB / 489.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.1821, allocations: 231.8 kB / 489.7 MB, free: 11.42 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000657/0.1827, allocations: 0.5099 MB / 490.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008245/0.1836, allocations: 448.5 kB / 490.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003005/0.1866, allocations: 2.349 MB / 493 MB, free: 8.105 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1866, allocations: 7.938 kB / 493 MB, free: 8.098 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1866, allocations: 0 / 493 MB, free: 8.098 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001147/0.1868, allocations: 0 / 493 MB, free: 8.098 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 547 * Number of variables: 547 Notification: Performance of Generate backend data structure: time 0.0075/0.1943, allocations: 2.624 MB / 495.6 MB, free: 5.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.1943, allocations: 8.031 kB / 495.6 MB, free: 5.402 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007354/0.1951, allocations: 307.9 kB / 495.9 MB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.1961, allocations: 300.9 kB / 496.2 MB, free: 4.793 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002615/0.1988, allocations: 1.072 MB / 497.3 MB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001179/0.1999, allocations: 0.5116 MB / 497.8 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004856/0.2004, allocations: 239.7 kB / 498 MB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005634/0.2061, allocations: 2.62 MB / 0.4889 GB, free: 160 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001208/0.2062, allocations: 35.7 kB / 0.489 GB, free: 124 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000227/0.2065, allocations: 84 kB / 0.489 GB, free: 40 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.394e-05/0.2065, allocations: 52.05 kB / 0.4891 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006371/0.2129, allocations: 2.754 MB / 0.4918 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/0.2267, allocations: 7.012 MB / 0.4986 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005278/0.232, allocations: 2.554 MB / 0.5011 GB, free: 3.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002549/0.2323, allocations: 127.1 kB / 0.5012 GB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.535e-05/0.2324, allocations: 81.45 kB / 0.5013 GB, free: 3.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=275): time 5.51e-06/0.2324, allocations: 0 / 0.5013 GB, free: 3.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=333): time 0.3214/0.5538, allocations: 14.56 MB / 0.5155 GB, free: 31.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001635/0.554, allocations: 326.3 kB / 0.5159 GB, free: 30.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/0.5559, allocations: 1.136 MB / 0.517 GB, free: 30.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003278/0.5563, allocations: 98.91 kB / 0.5171 GB, free: 30.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005382/0.5568, allocations: 0.7044 MB / 0.5177 GB, free: 30.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009218/0.5578, allocations: 1.117 MB / 0.5188 GB, free: 29.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.5579, allocations: 64.19 kB / 0.5189 GB, free: 29.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.5581, allocations: 426.1 kB / 0.5193 GB, free: 29.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002507/0.5606, allocations: 1.138 MB / 0.5204 GB, free: 29.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002776/0.5634, allocations: 1.56 MB / 0.5219 GB, free: 28.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002385/0.5658, allocations: 1.168 MB / 0.5231 GB, free: 28.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/0.5658, allocations: 1.594 kB / 0.5231 GB, free: 28.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=407) (initialization): time 0.00722/0.5731, allocations: 3.602 MB / 0.5266 GB, free: 28.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.5731, allocations: 8.062 kB / 0.5266 GB, free: 28.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/0.5731, allocations: 7.969 kB / 0.5266 GB, free: 28.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00245/0.5756, allocations: 1.212 MB / 0.5278 GB, free: 28.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002881/0.5785, allocations: 0.7508 MB / 0.5285 GB, free: 28.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00765/0.5862, allocations: 7.639 MB / 0.536 GB, free: 21.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/0.5889, allocations: 295.8 kB / 0.5363 GB, free: 21.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002453/0.5891, allocations: 118.5 kB / 0.5364 GB, free: 21.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 38 (gear2_1.lossyGear.tau_aPos,gear2_1.lossyGear.startForward,gear2_1.lossyGear.startBackward,gear2_1.lossyGear.locked,$PRE.gear2_1.lossyGear.mode,gear2_1.lossyGear.mode,gear2_1.lossyGear.ideal,bearingFriction.free,$PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode,clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,$PRE.lossyGear.mode,lossyGear.mode,lossyGear.ideal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (338): * Single equations (assignments): 333 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 22,2 25,1 6,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001148/0.5903, allocations: 487.2 kB / 0.5368 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005145/0.5908, allocations: 210.3 kB / 0.537 GB, free: 20.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.5918, allocations: 0.6128 MB / 0.5376 GB, free: 20.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/0.5919, allocations: 36 kB / 0.5377 GB, free: 20.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-05/0.5919, allocations: 7.75 kB / 0.5377 GB, free: 20.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.734e-05/0.592, allocations: 16.08 kB / 0.5377 GB, free: 20.19 MB / 382.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 postOpt removeSimpleEquations (simulation): time 0.01308/0.605, allocations: 7.953 MB / 0.5455 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/0.6051, allocations: 8 kB / 0.5455 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002635/0.6077, allocations: 0.7045 MB / 0.5462 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002037/0.6098, allocations: 1.199 MB / 0.5473 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001911/0.61, allocations: 95.92 kB / 0.5474 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008318/0.6183, allocations: 10.32 MB / 0.5575 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.6183, allocations: 12.23 kB / 0.5575 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.012/0.6303, allocations: 6.61 MB / 0.564 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001643/0.632, allocations: 0.5334 MB / 0.5645 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004556/0.6325, allocations: 84 kB / 0.5646 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002243/0.6347, allocations: 303.8 kB / 0.5649 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009152/0.6357, allocations: 443.8 kB / 0.5653 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002195/0.6359, allocations: 123.9 kB / 0.5654 GB, free: 7.684 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001278/0.6372, allocations: 0.7734 MB / 0.5662 GB, free: 6.906 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6372, allocations: 0 / 0.5662 GB, free: 6.906 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003614/0.6408, allocations: 0.7267 MB / 0.5669 GB, free: 6.184 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 31 (inertia17.phi,inertia17.w,elastoBacklash2.phi_rel,elastoBacklash2.w_rel,inertia14.phi,inertia14.w,constantSpeed.phi,gear2_1.phi_rel,gear2_1.w_rel,relativeStates.phi_rel,relativeStates.w_rel,inertia2.phi,inertia2.w,damper.phi_rel,damper.w_rel,springDamper.phi_rel,springDamper.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,clutch.phi_rel,clutch.w_rel,inertia6.phi,inertia6.w,position.phi,position.w,speed.phi,speed.w,inertia13.phi,inertia13.w,accelerate.phi,accelerate.w) * Number of discrete variables: 24 (gear2_1.lossyGear.tau_aPos,gear2_1.lossyGear.startForward,gear2_1.lossyGear.startBackward,gear2_1.lossyGear.locked,gear2_1.lossyGear.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode,clutch.free,clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,lossyGear.mode) * Number of discrete states: 11 (bearingFriction.mode,bearingFriction.startForward,bearingFriction.startBackward,lossyGear.mode,brake.mode,brake.startForward,brake.startBackward,clutch.mode,clutch.startBackward,clutch.startForward,gear2_1.lossyGear.mode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 260 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 2} * Non-linear torn systems: 5 {2 21,1 5,1 6,2 23,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01361/0.6544, allocations: 9.587 MB / 0.5762 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007853/0.6624, allocations: 3.509 MB / 0.5797 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-05/0.6624, allocations: 4 kB / 0.5797 GB, free: 8.832 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006625/0.6691, allocations: 2.909 MB / 0.5825 GB, free: 5.941 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/0.6716, allocations: 304.6 kB / 0.5828 GB, free: 5.648 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03531/0.7069, allocations: 22.65 MB / 0.6049 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/0.7083, allocations: 1.594 MB / 0.6065 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00166/0.71, allocations: 305.2 kB / 0.6068 GB, free: 12.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/0.7112, allocations: 0.8751 MB / 0.6076 GB, free: 11.26 MB / 446.1 MB Notification: Performance of SimCode: time 7.12e-07/0.7112, allocations: 4 kB / 0.6076 GB, free: 11.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/0.8134, allocations: 54.3 MB / 0.6606 GB, free: 5.406 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/0.8137, allocations: 200.8 kB / 0.6608 GB, free: 5.168 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.84/4.653, allocations: 0 / 0.6608 GB, free: 5.168 MB / 494.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.AllComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.AllComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.AllComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_AllComponents_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_AllComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.AllComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.AllComponents_res.mat does not exist to compare? outputFormat=mat