Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TTcircle.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.DisTest.TTcircle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTcircle") translateModel(PNlib.Examples.DisTest.TTcircle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTcircle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 109.3 kB / 16.37 MB, free: 6.012 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.00191/0.00191, allocations: 195 kB / 17.31 MB, free: 5.617 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07387/0.07387, allocations: 16.73 MB / 307.9 MB, free: 14.26 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 63.58 kB / 373 MB, free: 48.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1223, allocations: 53.47 MB / 426.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTcircle): time 0.003562/0.126, allocations: 2.826 MB / 429.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004068/0.1301, allocations: 2.713 MB / 432.1 MB, free: 6.219 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003905/0.1305, allocations: 19.88 kB / 432.1 MB, free: 6.199 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005075/0.131, allocations: 222.1 kB / 432.3 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005886/0.1316, allocations: 261.9 kB / 432.5 MB, free: 5.723 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.1344, allocations: 1.337 MB / 433.9 MB, free: 4.383 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002458/0.1368, allocations: 2.987 MB / 436.9 MB, free: 1.391 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005026/0.1373, allocations: 0.5132 MB / 437.4 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.1384, allocations: 1.137 MB / 438.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.1395, allocations: 0.9803 MB / 439.5 MB, free: 14.72 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004627/0.14, allocations: 280 kB / 439.8 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.1414, allocations: 0.9287 MB / 440.7 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003824/0.1418, allocations: 406.5 kB / 441.1 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.1429, allocations: 1.132 MB / 442.2 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004074/0.147, allocations: 3.074 MB / 445.3 MB, free: 8.898 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1471, allocations: 0 / 445.3 MB, free: 8.898 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1471, allocations: 0 / 445.3 MB, free: 8.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.95e-05/0.1471, allocations: 0 / 445.3 MB, free: 8.898 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.003705/0.1508, allocations: 2.682 MB / 448 MB, free: 6.023 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1509, allocations: 15.89 kB / 448 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007/0.1516, allocations: 254.8 kB / 448.3 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/0.1532, allocations: 0.9069 MB / 449.2 MB, free: 4.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002436/0.1535, allocations: 277.8 kB / 449.4 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000343/0.1539, allocations: 228 kB / 449.7 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006038/0.1599, allocations: 4.016 MB / 453.7 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.16, allocations: 3.938 kB / 453.7 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002657/0.1602, allocations: 116 kB / 453.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002756/0.1605, allocations: 178.4 kB / 454 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004624/0.1651, allocations: 2.832 MB / 456.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01112/0.1763, allocations: 8.226 MB / 465 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005287/0.1816, allocations: 4.836 MB / 469.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004752/0.1864, allocations: 4.665 MB / 474.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001555/0.1866, allocations: 94.09 kB / 474.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003847/0.1904, allocations: 2.585 MB / 477.2 MB, free: 8.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=178): time 2.955e-06/0.1904, allocations: 0 / 477.2 MB, free: 8.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=178): time 0.01187/0.2023, allocations: 7.944 MB / 485.1 MB, free: 220 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000908/0.2033, allocations: 1.265 MB / 486.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.2045, allocations: 0.8856 MB / 487.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000218/0.2048, allocations: 129.7 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004945/0.2053, allocations: 0.5932 MB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004614/0.2057, allocations: 458.7 kB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007075/0.2064, allocations: 0.5641 MB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2066, allocations: 349.9 kB / 489.4 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/0.2082, allocations: 1.086 MB / 490.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002291/0.2105, allocations: 2.001 MB / 492.5 MB, free: 8.227 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00692/0.2175, allocations: 6.316 MB / 498.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-05/0.2175, allocations: 8 kB / 498.8 MB, free: 1.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.006087/0.2236, allocations: 4.366 MB / 0.4913 GB, free: 12.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004394/0.2241, allocations: 0.6815 MB / 0.492 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-05/0.2241, allocations: 28 kB / 0.492 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.303e-05/0.2242, allocations: 40 kB / 0.4921 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008135/0.225, allocations: 307.2 kB / 0.4924 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.742e-05/0.2251, allocations: 51.86 kB / 0.4924 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.2263, allocations: 321.5 kB / 0.4927 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/0.2265, allocations: 139.9 kB / 0.4929 GB, free: 10.94 MB / 382.1 MB Warning: Assuming fixed start value for the following 50 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 P2.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P2.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P2.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.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.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 P2.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.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.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 P1.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 P2.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P2.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" 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: 119 * Number of states: 0 () * Number of discrete variables: 292 ($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.P2.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,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],P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],$PRE.P2.enableOut.remTAout[1],$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,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],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.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[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[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition14,$PRE.P2.reStart,$whenCondition9,$PRE.P2.tokeninout,P2.outTransition[1].tokenInOut,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.P2.firingSumOut.firingSum,$PRE.P2.firingSumIn.firingSum,P2.tokeninout,$whenCondition7,$whenCondition8,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition12,$whenCondition13,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T2.inPlaces[1].disTransition,P2.outTransition[1].normalArc,P2.outTransition[1].testValueint,P2.outTransition[1].arcType,P2.outTransition[1].disPlace,P2.inTransition[1].disPlace,T1.outPlaces[1].disTransition,P2.reStart,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],P2.enableIn.disTransition[1],$PRE.T2.firingTime,$PRE.P2.enableIn.arcWeightSum,$PRE.P2.enableIn.TEin[1],$PRE.P2.enableOut.arcWeightSum,$PRE.P2.enableOut.TEout[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],T1.activation.arcWeightIntOut[1],P2.enableOut.arcWeight[1],P1.enableIn.arcWeight[1],T2.activation.disPlaceOut[1],P2.enableOut.disTransition[1],T2.activation.normalArc[1],T2.activation.testValueInt[1],T2.activation.arcType[1],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],T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.minTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.arcWeightIntIn[1],T2.activation.tIntOut[1],T2.activation.tIntIn[1],T2.firingTime,T2.outPlaces[1].enabledByInPlaces,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.enableIn.TAein[1],P2.enableIn.arcWeight[1],P2.enableOut.arcWeightSum,P2.enableOut.TEout[1],P2.enableOut.TEout_[1],P2.enableOut.TAout[1],P2.firingSumOut.firingSum,P2.firingSumOut.arcWeight[1],P2.firingSumOut.fire[1],P2.firingSumIn.firingSum,P2.firingSumIn.arcWeight[1],P2.firingSumIn.fire[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedIn.vec[1],P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.delayPassedOut.vec[1],P2.activeConOut.anychange,P2.activeConOut.vec[1],P2.activeOut[1],$PRE.P2.activeOut[1],P2.inTransition[1].enabledByInPlaces,P2.t,$PRE.P2.t,T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.firingTime,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5,$whenCondition6,$whenCondition10,$whenCondition11,P2.outTransition[1].fed,P2.inTransition[1].emptied,P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (320): * Single equations (assignments): 298 * Array equations: 2 * 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.002385/0.2289, allocations: 1.68 MB / 0.4945 GB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004021/0.2293, allocations: 182.6 kB / 0.4947 GB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009898/0.2392, allocations: 6.692 MB / 0.5012 GB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.773e-05/0.2393, allocations: 19.91 kB / 0.5012 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.2393, allocations: 4 kB / 0.5012 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.2394, allocations: 7.984 kB / 0.5012 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2509/0.4903, allocations: 8.546 MB / 0.5096 GB, free: 80.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.4903, allocations: 0 / 0.5096 GB, free: 80.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/0.4906, allocations: 76.66 kB / 0.5097 GB, free: 80.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/0.4906, allocations: 2.75 kB / 0.5097 GB, free: 80.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002534/0.4909, allocations: 112.3 kB / 0.5098 GB, free: 80.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/0.4909, allocations: 4.125 kB / 0.5098 GB, free: 80.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4909, allocations: 0.5938 kB / 0.5098 GB, free: 80.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/0.501, allocations: 6.843 MB / 0.5165 GB, free: 77.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.5012, allocations: 200.2 kB / 0.5166 GB, free: 77.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004567/0.5017, allocations: 179 kB / 0.5168 GB, free: 77.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.5028, allocations: 214.4 kB / 0.517 GB, free: 77.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009895/0.5038, allocations: 0.7387 MB / 0.5177 GB, free: 77.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002582/0.5041, allocations: 126.8 kB / 0.5179 GB, free: 77.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005423/0.5046, allocations: 0.4922 MB / 0.5183 GB, free: 77.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5047, allocations: 2.625 kB / 0.5183 GB, free: 77.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00226/0.5069, allocations: 0.7811 MB / 0.5191 GB, free: 77.04 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 158 ($whenCondition13,$whenCondition12,$whenCondition14,$whenCondition11,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],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.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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,T1.firingTime,T1.fireTime,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active,P2.t,P2.inTransition[1].enabledByInPlaces,P2.outTransition[1].tokenInOut,P2.tokeninout,P2.activeOut[1],P2.activeConOut.vec[1],P2.activeConOut.anychange,P2.delayPassedOut.vec[1],P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.fire[1],P2.firingSumOut.arcWeight[1],P2.firingSumOut.firingSum,P2.enableOut.TAout[1],P2.enableOut.TEout_[1],P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.TEout[1],P2.enableOut.remTAout[1],P2.enableOut.cumEnablingProb[1],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,P2.enableIn.arcWeight[1],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,T2.outPlaces[1].enabledByInPlaces,T2.firingTime,T2.fireTime,T2.ani,T2.activation.tIntIn[1],T2.activation.tIntOut[1],T2.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],T2.activation.minTokensInt[1],T2.activation.maxTokensInt[1],T2.activation.active) * Number of discrete states: 109 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P2.tokeninout,P1.tokeninout,P2.t,P2.activeOut[1],P1.t,P1.activeOut[1],T2.activation.active,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,i,P2.activeConOut.vec[i],P2.enableOut.TEout_[1],P2.enableOut.valid,P2.enableOut.benefitLimit,P2.enableOut.benefitMax,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.endWhile,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.cumEnablingProb[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],P2.enableOut.Index,$whenCondition3,P2.enableOut.arcWeightSum,P2.enableOut.TEout[1],T1.activation.active,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,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,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P2.enableIn.TEin_[1],P2.enableIn.valid,P2.enableIn.benefitLimit,P2.enableIn.benefitMax,P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,$whenCondition4,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 68 * Array equations: 2 * Algorithm blocks: 16 * Record equations: 0 * When equations: 8 * 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.001143/0.5081, allocations: 0.6091 MB / 0.5197 GB, free: 76.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0056/0.5137, allocations: 5.319 MB / 0.5249 GB, free: 71.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.5137, allocations: 0 / 0.5249 GB, free: 71.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005998/0.5197, allocations: 9.044 MB / 0.5337 GB, free: 62.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.5209, allocations: 268.9 kB / 0.534 GB, free: 62.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005736/0.5266, allocations: 4.524 MB / 0.5384 GB, free: 57.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006494/0.5273, allocations: 1.378 MB / 0.5398 GB, free: 56.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009098/0.5282, allocations: 427.3 kB / 0.5402 GB, free: 56.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.5284, allocations: 106.7 kB / 0.5403 GB, free: 55.92 MB / 382.1 MB Notification: Performance of SimCode: time 1.392e-06/0.5284, allocations: 4 kB / 0.5403 GB, free: 55.92 MB / 382.1 MB Notification: Performance of Templates: time 0.04444/0.5729, allocations: 33.45 MB / 0.5729 GB, free: 22.36 MB / 382.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TTcircle.makefile (rm -f PNlib_PNlib.Examples.DisTest.TTcircle.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTcircle.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTcircle.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TTcircle.sim & ./PNlib_PNlib.Examples.DisTest.TTcircle -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TTcircle.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTcircle_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTcircle.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTcircle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches