Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TAwithPCtoTC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.ExtTest.TAwithPCtoTC,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TAwithPCtoTC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ExtTest.TAwithPCtoTC,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TAwithPCtoTC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004666/0.004666, allocations: 169.3 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.206/1.206, allocations: 205.4 MB / 221.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007979/0.0007979, allocations: 94.91 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.0635/0.0635, allocations: 16.87 MB / 334.7 MB, free: 5.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002702/0.0002703, allocations: 14.06 kB / 397 MB, free: 46.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06567/0.06595, allocations: 51.69 MB / 448.7 MB, free: 132 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2146/0.2806, allocations: 80.52 MB / 0.5168 GB, free: 79.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.2808, allocations: 69.34 kB / 0.5169 GB, free: 79.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07223/0.3531, allocations: 33.62 MB / 0.5497 GB, free: 59.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3531, allocations: 4 kB / 0.5497 GB, free: 59.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.692e-05/0.3532, allocations: 39.88 kB / 0.5498 GB, free: 59.55 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 644 * Number of variables: 644 Notification: Performance of Generate backend data structure: time 0.003578/0.3567, allocations: 3.017 MB / 0.5527 GB, free: 56.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.3568, allocations: 8.031 kB / 0.5527 GB, free: 56.27 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006773/0.3575, allocations: 406.4 kB / 0.5531 GB, free: 55.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0023/0.3598, allocations: 0.5712 MB / 0.5537 GB, free: 55.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.3616, allocations: 1.093 MB / 0.5547 GB, free: 54.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003323/0.3619, allocations: 0.5896 MB / 0.5553 GB, free: 53.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003621/0.3623, allocations: 272 kB / 0.5556 GB, free: 53.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005302/0.3676, allocations: 4.384 MB / 0.5599 GB, free: 48.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/0.3677, allocations: 7.938 kB / 0.5599 GB, free: 48.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002872/0.368, allocations: 139.9 kB / 0.56 GB, free: 48.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001859/0.3682, allocations: 163.7 kB / 0.5602 GB, free: 48.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004232/0.3724, allocations: 3.189 MB / 0.5633 GB, free: 45.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009112/0.3815, allocations: 9.19 MB / 0.5722 GB, free: 35.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003457/0.385, allocations: 4.199 MB / 0.5763 GB, free: 31.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.3852, allocations: 118.1 kB / 0.5765 GB, free: 31.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002578/0.3877, allocations: 2.37 MB / 0.5788 GB, free: 28.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=222): time 2.995e-06/0.3878, allocations: 0 / 0.5788 GB, free: 28.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=222): time 0.008047/0.3958, allocations: 8.555 MB / 0.5871 GB, free: 19.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00043/0.3963, allocations: 1.469 MB / 0.5886 GB, free: 17.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008234/0.3971, allocations: 0.9321 MB / 0.5895 GB, free: 16.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000203/0.3973, allocations: 137.7 kB / 0.5896 GB, free: 16.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/0.3977, allocations: 0.7685 MB / 0.5904 GB, free: 16.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000388/0.3981, allocations: 0.5636 MB / 0.5909 GB, free: 15.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.3982, allocations: 76.09 kB / 0.591 GB, free: 15.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3984, allocations: 482 kB / 0.5914 GB, free: 14.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/0.4002, allocations: 1.392 MB / 0.5928 GB, free: 13.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002167/0.4024, allocations: 2.45 MB / 0.5952 GB, free: 10.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/0.4045, allocations: 2.464 MB / 0.5976 GB, free: 7.906 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.268e-05/0.4046, allocations: 12 kB / 0.5976 GB, free: 7.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.005675/0.4103, allocations: 5.257 MB / 0.6027 GB, free: 2.426 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003332/0.4106, allocations: 1.068 MB / 0.6038 GB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003304/0.4139, allocations: 2.622 MB / 0.6063 GB, free: 14.45 MB / 378.7 MB Warning: The Tearing heuristic has chosen variables with annotation attribute 'tearingSelect = avoid'. Use -d=tearingdump and -d=tearingdumpV for more information. Notification: Performance of postOpt tearingSystem (initialization): time 0.0009168/0.4148, allocations: 352.6 kB / 0.6067 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.4159, allocations: 395 kB / 0.6071 GB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002507/0.4184, allocations: 2.07 MB / 0.6091 GB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.4199, allocations: 385.5 kB / 0.6094 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002911/0.4202, allocations: 184.4 kB / 0.6096 GB, free: 10.95 MB / 378.7 MB Warning: Assuming fixed start value for the following 54 variables: P3.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P3.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P3.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P3.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P3.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P3.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P3.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P3.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P3.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P3.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P3.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P3.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P3.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P3.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P3.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 148 * Number of states: 0 () * Number of discrete variables: 347 ($PRE.P3.enableIn.posTE,P3.enableIn.posTE,$PRE.P3.enableIn.k,P3.enableIn.k,$PRE.P3.enableIn.endWhile,P3.enableIn.endWhile,$PRE.P3.enableIn.state128[1],P3.enableIn.state128[1],$PRE.P3.enableIn.state128[2],P3.enableIn.state128[2],$PRE.P3.enableIn.state128[3],P3.enableIn.state128[3],$PRE.P3.enableIn.state128[4],P3.enableIn.state128[4],$PRE.P3.enableIn.randNum,P3.enableIn.randNum,$PRE.P3.enableIn.cumEnablingProb[1],P3.enableIn.cumEnablingProb[1],$PRE.P3.enableIn.sumEnablingProbTAin,P3.enableIn.sumEnablingProbTAin,$PRE.P3.enableIn.nTAin,P3.enableIn.nTAin,$PRE.P3.enableIn.nremTAin,P3.enableIn.nremTAin,$PRE.P3.enableIn.remTAin[1],P3.enableIn.remTAin[1],$PRE.P3.enableIn.Index,P3.enableIn.Index,$PRE.P3.enableIn.arcWeightSum,P3.enableIn.arcWeightSum,$PRE.P3.enableIn.disTAin[1],P3.enableIn.disTAin[1],$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,$PRE.P2.enableIn.state128[1],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[4],$PRE.P2.enableIn.randNum,P2.enableIn.randNum,$PRE.P2.enableIn.cumEnablingProb[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,$PRE.P2.enableIn.remTAin[1],P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,$PRE.P2.enableIn.disTAin[1],P2.enableIn.disTAin[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$PRE.P1.enableOut.cumEnablingProb[2],P1.enableOut.cumEnablingProb[2],$PRE.P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.remTAout[2],P1.enableOut.remTAout[2],$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.disTAout[2],P1.enableOut.disTAout[2],$PRE.P1.enableOut.disTAout[1],P1.enableOut.disTAout[1],$whenCondition9,P3.disMarksInOut,$PRE.P3.disMarksOut.anytrue,$PRE.P3.disMarksIn.anytrue,P3.disMarksOut.anytrue,P3.disMarksOut.numtrue,$whenCondition8,P2.disMarksInOut,$PRE.P2.disMarksOut.anytrue,$PRE.P2.disMarksIn.anytrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,$whenCondition7,P1.disMarksInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,T2.inPlaces[1].tokenInOut,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,$PRE.P3.enableOut.arcWeightSum,P3.enableOut.arcWeightSum,$PRE.P3.enableOut.nremTAout,P3.enableOut.nremTAout,$PRE.P3.enableOut.nTAout,P3.enableOut.nTAout,$PRE.P3.enableOut.k,P3.enableOut.k,$PRE.P3.enableOut.posTE,P3.enableOut.posTE,$PRE.P3.enableOut.state128[1],P3.enableOut.state128[1],$PRE.P3.enableOut.state128[2],P3.enableOut.state128[2],$PRE.P3.enableOut.state128[3],P3.enableOut.state128[3],$PRE.P3.enableOut.state128[4],P3.enableOut.state128[4],$PRE.P3.enableOut.randNum,P3.enableOut.randNum,$PRE.P3.enableOut.sumEnablingProbTAout,P3.enableOut.sumEnablingProbTAout,$PRE.P3.enableOut.endWhile,P3.enableOut.endWhile,$PRE.P3.enableOut.Index,P3.enableOut.Index,$whenCondition3,P3.delayPassedOut.anytrue,P3.delayPassedOut.numtrue,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.state128[1],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[4],$PRE.P2.enableOut.randNum,P2.enableOut.randNum,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.Index,P2.enableOut.Index,$whenCondition2,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.Index,P1.enableIn.Index,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P3.inTransition[1].tint,P3.inTransition[1].maxTokensint,T2.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].disTransition,P3.inTransition[1].disPlace,P1.outTransition[2].tint,P1.outTransition[2].minTokensint,T2.inPlaces[1].disTransition,P1.outTransition[2].disPlace,P2.inTransition[1].tint,P2.inTransition[1].maxTokensint,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].disTransition,P2.inTransition[1].disPlace,P1.outTransition[1].tint,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,P1.outTransition[1].minTokensint,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,T2.firingCon,T1.firingCon,P3.enableIn.enablingPrio[1],P3.reStart,P2.enableIn.enablingPrio[1],P2.reStart,P1.enableOut.enablingPrio[2],P1.enableOut.enablingPrio[1],P1.reStart,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.vec[2],P1.disMarksOut.vec[1],P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.disMarksIn.vec[1],P3.disMarksIn.anytrue,P3.disMarksIn.numtrue,P3.disMarksIn.vec[1],$whenCondition4,$whenCondition5,$whenCondition6,$PRE.P1.fireOut[1],P1.fireOut[1],$PRE.P1.fireOut[2],P1.fireOut[2],P1.enableOut.TAout[1],P1.enableOut.TAout[2],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[2],P1.enableOut.TEout[2],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.vec[2],P1.emptying.anytrue,P1.emptying.numtrue,$PRE.P2.fireIn[1],P2.fireIn[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue,$PRE.P3.fireIn[1],P3.fireIn[1],P3.enableIn.active[1],P3.enableIn.TEin_[1],$PRE.P3.enableIn.TEin[1],P3.enableIn.TEin[1],P3.delayPassedIn.anytrue,P3.delayPassedIn.numtrue,P3.feeding.vec[1],P3.feeding.anytrue,P3.feeding.numtrue,P3.emptying.anytrue,P3.emptying.numtrue,TA1.testColor[1],TA1.testColor[2],TA1.testColor[3],T1.activation.fed[1],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,T1.fire_,T2.activation.arcType[1],T2.activation.fed[1],T2.activation.emptied[1],T2.activation.normalArc[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T2.fire_,P1.outTransition[2].arcWeightint,T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.tIntIn[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T2.activation.disPlaceIn[1],T2.activation.minTokensInt[1],T2.activation.tIntIn[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T2.activation.testValueInt[1],P3.delayPassedIn.vec[1],P2.delayPassedIn.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedOut.vec[1],TA1.outTransition.arcType,P1.outTransition[2].testValueint,P1.outTransition[2].normalArc,P1.outTransition[2].arcType) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (369): * Single equations (assignments): 336 * Array equations: 0 * Algorithm blocks: 32 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {7 7} Notification: Performance of prepare postOptimizeDAE: time 0.002435/0.4226, allocations: 2.114 MB / 0.6117 GB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005293/0.4232, allocations: 218.2 kB / 0.6119 GB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006479/0.4297, allocations: 4.639 MB / 0.6164 GB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/0.4297, allocations: 12 kB / 0.6164 GB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4297, allocations: 3.938 kB / 0.6164 GB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.4297, allocations: 7.984 kB / 0.6164 GB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009983/0.4397, allocations: 7.353 MB / 0.6236 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005738/0.4455, allocations: 4.4 MB / 0.6279 GB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/0.4459, allocations: 103.8 kB / 0.628 GB, free: 7.465 MB / 394.7 MB Warning: The Tearing heuristic has chosen variables with annotation attribute 'tearingSelect = avoid'. Use -d=tearingdump and -d=tearingdumpV for more information. Notification: Performance of postOpt tearingSystem (simulation): time 0.0005926/0.4465, allocations: 268.6 kB / 0.6283 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002553/0.4467, allocations: 127.9 kB / 0.6284 GB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/0.4487, allocations: 1.945 MB / 0.6303 GB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4487, allocations: 4 kB / 0.6303 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/0.4592, allocations: 7.888 MB / 0.638 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.4594, allocations: 219.1 kB / 0.6382 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000533/0.46, allocations: 235.9 kB / 0.6384 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.4612, allocations: 235.8 kB / 0.6387 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008735/0.4621, allocations: 0.6096 MB / 0.6393 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002982/0.4624, allocations: 159.8 kB / 0.6394 GB, free: 11.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006104/0.463, allocations: 0.5419 MB / 0.6399 GB, free: 10.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.463, allocations: 0 / 0.6399 GB, free: 10.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002203/0.4652, allocations: 0.8074 MB / 0.6407 GB, free: 10.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (P1.t_,P2.t_,P3.t_) * Number of discrete variables: 181 ($whenCondition1,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$whenCondition2,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,$whenCondition3,P3.enableOut.state128[1],P3.enableOut.state128[2],P3.enableOut.state128[3],P3.enableOut.state128[4],P3.enableOut.arcWeightSum,P3.enableOut.nremTAout,P3.enableOut.nTAout,P3.enableOut.k,P3.enableOut.posTE,P3.enableOut.randNum,P3.enableOut.sumEnablingProbTAout,P3.enableOut.endWhile,P3.enableOut.Index,P3.delayPassedOut.anytrue,P3.delayPassedOut.numtrue,P2.disMarksInOut,P3.disMarksInOut,$cse3[1],$cse5[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition6,P1.disMarksInOut,P1.fireOut[1],P1.fireOut[2],P1.enableOut.TAout[1],P1.enableOut.TAout[2],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.TEout[2],P1.enableOut.disTAout[1],P1.enableOut.disTAout[2],P1.enableOut.remTAout[1],P1.enableOut.remTAout[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[2],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.vec[2],P1.emptying.anytrue,P1.emptying.numtrue,P1.outTransition[1].tokenInOut,P2.fireIn[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.disTAin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue,P3.fireIn[1],P3.enableIn.active[1],P3.enableIn.TEin_[1],P3.enableIn.state128[1],P3.enableIn.state128[2],P3.enableIn.state128[3],P3.enableIn.state128[4],P3.enableIn.TEin[1],P3.enableIn.disTAin[1],P3.enableIn.remTAin[1],P3.enableIn.cumEnablingProb[1],P3.enableIn.arcWeightSum,P3.enableIn.nremTAin,P3.enableIn.nTAin,P3.enableIn.k,P3.enableIn.posTE,P3.enableIn.randNum,P3.enableIn.sumEnablingProbTAin,P3.enableIn.endWhile,P3.enableIn.Index,P3.delayPassedIn.anytrue,P3.delayPassedIn.numtrue,P3.disMarksOut.anytrue,P3.disMarksOut.numtrue,P3.disMarksIn.anytrue,P3.disMarksIn.numtrue,P3.feeding.vec[1],P3.feeding.anytrue,P3.feeding.numtrue,P3.emptying.anytrue,P3.emptying.numtrue,TA1.testColor[1],TA1.testColor[2],TA1.testColor[3],T1.activation.fed[1],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,T1.fire_,T2.activation.arcType[1],T2.activation.fed[1],T2.activation.emptied[1],T2.activation.normalArc[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T2.fire_,T2.inPlaces[1].tokenInOut) * Number of discrete states: 156 (P3.fireIn[1],P3.disMarksOut.anytrue,P3.disMarksIn.anytrue,P3.emptying.numtrue,P3.emptying.anytrue,P3.feeding.numtrue,P3.feeding.anytrue,P3.disMarksIn.numtrue,P3.disMarksOut.numtrue,P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,P2.fireIn[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.disMarksIn.numtrue,P2.disMarksOut.numtrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P1.fireOut[2],P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.disMarksInOut,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P2.enableIn.TEin_[1],P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$whenCondition5,P2.enableIn.TEin[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.activation.NoTokens,P3.enableIn.TEin_[1],P3.enableIn.posTE,P3.enableIn.k,P3.enableIn.endWhile,P3.enableIn.state128[4],P3.enableIn.state128[3],P3.enableIn.state128[2],P3.enableIn.state128[1],P3.enableIn.randNum,P3.enableIn.cumEnablingProb[1],P3.enableIn.sumEnablingProbTAin,P3.enableIn.nTAin,P3.enableIn.nremTAin,P3.enableIn.remTAin[1],P3.enableIn.Index,P3.enableIn.arcWeightSum,P3.enableIn.disTAin[1],$whenCondition6,P3.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[2],P1.enableOut.TEout_[1],P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[2],P1.enableOut.disTAout[1],$whenCondition4,P1.enableOut.TEout[2],P1.enableOut.TEout[1],P3.disMarkChange,P2.disMarkChange,P1.disMarkChange,P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,P3.enableOut.arcWeightSum,P3.enableOut.nremTAout,P3.enableOut.nTAout,P3.enableOut.k,P3.enableOut.posTE,P3.enableOut.randNum,P3.enableOut.state128[4],P3.enableOut.state128[3],P3.enableOut.state128[2],P3.enableOut.state128[1],P3.enableOut.sumEnablingProbTAout,P3.enableOut.endWhile,P3.enableOut.Index,$whenCondition3,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,$whenCondition2,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 62 * Array equations: 2 * Algorithm blocks: 26 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.01173/0.477, allocations: 9.259 MB / 0.6498 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007462/0.4845, allocations: 7.035 MB / 0.6566 GB, free: 9.191 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4845, allocations: 0 / 0.6566 GB, free: 9.191 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006374/0.4908, allocations: 7.943 MB / 0.6644 GB, free: 0.918 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000724/0.4916, allocations: 191.4 kB / 0.6646 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1643/0.6559, allocations: 37.38 MB / 0.7011 GB, free: 117.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/0.6571, allocations: 1.634 MB / 0.7027 GB, free: 116.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009155/0.658, allocations: 399.3 kB / 0.7031 GB, free: 116.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006349/0.6587, allocations: 0.6873 MB / 0.7037 GB, free: 116.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6587, allocations: 0 / 0.7037 GB, free: 116.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05421/0.7129, allocations: 48.05 MB / 0.7507 GB, free: 87.27 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001318/0.7131, allocations: 214.8 kB / 0.7509 GB, free: 87.04 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.121/3.834, allocations: 4 kB / 0.7509 GB, free: 87.04 MB / 442.7 MB (rm -f PNlib_PNlib.Examples.ExtTest.TAwithPCtoTC.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TAwithPCtoTC.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TAwithPCtoTC.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.TAwithPCtoTC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PNlib_PNlib.Examples.ExtTest.TAwithPCtoTC_res.mat --tempDir=temp_PNlib_PNlib_Examples_ExtTest_TAwithPCtoTC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_ExtTest_TAwithPCtoTC.fmu > PNlib_PNlib.Examples.ExtTest.TAwithPCtoTC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.ExtTest.TAwithPCtoTC_res.mat does not exist to compare? outputFormat=mat