Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TFDtest.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.DisTest.TFDtest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.activeIn|T1.activeOut|T1.fire|T1.fireIn|T1.fireOut|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TFDtest") translateModel(PNlib.Examples.DisTest.TFDtest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.activeIn|T1.activeOut|T1.fire|T1.fireIn|T1.fireOut|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TFDtest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 179.2 kB / 15.43 MB, free: 5.777 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.275/1.275, 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.0008357/0.0008358, allocations: 96.92 kB / 293.1 MB, free: 12.91 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.07255/0.07255, allocations: 17.11 MB / 361.3 MB, free: 8.906 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003283, allocations: 8 kB / 426.6 MB, free: 83.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08065/0.08099, allocations: 54.53 MB / 481.1 MB, free: 29.05 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TFDtest): time 0.001928/0.08295, allocations: 2.102 MB / 483.2 MB, free: 26.95 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004453/0.08742, allocations: 5.752 MB / 488.9 MB, free: 20.54 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003323/0.08778, allocations: 7.938 kB / 488.9 MB, free: 20.54 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.08812, allocations: 135.1 kB / 489.1 MB, free: 20.4 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003987/0.08853, allocations: 147 kB / 489.2 MB, free: 20.26 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.0904, allocations: 1.081 MB / 490.3 MB, free: 19.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001265/0.09168, allocations: 2.04 MB / 492.3 MB, free: 17.13 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002785/0.09196, allocations: 271.8 kB / 492.6 MB, free: 16.85 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005861/0.09256, allocations: 0.7397 MB / 493.3 MB, free: 16.11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004607/0.09303, allocations: 0.5285 MB / 493.9 MB, free: 15.58 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.09316, allocations: 60 kB / 493.9 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000823/0.09399, allocations: 0.6593 MB / 494.6 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.09418, allocations: 227 kB / 494.8 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004689/0.09466, allocations: 0.6081 MB / 495.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.09598, allocations: 1.827 MB / 497.3 MB, free: 12.19 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.096, allocations: 0 / 497.3 MB, free: 12.19 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09601, allocations: 3.938 kB / 497.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.09603, allocations: 0 / 497.3 MB, free: 12.18 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.001729/0.09776, allocations: 1.852 MB / 499.1 MB, free: 10.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.09781, allocations: 12.03 kB / 499.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004023/0.09822, allocations: 163.6 kB / 499.3 MB, free: 9.977 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007094/0.09894, allocations: 0.6265 MB / 499.9 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.09907, allocations: 153.4 kB / 0.4883 GB, free: 9.145 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.09925, allocations: 144 kB / 0.4885 GB, free: 9.004 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002865/0.1021, allocations: 2.331 MB / 0.4907 GB, free: 6.543 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.1022, allocations: 4 kB / 0.4908 GB, free: 6.539 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.1023, allocations: 71.91 kB / 0.4908 GB, free: 6.469 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001528/0.1025, allocations: 101.9 kB / 0.4909 GB, free: 6.371 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/0.1046, allocations: 1.573 MB / 0.4925 GB, free: 4.797 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004961/0.1096, allocations: 5.519 MB / 0.4978 GB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002861/0.1125, allocations: 2.7 MB / 0.5005 GB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002446/0.1149, allocations: 2.528 MB / 0.5029 GB, free: 9.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/0.1151, allocations: 89.67 kB / 0.503 GB, free: 9.734 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002204/0.1173, allocations: 1.603 MB / 0.5046 GB, free: 8.074 MB / 346.7 MB Notification: Performance of pre-optimization done (n=147): time 2.725e-06/0.1173, allocations: 0 / 0.5046 GB, free: 8.074 MB / 346.7 MB Notification: Performance of matching and sorting (n=147): time 0.006722/0.124, allocations: 4.601 MB / 0.5091 GB, free: 3.367 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005098/0.1246, allocations: 1.046 MB / 0.5101 GB, free: 2.125 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008008/0.1254, allocations: 0.6143 MB / 0.5107 GB, free: 1.496 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001557/0.1255, allocations: 109.7 kB / 0.5108 GB, free: 1.383 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.1259, allocations: 396.4 kB / 0.5112 GB, free: 0.9883 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003279/0.1262, allocations: 363.7 kB / 0.5115 GB, free: 0.6289 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.53e-05/0.1263, allocations: 40 kB / 0.5116 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000229/0.1265, allocations: 423.1 kB / 0.512 GB, free: 172 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.1277, allocations: 0.7107 MB / 0.5127 GB, free: 15.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/0.1294, allocations: 1.401 MB / 0.514 GB, free: 13.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004946/0.1344, allocations: 4.5 MB / 0.5184 GB, free: 8.625 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-05/0.1344, allocations: 4 kB / 0.5184 GB, free: 8.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004401/0.1388, allocations: 3.191 MB / 0.5216 GB, free: 5.305 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003646/0.1392, allocations: 0.6386 MB / 0.5222 GB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/0.1393, allocations: 23.94 kB / 0.5222 GB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.537e-05/0.1393, allocations: 32 kB / 0.5222 GB, free: 4.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006537/0.14, allocations: 223.4 kB / 0.5225 GB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.432e-05/0.14, allocations: 47.92 kB / 0.5225 GB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009063/0.141, allocations: 234.3 kB / 0.5227 GB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.1411, allocations: 104 kB / 0.5228 GB, free: 3.887 MB / 362.7 MB Warning: Assuming fixed start value for the following 48 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 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: 243 ($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,$whenCondition14,$PRE.P1.reStart,$whenCondition11,$PRE.P2.reStart,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P2.firingSumIn.firingSum,$PRE.P2.firingSumOut.firingSum,$whenCondition10,$whenCondition9,P2.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$whenCondition13,$whenCondition12,P1.tokeninout,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,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$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,$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 (251): * Single equations (assignments): 230 * Array equations: 1 * Algorithm blocks: 20 * 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.001702/0.1428, allocations: 1.335 MB / 0.5241 GB, free: 2.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/0.1431, allocations: 143 kB / 0.5243 GB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1761/0.3192, allocations: 3.5 MB / 0.5277 GB, free: 60.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/0.3193, allocations: 9.906 kB / 0.5277 GB, free: 60.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.3193, allocations: 0.9375 kB / 0.5277 GB, free: 60.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.3193, allocations: 4.641 kB / 0.5277 GB, free: 60.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006736/0.3261, allocations: 5.241 MB / 0.5328 GB, free: 58.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.3261, allocations: 1.672 kB / 0.5328 GB, free: 58.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.3263, allocations: 50.25 kB / 0.5329 GB, free: 58.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.3263, allocations: 3.594 kB / 0.5329 GB, free: 58.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/0.3265, allocations: 79.28 kB / 0.5329 GB, free: 58.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.3265, allocations: 1.969 kB / 0.5329 GB, free: 58.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.3265, allocations: 9.125 kB / 0.533 GB, free: 58.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00538/0.3319, allocations: 4.194 MB / 0.537 GB, free: 56.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.3321, allocations: 171.1 kB / 0.5372 GB, free: 56.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003903/0.3325, allocations: 147 kB / 0.5373 GB, free: 56.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000736/0.3332, allocations: 119.8 kB / 0.5375 GB, free: 56.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007169/0.334, allocations: 403.9 kB / 0.5378 GB, free: 56.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001866/0.3342, allocations: 88.89 kB / 0.5379 GB, free: 56.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004011/0.3346, allocations: 352.3 kB / 0.5383 GB, free: 56.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3346, allocations: 3.562 kB / 0.5383 GB, free: 56.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001668/0.3362, allocations: 0.5877 MB / 0.5388 GB, free: 56.16 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: 134 ($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,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,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,P1.outTransition[1].tokenInOut,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.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.fire) * Number of discrete states: 101 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P1.tokeninout,T1.fire,P2.t,P1.t,P1.activeOut[1],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 (71): * Single equations (assignments): 47 * Array equations: 1 * Algorithm blocks: 16 * 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.001013/0.3373, allocations: 0.5782 MB / 0.5394 GB, free: 55.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004361/0.3416, allocations: 3.737 MB / 0.5431 GB, free: 53.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.3417, allocations: 1.094 kB / 0.5431 GB, free: 53.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004946/0.3466, allocations: 5.784 MB / 0.5487 GB, free: 49.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.3479, allocations: 195.2 kB / 0.5489 GB, free: 49.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004655/0.3526, allocations: 3.116 MB / 0.5519 GB, free: 47.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004987/0.3531, allocations: 1.119 MB / 0.553 GB, free: 47.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005836/0.3537, allocations: 258.8 kB / 0.5533 GB, free: 47.19 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.3539, allocations: 78.53 kB / 0.5534 GB, free: 47.18 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.3539, allocations: 0 / 0.5534 GB, free: 47.18 MB / 362.7 MB Notification: Performance of Templates: time 0.026/0.3799, allocations: 21.64 MB / 0.5745 GB, free: 26.37 MB / 362.7 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TFDtest.makefile (rm -f PNlib_PNlib.Examples.DisTest.TFDtest.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TFDtest.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TFDtest.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TFDtest.sim & ./PNlib_PNlib.Examples.DisTest.TFDtest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TFDtest.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TFDtest_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TFDtest.mat","../files/PNlib_PNlib.Examples.DisTest.TFDtest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches