Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEnoInput.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.TEnoInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TEnoInput") translateModel(PNlib.Examples.DisTest.TEnoInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TEnoInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00573/0.00573, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.158/1.158, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1605/0.1605, allocations: 16.73 MB / 308.2 MB, free: 15.64 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002474/0.0002474, allocations: 12 kB / 373.4 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2147, allocations: 54.46 MB / 427.9 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.001456/0.2162, allocations: 1.625 MB / 429.5 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003041/0.2192, allocations: 2.254 MB / 431.8 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003011/0.2195, allocations: 9.281 kB / 431.8 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003686/0.2199, allocations: 89.23 kB / 431.9 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.2202, allocations: 86 kB / 431.9 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.2215, allocations: 0.7634 MB / 432.7 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008391/0.2224, allocations: 1.114 MB / 433.8 MB, free: 37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.2225, allocations: 135.3 kB / 433.9 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002675/0.2228, allocations: 419.5 kB / 434.4 MB, free: 36.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.2231, allocations: 271.4 kB / 434.6 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.432e-05/0.2231, allocations: 26.66 kB / 434.7 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004614/0.2236, allocations: 486.2 kB / 435.1 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.886e-05/0.2237, allocations: 111.5 kB / 435.2 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.2239, allocations: 323.2 kB / 435.6 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006052/0.2245, allocations: 0.9806 MB / 436.5 MB, free: 35.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2245, allocations: 0 / 436.5 MB, free: 35.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2245, allocations: 3.031 kB / 436.5 MB, free: 35.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.2246, allocations: 0 / 436.5 MB, free: 35.98 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.0008793/0.2254, allocations: 1.109 MB / 437.6 MB, free: 35.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.708e-05/0.2255, allocations: 11.59 kB / 437.7 MB, free: 35.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002225/0.2257, allocations: 94.09 kB / 437.7 MB, free: 34.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.226, allocations: 410 kB / 438.1 MB, free: 34.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.479e-05/0.2261, allocations: 80.92 kB / 438.2 MB, free: 34.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.454e-05/0.2262, allocations: 68.36 kB / 438.3 MB, free: 34.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.2274, allocations: 1.143 MB / 439.4 MB, free: 34.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.2275, allocations: 2.969 kB / 439.4 MB, free: 34.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.61e-05/0.2275, allocations: 32.39 kB / 439.5 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-05/0.2276, allocations: 54.17 kB / 439.5 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009135/0.2285, allocations: 0.759 MB / 440.3 MB, free: 33.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.2307, allocations: 3.025 MB / 443.3 MB, free: 31.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009937/0.2317, allocations: 1.301 MB / 444.6 MB, free: 30.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008104/0.2326, allocations: 1.207 MB / 445.8 MB, free: 29.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.214e-05/0.2326, allocations: 83.61 kB / 445.9 MB, free: 29.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008302/0.2334, allocations: 0.8244 MB / 446.7 MB, free: 29.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 1.844e-06/0.2335, allocations: 0 / 446.7 MB, free: 29.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.002403/0.2359, allocations: 2.275 MB / 449 MB, free: 28.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/0.236, allocations: 0.6094 MB / 449.6 MB, free: 27.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.2363, allocations: 390 kB / 450 MB, free: 27.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.493e-05/0.2364, allocations: 64.5 kB / 450 MB, free: 27.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.2365, allocations: 246.2 kB / 450.3 MB, free: 27.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.2366, allocations: 200.8 kB / 450.5 MB, free: 27.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.825e-05/0.2367, allocations: 143.5 kB / 450.6 MB, free: 27.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.2367, allocations: 368.4 kB / 451 MB, free: 26.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/0.2372, allocations: 322.8 kB / 451.3 MB, free: 26.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004885/0.2376, allocations: 0.6962 MB / 452 MB, free: 26.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.2392, allocations: 2.123 MB / 454.1 MB, free: 24.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.2392, allocations: 3.312 kB / 454.1 MB, free: 24.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001448/0.2407, allocations: 1.555 MB / 455.7 MB, free: 23.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.395e-05/0.2408, allocations: 342.9 kB / 456 MB, free: 23.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.2408, allocations: 12.56 kB / 456 MB, free: 23.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.2408, allocations: 19.75 kB / 456 MB, free: 23.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.2411, allocations: 117 kB / 456.2 MB, free: 23.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.2412, allocations: 25.53 kB / 456.2 MB, free: 23.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.2415, allocations: 115 kB / 456.3 MB, free: 23.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.108e-05/0.2416, allocations: 53.97 kB / 456.3 MB, free: 23.04 MB / 350.1 MB Warning: Assuming fixed start value for the following 25 variables: 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 T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T2.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 P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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 T2.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: 49 * Number of states: 0 () * Number of discrete variables: 121 ($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.reStart,$whenCondition8,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition6,$whenCondition7,T2.eventIndex,$PRE.T2.eventIndex,$whenCondition3,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T2.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T2.enabledByInPlaces,P1.enableIn.arcWeight[1],T2.activation.disPlaceOut[1],T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.tIntOut[1],T2.eventPassed,$PRE.T2.eventPassed,T2.firingTime,T2.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition4,$whenCondition5,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 11 * 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.0005026/0.2421, allocations: 0.7415 MB / 457.1 MB, free: 22.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-05/0.2422, allocations: 75.77 kB / 457.2 MB, free: 22.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001811/0.244, allocations: 1.722 MB / 458.9 MB, free: 21.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.244, allocations: 13.53 kB / 458.9 MB, free: 21.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.244, allocations: 3.094 kB / 458.9 MB, free: 21.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.244, allocations: 0 / 458.9 MB, free: 21.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/0.2468, allocations: 2.668 MB / 461.6 MB, free: 20.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.2468, allocations: 3.938 kB / 461.6 MB, free: 20.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.718e-05/0.2469, allocations: 29.83 kB / 461.6 MB, free: 20.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2469, allocations: 5.25 kB / 461.6 MB, free: 20.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.012e-05/0.247, allocations: 38.28 kB / 461.6 MB, free: 20.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.247, allocations: 2.656 kB / 461.6 MB, free: 20.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.247, allocations: 0 / 461.6 MB, free: 20.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/0.2493, allocations: 2.135 MB / 463.8 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.2493, allocations: 134.1 kB / 463.9 MB, free: 19.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.2495, allocations: 72.33 kB / 464 MB, free: 19.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003207/0.2498, allocations: 51.19 kB / 464 MB, free: 19.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.25, allocations: 86.62 kB / 464.1 MB, free: 19.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.423e-05/0.2501, allocations: 50.34 kB / 464.2 MB, free: 19.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001736/0.2502, allocations: 226.8 kB / 464.4 MB, free: 18.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2502, allocations: 0 / 464.4 MB, free: 18.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000847/0.2511, allocations: 322.3 kB / 464.7 MB, free: 18.89 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 68 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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,T2.active,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,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,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active) * Number of discrete states: 50 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.eventIndex,$whenCondition3,T2.activation.active,T2.eventPassed,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.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 23 * Array equations: 1 * Algorithm blocks: 9 * Record equations: 0 * When equations: 4 * 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.000601/0.2517, allocations: 368.8 kB / 465.1 MB, free: 18.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.2534, allocations: 1.826 MB / 466.9 MB, free: 17.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2534, allocations: 1.5 kB / 466.9 MB, free: 17.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001646/0.255, allocations: 2.821 MB / 469.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005323/0.2556, allocations: 117.7 kB / 469.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.2576, allocations: 1.679 MB / 471.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.2579, allocations: 0.9044 MB / 472.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002725/0.2582, allocations: 133.2 kB / 472.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/0.2583, allocations: 42.28 kB / 472.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2583, allocations: 0 / 472.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of Templates: time 0.01491/0.2732, allocations: 10.86 MB / 483.5 MB, free: 11.12 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TEnoInput.makefile (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEnoInput.sim & ./PNlib_PNlib.Examples.DisTest.TEnoInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TEnoInput.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","../files/PNlib_PNlib.Examples.DisTest.TEnoInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches