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 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 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.0009656/0.0009655, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001043/0.001043, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.1891/0.1891, allocations: 16.72 MB / 307.7 MB, free: 15.69 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002897/0.0002897, allocations: 8 kB / 372.7 MB, free: 3.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2652, allocations: 54.47 MB / 427.2 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.001697/0.267, allocations: 1.562 MB / 428.7 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002986/0.27, allocations: 1.914 MB / 430.6 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002962/0.2703, allocations: 6.844 kB / 430.6 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003723/0.2707, allocations: 92.11 kB / 430.7 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.271, allocations: 121.8 kB / 430.9 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.2725, allocations: 0.6278 MB / 431.5 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009703/0.2735, allocations: 0.6527 MB / 432.1 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.2737, allocations: 127 kB / 432.3 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004084/0.2741, allocations: 395.5 kB / 432.6 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.2744, allocations: 259.1 kB / 432.9 MB, free: 36.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.16e-05/0.2745, allocations: 29.69 kB / 432.9 MB, free: 36.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006178/0.2751, allocations: 399.3 kB / 433.3 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.2753, allocations: 106 kB / 433.4 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.2754, allocations: 159.3 kB / 433.6 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006226/0.2761, allocations: 0.745 MB / 434.3 MB, free: 36.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2761, allocations: 3.938 kB / 434.3 MB, free: 36.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2761, allocations: 0 / 434.3 MB, free: 36.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.2761, allocations: 0 / 434.3 MB, free: 36.07 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.001091/0.2772, allocations: 1.109 MB / 435.4 MB, free: 35.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2772, allocations: 8.656 kB / 435.4 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002754/0.2775, allocations: 95.22 kB / 435.5 MB, free: 35.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.278, allocations: 404.7 kB / 435.9 MB, free: 34.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-05/0.2781, allocations: 73.7 kB / 436 MB, free: 34.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.655e-05/0.2782, allocations: 66.47 kB / 436.1 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.2796, allocations: 1.157 MB / 437.2 MB, free: 34.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.2796, allocations: 4 kB / 437.2 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.98e-05/0.2797, allocations: 42.06 kB / 437.3 MB, free: 34.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.679e-05/0.2798, allocations: 52.86 kB / 437.3 MB, free: 34.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.2808, allocations: 0.771 MB / 438.1 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.2835, allocations: 3.036 MB / 441.1 MB, free: 31.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.2846, allocations: 1.318 MB / 442.4 MB, free: 30.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.673e-05/0.2847, allocations: 81.61 kB / 442.5 MB, free: 30.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009821/0.2857, allocations: 0.8524 MB / 443.4 MB, free: 30.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.535e-06/0.2857, allocations: 0 / 443.4 MB, free: 30.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.002875/0.2886, allocations: 2.793 MB / 446.2 MB, free: 28.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001925/0.2888, allocations: 0.6171 MB / 446.8 MB, free: 28.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003589/0.2891, allocations: 379.3 kB / 447.2 MB, free: 27.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.382e-05/0.2892, allocations: 68.52 kB / 447.2 MB, free: 27.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.2894, allocations: 246.8 kB / 447.5 MB, free: 27.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.2895, allocations: 199.2 kB / 447.7 MB, free: 27.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.2895, allocations: 21.78 kB / 447.7 MB, free: 27.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.2896, allocations: 375.1 kB / 448.1 MB, free: 27.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004147/0.2901, allocations: 326.2 kB / 448.4 MB, free: 26.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000533/0.2906, allocations: 0.6783 MB / 449 MB, free: 26.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000598/0.2912, allocations: 0.7185 MB / 449.8 MB, free: 25.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.2912, allocations: 3.25 kB / 449.8 MB, free: 25.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001616/0.2929, allocations: 1.558 MB / 451.3 MB, free: 25.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.293, allocations: 338.8 kB / 451.7 MB, free: 24.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/0.293, allocations: 11.41 kB / 451.7 MB, free: 24.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.399e-05/0.2931, allocations: 17.28 kB / 451.7 MB, free: 24.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.2934, allocations: 116.6 kB / 451.8 MB, free: 24.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/0.2935, allocations: 23.44 kB / 451.8 MB, free: 24.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004/0.2939, allocations: 121.8 kB / 451.9 MB, free: 24.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.998e-05/0.2939, allocations: 58.33 kB / 452 MB, free: 24.6 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.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumOut.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,$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.cumEnablingProb[1],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,$PRE.P1.enableIn.remTAin[1],P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$whenCondition8,$PRE.P1.reStart,$PRE.T2.fireTime,T2.fireTime,$PRE.T2.ani,T2.ani,$whenCondition7,$whenCondition6,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$whenCondition3,$PRE.T2.eventIndex,T2.eventIndex,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,$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.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,$whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$whenCondition5,$whenCondition4,$whenCondition2,$PRE.P1.t,P1.t,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,T2.active,$PRE.T2.firingTime,T2.firingTime,$PRE.T2.eventPassed,T2.eventPassed,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active,T2.activation.disPlaceOut[1],P1.enableIn.arcWeight[1],T2.enabledByInPlaces,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008128/0.2948, allocations: 0.7279 MB / 452.7 MB, free: 24.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.2949, allocations: 67.91 kB / 452.8 MB, free: 24.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.2971, allocations: 1.751 MB / 454.5 MB, free: 23.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.2971, allocations: 8.906 kB / 454.6 MB, free: 23.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.2971, allocations: 0 / 454.6 MB, free: 23.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.2971, allocations: 3.234 kB / 454.6 MB, free: 23.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/0.3004, allocations: 2.713 MB / 457.3 MB, free: 21.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.3005, allocations: 3.031 kB / 457.3 MB, free: 21.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.3006, allocations: 23.44 kB / 457.3 MB, free: 21.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.3006, allocations: 3 kB / 457.3 MB, free: 21.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.397e-05/0.3007, allocations: 39.41 kB / 457.3 MB, free: 21.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.3007, allocations: 7.938 kB / 457.3 MB, free: 21.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.3007, allocations: 2.969 kB / 457.3 MB, free: 21.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0024/0.3031, allocations: 2.164 MB / 459.5 MB, free: 20.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.3032, allocations: 139 kB / 459.6 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/0.3034, allocations: 67.8 kB / 459.7 MB, free: 20.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.3038, allocations: 62.48 kB / 459.8 MB, free: 20.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.304, allocations: 81.66 kB / 459.9 MB, free: 20.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.616e-05/0.3041, allocations: 48.41 kB / 459.9 MB, free: 20.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000228/0.3044, allocations: 230.4 kB / 460.1 MB, free: 20.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3044, allocations: 0 / 460.1 MB, free: 20.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0011/0.3055, allocations: 321.4 kB / 460.4 MB, free: 20.42 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 (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.000814/0.3063, allocations: 383.6 kB / 460.8 MB, free: 20.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002134/0.3084, allocations: 1.843 MB / 462.7 MB, free: 19.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3085, allocations: 1.031 kB / 462.7 MB, free: 19.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001978/0.3105, allocations: 2.835 MB / 465.5 MB, free: 16.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.3109, allocations: 80.22 kB / 465.6 MB, free: 16.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.3135, allocations: 1.619 MB / 467.2 MB, free: 16.17 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.314, allocations: 0.92 MB / 468.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003647/0.3143, allocations: 133.2 kB / 468.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.3145, allocations: 42.28 kB / 468.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3145, allocations: 0 / 468.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of Templates: time 0.02182/0.3363, allocations: 10.64 MB / 478.9 MB, free: 13.26 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