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.001184/0.001184, allocations: 108 kB / 15.6 MB, free: 124 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 195.6 kB / 16.54 MB, free: 6.668 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.252/1.252, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1593/0.1593, allocations: 16.75 MB / 307.1 MB, free: 14.87 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 63.89 kB / 371.6 MB, free: 3.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2221, allocations: 53.45 MB / 425.1 MB, free: 39.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTcircle): time 0.002914/0.2251, allocations: 2.833 MB / 427.9 MB, free: 38.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003459/0.2285, allocations: 2.706 MB / 430.6 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003094/0.2289, allocations: 19.12 kB / 430.6 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003934/0.2293, allocations: 227.7 kB / 430.9 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004706/0.2298, allocations: 261.6 kB / 431.1 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.2317, allocations: 1.336 MB / 432.4 MB, free: 36.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00192/0.2336, allocations: 2.968 MB / 435.4 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004621/0.2341, allocations: 0.5215 MB / 435.9 MB, free: 34.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009404/0.235, allocations: 1.135 MB / 437.1 MB, free: 34.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007722/0.2358, allocations: 0.9538 MB / 438 MB, free: 33.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003482/0.2362, allocations: 277.3 kB / 438.3 MB, free: 33.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.2372, allocations: 0.9346 MB / 439.2 MB, free: 33.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002892/0.2375, allocations: 403.7 kB / 439.6 MB, free: 33.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008562/0.2384, allocations: 1.139 MB / 440.8 MB, free: 32.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.2407, allocations: 3.002 MB / 443.8 MB, free: 31.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2407, allocations: 0 / 443.8 MB, free: 31.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2407, allocations: 4 kB / 443.8 MB, free: 31.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.991e-05/0.2408, allocations: 0 / 443.8 MB, free: 31.36 MB / 350.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.00277/0.2435, allocations: 2.678 MB / 446.4 MB, free: 29.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.2436, allocations: 13.73 kB / 446.5 MB, free: 29.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006509/0.2442, allocations: 254.2 kB / 446.7 MB, free: 29.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.2452, allocations: 0.9083 MB / 447.6 MB, free: 28.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001681/0.2454, allocations: 277.8 kB / 447.9 MB, free: 28.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002748/0.2457, allocations: 232.4 kB / 448.1 MB, free: 28.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004822/0.2505, allocations: 4.006 MB / 452.1 MB, free: 26.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/0.2506, allocations: 7.062 kB / 452.1 MB, free: 26.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002276/0.2508, allocations: 116.9 kB / 452.2 MB, free: 26.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000231/0.2511, allocations: 182.4 kB / 452.4 MB, free: 26.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003666/0.2548, allocations: 2.821 MB / 455.2 MB, free: 25.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009178/0.264, allocations: 8.278 MB / 463.5 MB, free: 20.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004235/0.2682, allocations: 4.842 MB / 468.4 MB, free: 17.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003641/0.2719, allocations: 4.665 MB / 473 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.71e-05/0.272, allocations: 90.58 kB / 473.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003346/0.2754, allocations: 2.586 MB / 475.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=178): time 2.705e-06/0.2754, allocations: 1.25 kB / 475.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=178): time 0.00997/0.2854, allocations: 7.951 MB / 483.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004242/0.2858, allocations: 1.257 MB / 484.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008229/0.2866, allocations: 0.8934 MB / 485.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001456/0.2868, allocations: 121.7 kB / 485.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.2871, allocations: 0.5932 MB / 486.5 MB, free: 6.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/0.2873, allocations: 454.7 kB / 487 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005292/0.2879, allocations: 0.5602 MB / 487.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.268e-05/0.2879, allocations: 353.9 kB / 487.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.2892, allocations: 1.086 MB / 489 MB, free: 4.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/0.2907, allocations: 1.999 MB / 491 MB, free: 1.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005817/0.2966, allocations: 6.328 MB / 497.3 MB, free: 10.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.149e-05/0.2966, allocations: 8 kB / 497.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.005484/0.3021, allocations: 4.37 MB / 0.4899 GB, free: 6.336 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003618/0.3025, allocations: 0.6737 MB / 0.4906 GB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.201e-05/0.3025, allocations: 32 kB / 0.4906 GB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.669e-05/0.3026, allocations: 40 kB / 0.4906 GB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007746/0.3034, allocations: 307.2 kB / 0.4909 GB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.784e-05/0.3034, allocations: 55.84 kB / 0.491 GB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.3046, allocations: 321.7 kB / 0.4913 GB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001908/0.3048, allocations: 136 kB / 0.4914 GB, free: 4.664 MB / 366.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.002409/0.3072, allocations: 1.673 MB / 0.493 GB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004059/0.3077, allocations: 190.6 kB / 0.4932 GB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008892/0.3166, allocations: 6.684 MB / 0.4998 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-05/0.3166, allocations: 16 kB / 0.4998 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3167, allocations: 0 / 0.4998 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.3167, allocations: 3.984 kB / 0.4998 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.3273, allocations: 8.574 MB / 0.5081 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3273, allocations: 0 / 0.5081 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.3276, allocations: 71.89 kB / 0.5082 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.3276, allocations: 4 kB / 0.5082 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002259/0.3278, allocations: 115.9 kB / 0.5083 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.3279, allocations: 7.938 kB / 0.5083 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3279, allocations: 4 kB / 0.5083 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008944/0.3368, allocations: 6.839 MB / 0.515 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.337, allocations: 195.4 kB / 0.5152 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004611/0.3375, allocations: 179.9 kB / 0.5154 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.3386, allocations: 207.8 kB / 0.5156 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001055/0.3397, allocations: 0.7347 MB / 0.5163 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002487/0.34, allocations: 135.8 kB / 0.5164 GB, free: 10.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005364/0.3405, allocations: 0.4951 MB / 0.5169 GB, free: 10.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3405, allocations: 0 / 0.5169 GB, free: 10.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001935/0.3425, allocations: 0.7801 MB / 0.5177 GB, free: 9.258 MB / 398.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.00102/0.3435, allocations: 0.6187 MB / 0.5183 GB, free: 8.641 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007585/0.3511, allocations: 5.847 MB / 0.524 GB, free: 2.555 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3511, allocations: 0 / 0.524 GB, free: 2.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006923/0.358, allocations: 9.047 MB / 0.5328 GB, free: 9.312 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.3591, allocations: 267.8 kB / 0.5331 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006471/0.3656, allocations: 4.565 MB / 0.5375 GB, free: 4.457 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008051/0.3664, allocations: 1.374 MB / 0.5389 GB, free: 3.051 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009049/0.3673, allocations: 425.9 kB / 0.5393 GB, free: 2.633 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.3675, allocations: 103.4 kB / 0.5394 GB, free: 2.535 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3675, allocations: 0 / 0.5394 GB, free: 2.535 MB / 414.1 MB Notification: Performance of Templates: time 0.0451/0.4126, allocations: 33.45 MB / 0.572 GB, free: 0.875 MB / 446.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTcircle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches