Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TDSTest.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.ExtTest.TDSTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|Time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TDSTest") translateModel(PNlib.Examples.ExtTest.TDSTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|Time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TDSTest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009601/0.0009603, allocations: 179.6 kB / 15.43 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 225.7 MB / 241.9 MB, free: 392 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008222/0.0008222, allocations: 88.25 kB / 293.1 MB, free: 12.9 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.07143/0.07143, allocations: 17.12 MB / 361.3 MB, free: 8.898 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 8 kB / 426.5 MB, free: 83.29 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08313/0.08347, allocations: 54.53 MB / 481.1 MB, free: 29.05 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TDSTest): time 0.001866/0.08537, allocations: 2.122 MB / 483.2 MB, free: 26.92 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006132/0.09152, allocations: 8.582 MB / 491.8 MB, free: 17.41 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004033/0.09195, allocations: 7.938 kB / 491.8 MB, free: 17.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.09229, allocations: 139 kB / 491.9 MB, free: 17.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003806/0.09268, allocations: 143.1 kB / 492.1 MB, free: 17.13 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.09501, allocations: 1.353 MB / 493.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001279/0.0963, allocations: 2.095 MB / 495.5 MB, free: 13.67 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002831/0.09659, allocations: 275.8 kB / 495.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006008/0.0972, allocations: 0.7591 MB / 496.5 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004387/0.09765, allocations: 0.5324 MB / 497.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.09778, allocations: 64 kB / 497.1 MB, free: 12.03 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008496/0.09863, allocations: 0.6787 MB / 497.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.09882, allocations: 219 kB / 498 MB, free: 11.14 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004571/0.09929, allocations: 0.6274 MB / 498.7 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.1006, allocations: 1.862 MB / 0.4888 GB, free: 8.633 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1006, allocations: 0 / 0.4888 GB, free: 8.633 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1006, allocations: 0 / 0.4888 GB, free: 8.633 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.1006, allocations: 0 / 0.4888 GB, free: 8.633 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.001567/0.1022, allocations: 1.92 MB / 0.4907 GB, free: 6.527 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1022, allocations: 8.031 kB / 0.4907 GB, free: 6.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004313/0.1027, allocations: 183.2 kB / 0.4908 GB, free: 6.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007064/0.1034, allocations: 0.6443 MB / 0.4915 GB, free: 5.652 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.1035, allocations: 157.4 kB / 0.4916 GB, free: 5.484 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.1037, allocations: 140 kB / 0.4918 GB, free: 5.348 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0027/0.1064, allocations: 2.361 MB / 0.4941 GB, free: 2.852 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.1064, allocations: 3.938 kB / 0.4941 GB, free: 2.848 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.1066, allocations: 71.97 kB / 0.4941 GB, free: 2.777 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001329/0.1067, allocations: 93.92 kB / 0.4942 GB, free: 2.688 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/0.1088, allocations: 1.585 MB / 0.4958 GB, free: 1.102 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005212/0.114, allocations: 5.322 MB / 0.501 GB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002762/0.1168, allocations: 2.711 MB / 0.5036 GB, free: 8.879 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002456/0.1193, allocations: 2.559 MB / 0.5061 GB, free: 6.312 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.1194, allocations: 89.53 kB / 0.5062 GB, free: 6.207 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002207/0.1216, allocations: 1.668 MB / 0.5078 GB, free: 4.473 MB / 346.7 MB Notification: Performance of pre-optimization done (n=150): time 2.444e-06/0.1216, allocations: 0 / 0.5078 GB, free: 4.473 MB / 346.7 MB Notification: Performance of matching and sorting (n=150): time 0.006605/0.1282, allocations: 4.681 MB / 0.5124 GB, free: 15.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006504/0.1289, allocations: 1.154 MB / 0.5135 GB, free: 14.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007748/0.1297, allocations: 0.6582 MB / 0.5142 GB, free: 13.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.1299, allocations: 113.7 kB / 0.5143 GB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003109/0.1302, allocations: 412.6 kB / 0.5147 GB, free: 13.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003244/0.1305, allocations: 371.5 kB / 0.515 GB, free: 12.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.4e-05/0.1306, allocations: 44.03 kB / 0.5151 GB, free: 12.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.1308, allocations: 431.2 kB / 0.5155 GB, free: 12.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.132, allocations: 0.7459 MB / 0.5162 GB, free: 11.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/0.1337, allocations: 1.43 MB / 0.5176 GB, free: 9.785 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005138/0.1388, allocations: 4.734 MB / 0.5222 GB, free: 4.406 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.67e-05/0.1389, allocations: 4 kB / 0.5222 GB, free: 4.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.00449/0.1434, allocations: 3.347 MB / 0.5255 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004091/0.1438, allocations: 0.7005 MB / 0.5262 GB, free: 76 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/0.1438, allocations: 20 kB / 0.5262 GB, free: 56 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.896e-05/0.1439, allocations: 32 kB / 0.5262 GB, free: 24 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1805/0.3244, allocations: 212.4 kB / 0.5264 GB, free: 60.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.793e-05/0.3245, allocations: 44.59 kB / 0.5265 GB, free: 60.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.3256, allocations: 239.6 kB / 0.5267 GB, free: 60.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001915/0.3258, allocations: 107.3 kB / 0.5268 GB, free: 60.05 MB / 362.7 MB Warning: Assuming fixed start value for the following 47 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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 ) "priority Index" type: Integer P2.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P2.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P2.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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 P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P2.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P2.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean P2.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P2.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P2.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P2.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer T1.fire:DISCRETE(fixed = true ) "Does the transition fire?" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 249 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$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[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[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P2.enableIn.valid,P2.enableIn.valid,$PRE.P2.enableIn.benefitLimit,P2.enableIn.benefitLimit,$PRE.P2.enableIn.benefitMax,P2.enableIn.benefitMax,$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,$whenCondition8,$PRE.P2.reStart,$whenCondition5,$PRE.P1.reStart,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$whenCondition4,$whenCondition3,P1.tokeninout,$PRE.P2.firingSumIn.firingSum,$PRE.P2.firingSumOut.firingSum,$whenCondition7,$whenCondition6,P2.tokeninout,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.tokeninout,T1.tokenChange.vec[1],T1.tokenChange.anytrue,T1.tokenChange.numtrue,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$PRE.P2.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$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.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$whenCondition2,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$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.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,T1.outPlaces[1].disTransition,P2.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,T1.firingCon,P2.reStart,P1.reStart,P2.enableIn.disTransition[1],$PRE.P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P2.enableIn.TEin[1],$PRE.P2.enableIn.arcWeightSum,$PRE.T1.putFireTime,$PRE.T1.putDelay,$PRE.T1.state128[1],$PRE.T1.state128[2],$PRE.T1.state128[3],$PRE.T1.state128[4],$PRE.T1.r128,$PRE.T1.fire,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$PRE.P1.t,P1.t,$PRE.P1.activeOut[1],P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.TEout[1],P1.enableOut.arcWeightSum,$PRE.P2.t,P2.t,P2.enabledByInPlaces[1],P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.enableIn.TAein[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.TEin[1],P2.enableIn.arcWeightSum,T1.putFireTime,T1.putDelay,T1.state128[1],T1.state128[2],T1.state128[3],T1.state128[4],T1.r128,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active,T1.active,T1.fire,T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[1],T1.activation.disPlaceOut[1],P2.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],P2.inTransition[1].emptied,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (249): * Single equations (assignments): 226 * Array equations: 1 * Algorithm blocks: 22 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001727/0.3275, allocations: 1.388 MB / 0.5282 GB, free: 59.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/0.3278, allocations: 142.3 kB / 0.5283 GB, free: 59.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005391/0.3332, allocations: 3.614 MB / 0.5318 GB, free: 58.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/0.3332, allocations: 10.39 kB / 0.5318 GB, free: 58.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.3333, allocations: 1.5 kB / 0.5318 GB, free: 58.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.3333, allocations: 4.5 kB / 0.5319 GB, free: 58.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007193/0.3405, allocations: 4.932 MB / 0.5367 GB, free: 56.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.3405, allocations: 1.438 kB / 0.5367 GB, free: 56.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.3408, allocations: 48.16 kB / 0.5367 GB, free: 56.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/0.3408, allocations: 2.188 kB / 0.5367 GB, free: 56.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002263/0.341, allocations: 79.59 kB / 0.5368 GB, free: 56.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.3411, allocations: 3.219 kB / 0.5368 GB, free: 56.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.3411, allocations: 2.938 kB / 0.5368 GB, free: 56.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006754/0.3478, allocations: 4.311 MB / 0.541 GB, free: 54.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.348, allocations: 188.5 kB / 0.5412 GB, free: 54.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003665/0.3484, allocations: 156.8 kB / 0.5413 GB, free: 54.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007017/0.3491, allocations: 117.9 kB / 0.5414 GB, free: 54.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007142/0.3498, allocations: 406.3 kB / 0.5418 GB, free: 54.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001861/0.35, allocations: 89.64 kB / 0.5419 GB, free: 54.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004415/0.3505, allocations: 384 kB / 0.5423 GB, free: 53.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3505, allocations: 0 / 0.5423 GB, free: 53.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001912/0.3524, allocations: 0.5933 MB / 0.5429 GB, free: 53.81 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 137 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,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.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,$whenCondition2,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,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.enableOut.benefitMax,P2.enableOut.valid,P2.enableOut.benefitLimit,$whenCondition9,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],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.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,P2.t,P2.tokeninout,P2.enabledByInPlaces[1],P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.enableIn.TAein[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.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.enableIn.benefitMax,P2.enableIn.valid,P2.enableIn.benefitLimit,T1.putFireTime,T1.putDelay,T1.state128[1],T1.state128[2],T1.state128[3],T1.state128[4],T1.r128,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active,T1.tokenChange.vec[1],T1.tokenChange.anytrue,T1.tokenChange.numtrue,T1.active,T1.fire) * Number of discrete states: 110 (P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.activeOut[1],P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.t,P2.t,P1.tokeninout,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.activation.active,T1.delayPassed,T1.putFireTime,$whenCondition11,T1.putDelay,T1.state128[4],T1.state128[3],T1.state128[2],T1.state128[1],T1.r128,$whenCondition10,T1.fire,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,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[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition13,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P2.enableIn.TEin_[1],P2.enableIn.valid,P2.enableIn.benefitLimit,P2.enableIn.benefitMax,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,$whenCondition12,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P2.enableOut.benefitLimit,P2.enableOut.valid,P2.enableOut.benefitMax,P2.enableOut.Index,P2.enableOut.endWhile,P2.enableOut.sumEnablingProbTAout,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.nTAout,P2.enableOut.nremTAout,$whenCondition2,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 43 * Array equations: 1 * Algorithm blocks: 17 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001074/0.3535, allocations: 0.588 MB / 0.5434 GB, free: 53.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005011/0.3585, allocations: 3.98 MB / 0.5473 GB, free: 51.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.3585, allocations: 1.062 kB / 0.5473 GB, free: 51.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003873/0.3624, allocations: 5.952 MB / 0.5531 GB, free: 46.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009913/0.3634, allocations: 210.2 kB / 0.5533 GB, free: 46.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004362/0.3678, allocations: 3.238 MB / 0.5565 GB, free: 44.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005192/0.3684, allocations: 1.138 MB / 0.5576 GB, free: 43.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006587/0.369, allocations: 260.5 kB / 0.5579 GB, free: 42.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.3692, allocations: 71.42 kB / 0.5579 GB, free: 42.79 MB / 362.7 MB Notification: Performance of SimCode: time 7.32e-07/0.3692, allocations: 0 / 0.5579 GB, free: 42.79 MB / 362.7 MB Notification: Performance of Templates: time 0.02807/0.3972, allocations: 22.2 MB / 0.5796 GB, free: 20.47 MB / 362.7 MB make -j1 -f PNlib_PNlib.Examples.ExtTest.TDSTest.makefile (rm -f PNlib_PNlib.Examples.ExtTest.TDSTest.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TDSTest.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TDSTest.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.TDSTest.sim & ./PNlib_PNlib.Examples.ExtTest.TDSTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ExtTest.TDSTest.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ExtTest.TDSTest_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TDSTest.mat","../files/PNlib_PNlib.Examples.ExtTest.TDSTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches