Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.ExtTest.TAwithPDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD") translateModel(PNlib.Examples.ExtTest.TAwithPDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 110.8 kB / 16.42 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07452/0.07452, allocations: 16.73 MB / 307.9 MB, free: 14.22 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 71.88 kB / 427 MB, free: 10.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08733/0.08857, allocations: 53.47 MB / 480.5 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TAwithPDtoTD): time 0.004695/0.09329, allocations: 3.593 MB / 484.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005725/0.09904, allocations: 3.28 MB / 487.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008146/0.09988, allocations: 23.88 kB / 487.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007112/0.1006, allocations: 293.5 kB / 487.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008948/0.1015, allocations: 321.4 kB / 488 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003296/0.1048, allocations: 1.689 MB / 489.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004278/0.1091, allocations: 4.17 MB / 493.8 MB, free: 7.699 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006987/0.1099, allocations: 0.5831 MB / 494.4 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.1116, allocations: 1.566 MB / 496 MB, free: 5.512 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.1127, allocations: 1.038 MB / 497 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000375/0.1131, allocations: 268 kB / 497.3 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.1145, allocations: 0.917 MB / 498.2 MB, free: 3.289 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004231/0.1149, allocations: 490.2 kB / 498.7 MB, free: 2.809 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001247/0.1162, allocations: 1.198 MB / 499.9 MB, free: 1.605 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003072/0.1192, allocations: 3.225 MB / 0.4913 GB, free: 14.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1193, allocations: 0 / 0.4913 GB, free: 14.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1193, allocations: 0 / 0.4913 GB, free: 14.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.478e-05/0.1193, allocations: 0 / 0.4913 GB, free: 14.37 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.003873/0.1232, allocations: 3.233 MB / 0.4945 GB, free: 10.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1232, allocations: 11.89 kB / 0.4945 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008724/0.1241, allocations: 297.3 kB / 0.4948 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.1257, allocations: 0.9556 MB / 0.4957 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003473/0.126, allocations: 349.8 kB / 0.496 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003493/0.1264, allocations: 256 kB / 0.4963 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006098/0.1325, allocations: 4.27 MB / 0.5004 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.056e-05/0.1325, allocations: 15.81 kB / 0.5005 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002602/0.1328, allocations: 120 kB / 0.5006 GB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002701/0.1331, allocations: 194.7 kB / 0.5008 GB, free: 4.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004663/0.1378, allocations: 2.958 MB / 0.5037 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2063/0.3441, allocations: 10.25 MB / 0.5137 GB, free: 27.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004369/0.3485, allocations: 4.681 MB / 0.5182 GB, free: 24.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003954/0.3525, allocations: 4.369 MB / 0.5225 GB, free: 21.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/0.3526, allocations: 93.83 kB / 0.5226 GB, free: 21.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003701/0.3563, allocations: 2.693 MB / 0.5252 GB, free: 20.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=236): time 4.288e-06/0.3564, allocations: 0 / 0.5252 GB, free: 20.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=236): time 0.009844/0.3662, allocations: 7.318 MB / 0.5324 GB, free: 17.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006243/0.3669, allocations: 1.614 MB / 0.5339 GB, free: 15.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.3683, allocations: 1.048 MB / 0.535 GB, free: 15.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002888/0.3686, allocations: 153.4 kB / 0.5351 GB, free: 15.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004578/0.3691, allocations: 0.6967 MB / 0.5358 GB, free: 14.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000391/0.3695, allocations: 0.5838 MB / 0.5364 GB, free: 14.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006577/0.3702, allocations: 0.688 MB / 0.537 GB, free: 13.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.355e-05/0.3702, allocations: 351.4 kB / 0.5374 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/0.3718, allocations: 1.267 MB / 0.5386 GB, free: 12.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001946/0.3738, allocations: 2.428 MB / 0.541 GB, free: 10.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00595/0.3797, allocations: 7.301 MB / 0.5481 GB, free: 2.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.499e-05/0.3798, allocations: 8 kB / 0.5481 GB, free: 2.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=456) (initialization): time 0.00663/0.3864, allocations: 5.24 MB / 0.5532 GB, free: 12.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005597/0.387, allocations: 0.9348 MB / 0.5541 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.536e-05/0.387, allocations: 32 kB / 0.5542 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.669e-05/0.3871, allocations: 52 kB / 0.5542 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.3882, allocations: 399.6 kB / 0.5546 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.811e-05/0.3883, allocations: 75.72 kB / 0.5547 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.3899, allocations: 404 kB / 0.5551 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002449/0.3901, allocations: 168 kB / 0.5552 GB, free: 10.55 MB / 398.1 MB Warning: Assuming fixed start value for the following 72 variables: P3.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P3.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P3.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P3.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P3.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P3.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P3.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P3.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P3.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer 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 T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T2.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P3.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P3.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P2.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P2.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P3.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P3.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P3.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P3.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P3.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P3.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P3.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P3.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P3.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer 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 T2.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T1.firingTime: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: 158 * Number of states: 0 () * Number of discrete variables: 384 ($PRE.P3.enableIn.valid,P3.enableIn.valid,$PRE.P3.enableIn.benefitLimit,P3.enableIn.benefitLimit,$PRE.P3.enableIn.benefitMax,P3.enableIn.benefitMax,$PRE.P3.enableIn.posTE,P3.enableIn.posTE,$PRE.P3.enableIn.k,P3.enableIn.k,$PRE.P3.enableIn.endWhile,P3.enableIn.endWhile,P3.enableIn.randNum,$PRE.P3.enableIn.randNum,P3.enableIn.state128[4],$PRE.P3.enableIn.state128[4],P3.enableIn.state128[3],$PRE.P3.enableIn.state128[3],P3.enableIn.state128[2],$PRE.P3.enableIn.state128[2],P3.enableIn.state128[1],$PRE.P3.enableIn.state128[1],P3.enableIn.cumEnablingProb[1],$PRE.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,P3.enableIn.remTAin[1],$PRE.P3.enableIn.remTAin[1],$PRE.P3.enableIn.Index,P3.enableIn.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,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],P2.enableIn.cumEnablingProb[1],$PRE.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,P2.enableIn.remTAin[1],$PRE.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,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[2],$PRE.P1.enableOut.cumEnablingProb[2],P1.enableOut.cumEnablingProb[1],$PRE.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,P1.enableOut.remTAout[2],$PRE.P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition19,$PRE.P2.reStart,$whenCondition16,$PRE.P3.reStart,$whenCondition13,T2.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P3.firingSumOut.firingSum,$PRE.P3.firingSumIn.firingSum,P3.tokeninout,$whenCondition11,$whenCondition12,$PRE.P2.firingSumOut.firingSum,$PRE.P2.firingSumIn.firingSum,P2.tokeninout,$whenCondition14,$whenCondition15,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition17,$whenCondition18,P3.firingSumOut.firingSum,P2.firingSumOut.firingSum,P1.firingSumIn.firingSum,$PRE.P3.enableOut.benefitLimit,P3.enableOut.benefitLimit,$PRE.P3.enableOut.valid,P3.enableOut.valid,$PRE.P3.enableOut.benefitMax,P3.enableOut.benefitMax,$PRE.P3.enableOut.Index,P3.enableOut.Index,$PRE.P3.enableOut.endWhile,P3.enableOut.endWhile,$PRE.P3.enableOut.sumEnablingProbTAout,P3.enableOut.sumEnablingProbTAout,P3.enableOut.randNum,$PRE.P3.enableOut.randNum,P3.enableOut.state128[4],$PRE.P3.enableOut.state128[4],P3.enableOut.state128[3],$PRE.P3.enableOut.state128[3],P3.enableOut.state128[2],$PRE.P3.enableOut.state128[2],P3.enableOut.state128[1],$PRE.P3.enableOut.state128[1],$PRE.P3.enableOut.posTE,P3.enableOut.posTE,$PRE.P3.enableOut.k,P3.enableOut.k,$PRE.P3.enableOut.nTAout,P3.enableOut.nTAout,$PRE.P3.enableOut.nremTAout,P3.enableOut.nremTAout,P3.enableOut.arcWeightSum,$PRE.P3.enableOut.arcWeightSum,P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,P3.activeConOut.anychange,$whenCondition3,$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,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],$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,P2.enableOut.arcWeightSum,$PRE.P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,$whenCondition2,$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,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$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,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T2.firingCon,T2.outPlaces[1].disTransition,P3.inTransition[1].disPlace,T2.inPlaces[1].disTransition,P1.outTransition[2].disPlace,T1.firingCon,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,P3.reStart,P2.reStart,P1.reStart,P3.enableIn.disTransition[1],P2.enableIn.disTransition[1],$PRE.T2.firingTime,$PRE.T1.firingTime,$PRE.P3.enableIn.arcWeightSum,$PRE.P3.enableIn.TEin[1],$PRE.P2.enableIn.arcWeightSum,$PRE.P2.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[2],$PRE.P1.enableOut.TEout[1],TA1.outTransition.arcType,T2.activation.testValueInt[1],P1.enableOut.arcWeight[1],P2.enableIn.arcWeight[1],T2.activation.arcWeightIntIn[1],P3.enableIn.arcWeight[1],T2.activation.disPlaceOut[1],P1.enableOut.disTransition[2],T2.activation.disPlaceIn[1],T1.activation.disPlaceOut[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],P1.enableOut.arcWeight[2],T2.activation.active,T2.activation.normalArc[1],T2.activation.maxTokensInt[1],T2.activation.minTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.arcType[1],T2.activation.tIntOut[1],T2.activation.tIntIn[1],T2.delayPassed,$PRE.T2.delayPassed,T2.firingTime,T2.outPlaces[1].enabledByInPlaces,T2.active,T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,TA1.testColor[3],TA1.testColor[2],TA1.testColor[1],P3.enableIn.arcWeightSum,P3.enableIn.TEin[1],P3.enableIn.TEin_[1],P3.enableIn.active[1],P3.enableIn.TAein[1],P3.firingSumIn.firingSum,P3.firingSumIn.arcWeight[1],P3.firingSumIn.fire[1],P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,P3.delayPassedIn.vec[1],P3.t,$PRE.P3.t,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.enableIn.TAein[1],P2.firingSumIn.firingSum,P2.firingSumIn.arcWeight[1],P2.firingSumIn.fire[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedIn.vec[1],P2.t,$PRE.P2.t,P1.enableOut.arcWeightSum,P1.enableOut.TEout[2],P1.enableOut.TEout[1],P1.enableOut.TEout_[2],P1.enableOut.TEout_[1],P1.enableOut.TAout[2],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[2],P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[2],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[2],P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[2],P1.activeConOut.vec[1],P1.activeOut[2],$PRE.P1.activeOut[2],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,P1.outTransition[2].fed,P3.inTransition[1].emptied,P2.inTransition[1].emptied,P1.outTransition[2].normalArc,P1.outTransition[2].testValueint,P1.outTransition[2].arcType,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (411): * Single equations (assignments): 381 * Array equations: 1 * Algorithm blocks: 29 * 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.002538/0.3927, allocations: 2.056 MB / 0.5572 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004237/0.3931, allocations: 214.2 kB / 0.5574 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007703/0.4008, allocations: 5.391 MB / 0.5627 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.4008, allocations: 3.984 kB / 0.5627 GB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4009, allocations: 0 / 0.5627 GB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/0.4011, allocations: 231 kB / 0.5629 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005549/0.4017, allocations: 227.9 kB / 0.5631 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.4029, allocations: 203.8 kB / 0.5633 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001133/0.404, allocations: 0.738 MB / 0.5641 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009811/0.4138, allocations: 8.134 MB / 0.572 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009099/0.4229, allocations: 6.684 MB / 0.5785 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006549/0.4295, allocations: 7.724 MB / 0.5861 GB, free: 10.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008062/0.4303, allocations: 0.5808 MB / 0.5866 GB, free: 9.578 MB / 430.1 MB Notification: Performance of Backend: time 3.51e-07/0.4304, allocations: 0 / 0.5866 GB, free: 9.578 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006843/0.4372, allocations: 4.763 MB / 0.5913 GB, free: 4.516 MB / 430.1 MB Notification: Performance of SimCode: time 0.006358/0.4436, allocations: 4.766 MB / 0.5959 GB, free: 15.43 MB / 446.1 MB Notification: Performance of Templates: time 0.06046/0.5041, allocations: 39.68 MB / 0.6347 GB, free: 7.684 MB / 478.1 MB make -j1 -f PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD.makefile (rm -f PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD.sim & ./PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TAwithPDtoTD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches