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: translateModel(PNlib.Examples.ExtTest.TAwithPCtoTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TAwithPCtoTC") translateModel(PNlib.Examples.ExtTest.TAwithPCtoTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TAwithPCtoTC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009358/0.0009358, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.168/1.168, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0007759/0.0007759, allocations: 86.56 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.08779/0.08779, allocations: 16.71 MB / 331.4 MB, free: 8.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.865e-05/1.867e-05, allocations: 4 kB / 390.9 MB, free: 65.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06854/0.06858, allocations: 51.7 MB / 442.6 MB, free: 13.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2864/0.355, allocations: 80.44 MB / 0.5108 GB, free: 9.113 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001817/0.3552, allocations: 65.53 kB / 0.5109 GB, free: 9.082 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07734/0.4326, allocations: 33.48 MB / 0.5436 GB, free: 13.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4326, allocations: 0 / 0.5436 GB, free: 13.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.122e-05/0.4327, allocations: 43.94 kB / 0.5436 GB, free: 13.24 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.0035/0.4362, allocations: 2.952 MB / 0.5465 GB, free: 10.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.4363, allocations: 12.03 kB / 0.5465 GB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00234/0.4386, allocations: 0.5629 MB / 0.547 GB, free: 9.762 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/0.4405, allocations: 1.08 MB / 0.5481 GB, free: 8.898 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004579/0.441, allocations: 0.5951 MB / 0.5487 GB, free: 8.277 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004043/0.4414, allocations: 275.9 kB / 0.5489 GB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006225/0.4476, allocations: 4.269 MB / 0.5531 GB, free: 4.832 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.042e-05/0.4477, allocations: 4 kB / 0.5531 GB, free: 4.828 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002964/0.448, allocations: 129.6 kB / 0.5532 GB, free: 4.758 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002742/0.4483, allocations: 170.2 kB / 0.5534 GB, free: 4.609 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004455/0.4527, allocations: 3.016 MB / 0.5563 GB, free: 2.469 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01197/0.4647, allocations: 9.179 MB / 0.5653 GB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004036/0.4688, allocations: 3.983 MB / 0.5692 GB, free: 4.965 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003434/0.4722, allocations: 3.473 MB / 0.5726 GB, free: 1.477 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001979/0.4725, allocations: 123 kB / 0.5727 GB, free: 1.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002894/0.4754, allocations: 2.283 MB / 0.5749 GB, free: 14.99 MB / 394.7 MB Notification: Performance of pre-optimization done (n=222): time 3.095e-06/0.4754, allocations: 0 / 0.5749 GB, free: 14.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=222): time 0.006065/0.4814, allocations: 4.418 MB / 0.5792 GB, free: 10.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007748/0.4822, allocations: 1.48 MB / 0.5807 GB, free: 8.656 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.4835, allocations: 0.9205 MB / 0.5816 GB, free: 7.727 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002369/0.4837, allocations: 133.7 kB / 0.5817 GB, free: 7.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005286/0.4843, allocations: 0.7685 MB / 0.5825 GB, free: 6.809 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004595/0.4847, allocations: 0.5637 MB / 0.583 GB, free: 6.238 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.4849, allocations: 76.08 kB / 0.5831 GB, free: 6.164 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.4851, allocations: 482 kB / 0.5836 GB, free: 5.684 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001793/0.4869, allocations: 1.314 MB / 0.5848 GB, free: 4.367 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002482/0.4894, allocations: 2.365 MB / 0.5871 GB, free: 1.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002452/0.4919, allocations: 2.38 MB / 0.5895 GB, free: 14.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.283e-05/0.4919, allocations: 12 kB / 0.5895 GB, free: 14.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.006513/0.4984, allocations: 5.078 MB / 0.5944 GB, free: 9.645 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005659/0.499, allocations: 1.064 MB / 0.5955 GB, free: 8.387 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003063/0.5021, allocations: 2.484 MB / 0.5979 GB, free: 5.812 MB / 410.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.0009481/0.503, allocations: 360.8 kB / 0.5983 GB, free: 5.457 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.5041, allocations: 391.1 kB / 0.5986 GB, free: 5.074 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.5059, allocations: 1.781 MB / 0.6004 GB, free: 3.156 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.5076, allocations: 373.6 kB / 0.6007 GB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002817/0.5079, allocations: 188 kB / 0.6009 GB, free: 2.605 MB / 410.7 MB Warning: Assuming fixed start value for the following 54 variables: P3.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P3.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P3.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P3.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P3.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P3.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P3.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P3.enableIn.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P2.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P1.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = false protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P3.disMarksOut.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P3.disMarksIn.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P2.disMarksOut.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P2.disMarksIn.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P3.enableOut.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P3.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P3.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P3.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P3.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P3.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P3.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P3.enableOut.Index:DISCRETE(fixed = false protected = true ) type: Integer P2.enableOut.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P2.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P2.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableOut.Index:DISCRETE(fixed = false protected = true ) type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = false 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 () * 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.001824/0.5097, allocations: 1.716 MB / 0.6026 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005181/0.5102, allocations: 206.3 kB / 0.6028 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00629/0.5165, allocations: 4.489 MB / 0.6072 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-05/0.5166, allocations: 12 kB / 0.6072 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5166, allocations: 0 / 0.6072 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.5166, allocations: 7.938 kB / 0.6072 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009754/0.5264, allocations: 7.176 MB / 0.6142 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005415/0.5318, allocations: 4.241 MB / 0.6183 GB, free: 132 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00042/0.5322, allocations: 103.8 kB / 0.6184 GB, free: 28 kB / 426.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.0006553/0.5329, allocations: 272.2 kB / 0.6187 GB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003023/0.5332, allocations: 127.9 kB / 0.6188 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/0.5348, allocations: 1.777 MB / 0.6205 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.5348, allocations: 4 kB / 0.6205 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/0.5452, allocations: 7.631 MB / 0.628 GB, free: 5.887 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003005/0.5455, allocations: 219 kB / 0.6282 GB, free: 5.652 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005623/0.5461, allocations: 231.9 kB / 0.6284 GB, free: 5.426 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.5474, allocations: 239.8 kB / 0.6287 GB, free: 5.191 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009817/0.5484, allocations: 0.6214 MB / 0.6293 GB, free: 4.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002991/0.5487, allocations: 151.9 kB / 0.6294 GB, free: 4.422 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006605/0.5493, allocations: 0.5343 MB / 0.6299 GB, free: 3.883 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5493, allocations: 0 / 0.6299 GB, free: 3.883 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00232/0.5517, allocations: 0.8036 MB / 0.6307 GB, free: 3.078 MB / 442.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,$cse1[1],$cse3[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) * 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.001075/0.5528, allocations: 0.6391 MB / 0.6313 GB, free: 2.438 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007756/0.5605, allocations: 6.858 MB / 0.638 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.5606, allocations: 4.188 kB / 0.638 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007053/0.5676, allocations: 7.852 MB / 0.6457 GB, free: 2.996 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009837/0.5686, allocations: 191.2 kB / 0.6459 GB, free: 2.809 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1844/0.753, allocations: 4.281 MB / 0.6501 GB, free: 139.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009737/0.754, allocations: 1.622 MB / 0.6517 GB, free: 139 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009534/0.755, allocations: 411.9 kB / 0.652 GB, free: 139 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.7552, allocations: 102.8 kB / 0.6521 GB, free: 139 MB / 458.7 MB Notification: Performance of SimCode: time 7.31e-07/0.7552, allocations: 0 / 0.6521 GB, free: 139 MB / 458.7 MB Notification: Performance of Templates: time 0.04478/0.8, allocations: 32.95 MB / 0.6843 GB, free: 134.2 MB / 458.7 MB make -j1 -f PNlib_PNlib.Examples.ExtTest.TAwithPCtoTC.makefile (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 & ./PNlib_PNlib.Examples.ExtTest.TAwithPCtoTC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ExtTest.TAwithPCtoTC.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ExtTest.TAwithPCtoTC_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TAwithPCtoTC.mat","../files/PNlib_PNlib.Examples.ExtTest.TAwithPCtoTC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches