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.0009399/0.00094, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.3 MB / 213.4 MB, free: 13.69 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.0008507/0.0008503, allocations: 89.83 kB / 261.4 MB, free: 13.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.0701/0.0701, allocations: 16.73 MB / 326.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.441e-05/2.446e-05, allocations: 4 kB / 384 MB, free: 70.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1093, allocations: 51.71 MB / 435.7 MB, free: 19.22 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.38/0.4893, allocations: 79.95 MB / 0.5035 GB, free: 10.03 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.4896, allocations: 67.11 kB / 0.5036 GB, free: 10.03 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0375/0.5271, allocations: 15.05 MB / 0.5183 GB, free: 3.938 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5272, allocations: 0 / 0.5183 GB, free: 3.938 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.214e-05/0.5272, allocations: 16 kB / 0.5183 GB, free: 3.922 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.002059/0.5293, allocations: 1.191 MB / 0.5195 GB, free: 2.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.5293, allocations: 8.031 kB / 0.5195 GB, free: 2.723 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005238/0.5299, allocations: 103.2 kB / 0.5196 GB, free: 2.621 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008143/0.5307, allocations: 461.5 kB / 0.52 GB, free: 2.219 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-05/0.5308, allocations: 63 kB / 0.5201 GB, free: 2.152 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.531, allocations: 59.75 kB / 0.5201 GB, free: 2.098 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001243/0.5322, allocations: 0.8109 MB / 0.5209 GB, free: 1.574 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.5339, allocations: 1.203 MB / 0.5221 GB, free: 0.625 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.534, allocations: 4 kB / 0.5221 GB, free: 0.6211 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.611e-05/0.5341, allocations: 19.98 kB / 0.5221 GB, free: 0.6016 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-05/0.5341, allocations: 37.05 kB / 0.5222 GB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003754/0.5379, allocations: 3.101 MB / 0.5252 GB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.5394, allocations: 1.475 MB / 0.5266 GB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.5408, allocations: 1.359 MB / 0.528 GB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.5409, allocations: 85.61 kB / 0.528 GB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001344/0.5423, allocations: 0.8431 MB / 0.5289 GB, free: 11.99 MB / 346.7 MB Notification: Performance of pre-optimization done (n=75): time 6.822e-06/0.5423, allocations: 0 / 0.5289 GB, free: 11.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=75): time 0.0025/0.5448, allocations: 1.252 MB / 0.5301 GB, free: 11.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003549/0.5452, allocations: 0.5042 MB / 0.5306 GB, free: 10.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/0.5457, allocations: 321.2 kB / 0.5309 GB, free: 10.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.5458, allocations: 54.81 kB / 0.5309 GB, free: 10.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.5461, allocations: 261.7 kB / 0.5312 GB, free: 10.03 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.5464, allocations: 184.5 kB / 0.5314 GB, free: 9.887 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.448e-05/0.5465, allocations: 4 kB / 0.5314 GB, free: 9.883 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.5467, allocations: 366.8 kB / 0.5317 GB, free: 9.539 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000634/0.5473, allocations: 396.1 kB / 0.5321 GB, free: 9.285 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000959/0.5483, allocations: 0.7502 MB / 0.5328 GB, free: 8.523 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009386/0.5492, allocations: 417.7 kB / 0.5332 GB, free: 8.234 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.195e-05/0.5493, allocations: 4 kB / 0.5332 GB, free: 8.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002595/0.5519, allocations: 1.293 MB / 0.5345 GB, free: 7.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002995/0.5522, allocations: 329.6 kB / 0.5348 GB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.521e-05/0.5522, allocations: 12 kB / 0.5348 GB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-05/0.5523, allocations: 23.94 kB / 0.5348 GB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005071/0.5528, allocations: 127.5 kB / 0.535 GB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.069e-05/0.5529, allocations: 28.39 kB / 0.535 GB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005845/0.5534, allocations: 95.25 kB / 0.5351 GB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/0.5536, allocations: 63.61 kB / 0.5351 GB, free: 6.562 MB / 346.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.00128/0.5549, allocations: 0.6031 MB / 0.5357 GB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003295/0.5552, allocations: 75.39 kB / 0.5358 GB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002414/0.5577, allocations: 1.224 MB / 0.537 GB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/0.5577, allocations: 4 kB / 0.537 GB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.5577, allocations: 4 kB / 0.537 GB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.5577, allocations: 3.938 kB / 0.537 GB, free: 5.043 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004021/0.5617, allocations: 2.172 MB / 0.5391 GB, free: 3.484 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5618, allocations: 0 / 0.5391 GB, free: 3.484 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.562, allocations: 27.92 kB / 0.5392 GB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/0.562, allocations: 4 kB / 0.5392 GB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.5621, allocations: 43.11 kB / 0.5392 GB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.5621, allocations: 0 / 0.5392 GB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.5621, allocations: 4 kB / 0.5392 GB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/0.5648, allocations: 1.519 MB / 0.5407 GB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.5649, allocations: 124.4 kB / 0.5408 GB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.5652, allocations: 67.97 kB / 0.5409 GB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004992/0.5657, allocations: 67.95 kB / 0.5409 GB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005806/0.5663, allocations: 335.6 kB / 0.5413 GB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/0.5664, allocations: 55.97 kB / 0.5413 GB, free: 1.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002399/0.5667, allocations: 200.5 kB / 0.5415 GB, free: 1.141 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5667, allocations: 0 / 0.5415 GB, free: 1.141 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001402/0.5681, allocations: 323.6 kB / 0.5418 GB, free: 0.8281 MB / 346.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.001138/0.5692, allocations: 408.3 kB / 0.5422 GB, free: 460 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002769/0.572, allocations: 1.954 MB / 0.5441 GB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.572, allocations: 4 kB / 0.5441 GB, free: 14.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002848/0.5749, allocations: 3.028 MB / 0.5471 GB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005364/0.5754, allocations: 48.77 kB / 0.5471 GB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002834/0.5783, allocations: 1.248 MB / 0.5483 GB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007654/0.5791, allocations: 0.931 MB / 0.5492 GB, free: 8.969 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004597/0.5795, allocations: 132.4 kB / 0.5494 GB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.5797, allocations: 39.44 kB / 0.5494 GB, free: 8.801 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5797, allocations: 3.938 kB / 0.5494 GB, free: 8.797 MB / 362.7 MB Notification: Performance of Templates: time 0.03087/0.6106, allocations: 11.81 MB / 0.561 GB, free: 12.89 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