Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TFDStest.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.TFDStest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.activeIn|T1.activeOut|T1.fire|T1.fireIn|T1.fireOut|T1.putDuration|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TFDStest") translateModel(PNlib.Examples.ExtTest.TFDStest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.activeIn|T1.activeOut|T1.fire|T1.fireIn|T1.fireOut|T1.putDuration|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TFDStest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 180 kB / 15.43 MB, free: 6.207 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.411/1.411, allocations: 225.7 MB / 241.9 MB, free: 396 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.0007975/0.0007975, allocations: 99.12 kB / 293.1 MB, free: 12.89 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.08921/0.08921, allocations: 17.11 MB / 361.3 MB, free: 8.902 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003197, allocations: 8 kB / 426.6 MB, free: 83.29 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07932/0.07966, allocations: 54.54 MB / 481.1 MB, free: 29.04 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TFDStest): time 0.001875/0.08158, allocations: 2.157 MB / 483.2 MB, free: 26.88 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005867/0.08746, allocations: 8.669 MB / 491.9 MB, free: 17.26 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002988/0.08778, allocations: 11.94 kB / 491.9 MB, free: 17.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.08811, allocations: 135 kB / 492.1 MB, free: 17.12 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.0885, allocations: 151 kB / 492.2 MB, free: 16.97 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.0905, allocations: 1.353 MB / 493.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.09171, allocations: 2.126 MB / 495.7 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002875/0.09201, allocations: 291.8 kB / 496 MB, free: 13.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005905/0.09261, allocations: 0.7631 MB / 496.7 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004788/0.09309, allocations: 0.5634 MB / 497.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.09323, allocations: 60 kB / 497.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007653/0.094, allocations: 0.6943 MB / 498.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.09419, allocations: 231 kB / 498.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004429/0.09464, allocations: 0.6275 MB / 498.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.09588, allocations: 1.909 MB / 0.4891 GB, free: 8.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.09589, allocations: 0 / 0.4891 GB, free: 8.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.0959, allocations: 3.984 kB / 0.4891 GB, free: 8.316 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.09592, allocations: 0 / 0.4891 GB, free: 8.316 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.001645/0.09757, allocations: 2.003 MB / 0.491 GB, free: 6.113 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.09761, allocations: 12.03 kB / 0.491 GB, free: 6.102 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004317/0.09805, allocations: 171.4 kB / 0.4912 GB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007192/0.09878, allocations: 0.6602 MB / 0.4919 GB, free: 5.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.09892, allocations: 153.4 kB / 0.492 GB, free: 5.066 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/0.09911, allocations: 148 kB / 0.4921 GB, free: 4.922 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/0.1021, allocations: 2.392 MB / 0.4945 GB, free: 2.395 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.1021, allocations: 11.92 kB / 0.4945 GB, free: 2.383 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.1023, allocations: 67.98 kB / 0.4946 GB, free: 2.316 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000143/0.1024, allocations: 101.9 kB / 0.4947 GB, free: 2.219 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.1044, allocations: 1.592 MB / 0.4962 GB, free: 0.625 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005844/0.1103, allocations: 5.665 MB / 0.5017 GB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002874/0.1132, allocations: 2.729 MB / 0.5044 GB, free: 8.031 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002577/0.1158, allocations: 2.559 MB / 0.5069 GB, free: 5.465 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001399/0.1159, allocations: 85.67 kB / 0.507 GB, free: 5.359 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00236/0.1183, allocations: 1.686 MB / 0.5086 GB, free: 3.613 MB / 346.7 MB Notification: Performance of pre-optimization done (n=157): time 2.404e-06/0.1183, allocations: 0 / 0.5086 GB, free: 3.613 MB / 346.7 MB Notification: Performance of matching and sorting (n=157): time 0.006836/0.1251, allocations: 4.79 MB / 0.5133 GB, free: 14.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006484/0.1258, allocations: 1.15 MB / 0.5144 GB, free: 13.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008948/0.1267, allocations: 0.6621 MB / 0.5151 GB, free: 12.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001791/0.1269, allocations: 117.7 kB / 0.5152 GB, free: 12.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/0.1273, allocations: 416.7 kB / 0.5156 GB, free: 12.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003639/0.1276, allocations: 391.4 kB / 0.516 GB, free: 11.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.652e-05/0.1277, allocations: 48.03 kB / 0.516 GB, free: 11.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002471/0.128, allocations: 431.4 kB / 0.5164 GB, free: 11.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/0.1292, allocations: 0.7577 MB / 0.5172 GB, free: 10.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/0.131, allocations: 1.465 MB / 0.5186 GB, free: 8.727 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005043/0.136, allocations: 4.789 MB / 0.5233 GB, free: 3.266 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-05/0.1361, allocations: 8 kB / 0.5233 GB, free: 3.258 MB / 362.7 MB Notification: Performance of matching and sorting (n=294) (initialization): time 0.173/0.3091, allocations: 3.423 MB / 0.5266 GB, free: 58.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004323/0.3096, allocations: 0.722 MB / 0.5273 GB, free: 57.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.167e-05/0.3096, allocations: 20.5 kB / 0.5273 GB, free: 57.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.428e-05/0.3097, allocations: 33.11 kB / 0.5274 GB, free: 57.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009158/0.3106, allocations: 228 kB / 0.5276 GB, free: 57.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.403e-05/0.3107, allocations: 46.95 kB / 0.5276 GB, free: 57.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.3119, allocations: 249 kB / 0.5279 GB, free: 57.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002663/0.3121, allocations: 106.1 kB / 0.528 GB, free: 57.61 MB / 362.7 MB Warning: Assuming fixed start value for the following 49 variables: 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.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 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.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P2.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" 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 T1.fireOut:DISCRETE(fixed = true ) "Does the transition Output fire?" 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.firingTimeIn:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T1.firingTimeOut:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 260 ($PRE.T1.putDuration,T1.putDuration,$PRE.T1.state128[1],T1.state128[1],$PRE.T1.state128[2],T1.state128[2],$PRE.T1.state128[3],T1.state128[3],$PRE.T1.state128[4],T1.state128[4],$PRE.T1.r128,T1.r128,$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,$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,$whenCondition15,$PRE.P1.reStart,$whenCondition12,$PRE.P2.reStart,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P2.firingSumIn.firingSum,$PRE.P2.firingSumOut.firingSum,$whenCondition11,$whenCondition10,P2.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$whenCondition14,$whenCondition13,P1.tokeninout,$PRE.T1.fireOut,$whenCondition5,$PRE.P1.tokeninout,T1.tokenChange.vec[1],T1.tokenChange.anytrue,T1.tokenChange.numtrue,P2.firingSumOut.firingSum,P1.firingSumIn.firingSum,$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,T1.outPlaces[1].enabledByInPlaces,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.firingTimeIn,$PRE.T1.firingTimeOut,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition3,$whenCondition4,$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.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.firingTimeIn,T1.firingTimeOut,$PRE.T1.durationPassedIn,T1.durationPassedIn,$PRE.T1.durationPassedOut,T1.durationPassedOut,T1.prefire,T1.activationIn.tIntIn[1],T1.activationIn.arcWeightIntIn[1],T1.activationIn.minTokensInt[1],T1.activationIn.active,T1.activationOut.tIntOut[1],T1.activationOut.arcWeightIntOut[1],T1.activationOut.maxTokensInt[1],T1.activationOut.active,T1.activeIn,T1.activeOut,T1.fireOut,$PRE.T1.fire,T1.fire,T1.activationIn.disPlaceIn[1],T1.activationIn.arcType[1],T1.activationIn.testValueInt[1],T1.activationIn.normalArc[1],P1.enableOut.disTransition[1],T1.activationOut.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 (261): * Single equations (assignments): 237 * Array equations: 1 * Algorithm blocks: 23 * 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.001893/0.314, allocations: 1.43 MB / 0.5294 GB, free: 56.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/0.3143, allocations: 144 kB / 0.5295 GB, free: 56.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004881/0.3192, allocations: 3.704 MB / 0.5331 GB, free: 56.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/0.3193, allocations: 12.59 kB / 0.5331 GB, free: 56.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3193, allocations: 0 / 0.5331 GB, free: 56.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.3193, allocations: 6.422 kB / 0.5331 GB, free: 56.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007405/0.3267, allocations: 5.505 MB / 0.5385 GB, free: 53.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.3267, allocations: 1.281 kB / 0.5385 GB, free: 53.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.3269, allocations: 46.98 kB / 0.5386 GB, free: 53.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.327, allocations: 3.719 kB / 0.5386 GB, free: 53.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001914/0.3271, allocations: 84.53 kB / 0.5386 GB, free: 53.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.3272, allocations: 3.781 kB / 0.5387 GB, free: 53.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3272, allocations: 1.125 kB / 0.5387 GB, free: 53.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005674/0.3328, allocations: 4.396 MB / 0.5429 GB, free: 51.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.333, allocations: 181.1 kB / 0.5431 GB, free: 51.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003739/0.3334, allocations: 154.3 kB / 0.5433 GB, free: 51.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007402/0.3341, allocations: 135.5 kB / 0.5434 GB, free: 51.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007313/0.3349, allocations: 414.9 kB / 0.5438 GB, free: 51.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001936/0.3351, allocations: 96.36 kB / 0.5439 GB, free: 51.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004747/0.3356, allocations: 391.5 kB / 0.5443 GB, free: 51.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3356, allocations: 0 / 0.5443 GB, free: 51.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001797/0.3374, allocations: 0.6048 MB / 0.5448 GB, free: 51.11 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: 144 ($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,T1.activeIn,T1.activeOut,$whenCondition14,$whenCondition13,$whenCondition15,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition5,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.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.putDuration,T1.state128[1],T1.state128[2],T1.state128[3],T1.state128[4],T1.r128,T1.firingTimeIn,T1.firingTimeOut,T1.fireTime,T1.durationPassedIn,T1.durationPassedOut,T1.ani,T1.prefire,T1.activationIn.tIntIn[1],T1.activationIn.arcWeightIntIn[1],T1.activationIn.minTokensInt[1],T1.activationIn.active,T1.activationOut.tIntOut[1],T1.activationOut.arcWeightIntOut[1],T1.activationOut.maxTokensInt[1],T1.activationOut.active,T1.tokenChange.vec[1],T1.tokenChange.anytrue,T1.tokenChange.numtrue,T1.fireOut,T1.fire) * Number of discrete states: 111 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P1.tokeninout,T1.fire,P2.t,P1.t,P1.activeOut[1],T1.putDuration,T1.state128[4],T1.state128[3],T1.state128[2],T1.state128[1],T1.r128,$whenCondition5,T1.fireOut,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.activationOut.active,T1.durationPassedOut,T1.activationIn.active,T1.durationPassedIn,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,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,$whenCondition4,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],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,$whenCondition3,P1.enableOut.arcWeightSum,P1.enableOut.TEout[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 (74): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 18 * Record equations: 0 * When equations: 7 * 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.0009707/0.3384, allocations: 0.5951 MB / 0.5454 GB, free: 50.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004196/0.3426, allocations: 4.045 MB / 0.5494 GB, free: 48.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3426, allocations: 1.219 kB / 0.5494 GB, free: 48.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003313/0.3459, allocations: 5.982 MB / 0.5552 GB, free: 44.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008944/0.3468, allocations: 215.1 kB / 0.5554 GB, free: 44.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/0.3507, allocations: 3.276 MB / 0.5586 GB, free: 41.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.3512, allocations: 1.146 MB / 0.5597 GB, free: 40.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005508/0.3517, allocations: 262.5 kB / 0.56 GB, free: 39.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.3519, allocations: 75.42 kB / 0.5601 GB, free: 39.81 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.3519, allocations: 4 kB / 0.5601 GB, free: 39.81 MB / 362.7 MB Notification: Performance of Templates: time 0.02589/0.3778, allocations: 22.75 MB / 0.5823 GB, free: 16.92 MB / 362.7 MB make -j1 -f PNlib_PNlib.Examples.ExtTest.TFDStest.makefile (rm -f PNlib_PNlib.Examples.ExtTest.TFDStest.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TFDStest.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TFDStest.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.TFDStest.sim & ./PNlib_PNlib.Examples.ExtTest.TFDStest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ExtTest.TFDStest.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ExtTest.TFDStest_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TFDStest.mat","../files/PNlib_PNlib.Examples.ExtTest.TFDStest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches