Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PNlib.Examples.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") translateModel(PNlib.Examples.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009599/0.0009597, allocations: 172 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.2 MB / 218.5 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007642/0.0007642, allocations: 89.94 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06541/0.06541, allocations: 16.71 MB / 331.4 MB, free: 8.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.736e-05/2.738e-05, allocations: 4 kB / 390.9 MB, free: 65.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07736/0.0774, allocations: 51.7 MB / 442.6 MB, free: 13.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3078/0.3852, allocations: 80.61 MB / 0.511 GB, free: 8.906 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001594/0.3854, allocations: 66.25 kB / 0.511 GB, free: 8.875 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03501/0.4204, allocations: 15.14 MB / 0.5258 GB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4205, allocations: 0 / 0.5258 GB, free: 12.56 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.112e-05/0.4205, allocations: 12 kB / 0.5258 GB, free: 12.55 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001467/0.422, allocations: 1.198 MB / 0.527 GB, free: 11.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.422, allocations: 16.03 kB / 0.527 GB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003089/0.4223, allocations: 99.23 kB / 0.5271 GB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006766/0.423, allocations: 457.5 kB / 0.5275 GB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-05/0.4231, allocations: 83.73 kB / 0.5276 GB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.4232, allocations: 76.98 kB / 0.5277 GB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.4251, allocations: 1.301 MB / 0.529 GB, free: 9.672 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.4251, allocations: 3.938 kB / 0.529 GB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.47e-05/0.4252, allocations: 38.61 kB / 0.529 GB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.66e-05/0.4253, allocations: 39.28 kB / 0.529 GB, free: 9.609 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.4265, allocations: 0.8757 MB / 0.5299 GB, free: 9.023 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003419/0.4299, allocations: 3.23 MB / 0.5331 GB, free: 6.184 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.4313, allocations: 1.518 MB / 0.5345 GB, free: 5.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/0.4324, allocations: 1.386 MB / 0.5359 GB, free: 4.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.446e-05/0.4325, allocations: 85.11 kB / 0.536 GB, free: 4.879 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/0.4337, allocations: 0.8875 MB / 0.5368 GB, free: 4.219 MB / 346.7 MB Notification: Performance of pre-optimization done (n=75): time 1.763e-06/0.4337, allocations: 0 / 0.5368 GB, free: 4.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=75): time 0.002126/0.4358, allocations: 1.602 MB / 0.5384 GB, free: 2.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002701/0.4361, allocations: 0.5055 MB / 0.5389 GB, free: 2.426 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003947/0.4365, allocations: 359.1 kB / 0.5392 GB, free: 2.141 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.138e-05/0.4366, allocations: 66.75 kB / 0.5393 GB, free: 2.086 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.4368, allocations: 272.1 kB / 0.5396 GB, free: 1.863 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/0.437, allocations: 192.8 kB / 0.5397 GB, free: 1.707 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.918e-05/0.437, allocations: 22.81 kB / 0.5398 GB, free: 1.699 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.4372, allocations: 374 kB / 0.5401 GB, free: 1.348 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006265/0.4379, allocations: 417 kB / 0.5405 GB, free: 1.074 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008605/0.4387, allocations: 0.7796 MB / 0.5413 GB, free: 292 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008153/0.4396, allocations: 0.7483 MB / 0.542 GB, free: 15.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.4396, allocations: 4 kB / 0.542 GB, free: 15.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002099/0.4417, allocations: 1.738 MB / 0.5437 GB, free: 14.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.4419, allocations: 330 kB / 0.544 GB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.4419, allocations: 15.94 kB / 0.544 GB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/0.4419, allocations: 20 kB / 0.5441 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/0.4423, allocations: 127.2 kB / 0.5442 GB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/0.4424, allocations: 23.88 kB / 0.5442 GB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004403/0.4428, allocations: 117.8 kB / 0.5443 GB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.392e-05/0.4429, allocations: 55.19 kB / 0.5444 GB, free: 13.51 MB / 362.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P1.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer T1.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real P1.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real T1.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$PRE.P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$whenCondition7,$PRE.P1.reStart,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition6,$whenCondition5,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,P1.firingSumIn.firingSum,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,T1.firingCon,P1.enableOut.enablingPrio[1],P1.reStart,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.P1.t,P1.t,P1.activeOut[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.arcWeight[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.T1.firingTime,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active,T1.active,T1.activation.arcType[1],T1.activation.disPlaceIn[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],P1.activeConOut.vec[1],P1.outTransition[1].fed,T1.enabledByOutPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006828/0.4436, allocations: 0.6362 MB / 0.545 GB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.4437, allocations: 75.34 kB / 0.5451 GB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.4458, allocations: 1.56 MB / 0.5466 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4458, allocations: 8 kB / 0.5466 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4458, allocations: 4 kB / 0.5466 GB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.4459, allocations: 0 / 0.5466 GB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003465/0.4493, allocations: 2.607 MB / 0.5492 GB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4493, allocations: 4 kB / 0.5492 GB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.4495, allocations: 27.92 kB / 0.5492 GB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.4495, allocations: 0 / 0.5492 GB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.366e-05/0.4496, allocations: 43.97 kB / 0.5492 GB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4496, allocations: 0 / 0.5492 GB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4496, allocations: 0 / 0.5492 GB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002529/0.4521, allocations: 1.943 MB / 0.5511 GB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.4523, allocations: 136.3 kB / 0.5513 GB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/0.4525, allocations: 75.97 kB / 0.5513 GB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004495/0.453, allocations: 71.94 kB / 0.5514 GB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000541/0.4535, allocations: 331.6 kB / 0.5517 GB, free: 6.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/0.4536, allocations: 59.91 kB / 0.5518 GB, free: 6.523 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000263/0.4539, allocations: 238.2 kB / 0.552 GB, free: 6.289 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4539, allocations: 0 / 0.552 GB, free: 6.289 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001169/0.4551, allocations: 359.6 kB / 0.5523 GB, free: 5.938 MB / 362.7 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.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,P1.activeOut[1],T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.arcWeight[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,P1.outTransition[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 49 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,P1.tokeninout,T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,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,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007145/0.4558, allocations: 400.2 kB / 0.5527 GB, free: 5.555 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002461/0.4583, allocations: 2.036 MB / 0.5547 GB, free: 3.398 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4583, allocations: 0 / 0.5547 GB, free: 3.398 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002482/0.4608, allocations: 3.073 MB / 0.5577 GB, free: 232 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.4612, allocations: 79.69 kB / 0.5578 GB, free: 152 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.4634, allocations: 1.295 MB / 0.559 GB, free: 14.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.4638, allocations: 0.931 MB / 0.56 GB, free: 13.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003211/0.4641, allocations: 133.1 kB / 0.5601 GB, free: 13.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.205e-05/0.4642, allocations: 43.42 kB / 0.5601 GB, free: 13.7 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4642, allocations: 0 / 0.5601 GB, free: 13.7 MB / 378.7 MB Notification: Performance of Templates: time 0.0201/0.4843, allocations: 12.33 MB / 0.5722 GB, free: 1.262 MB / 378.7 MB make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.makefile (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTDfunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches