Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") translateModel(PNlib.Examples.DisTest.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000843/0.0008431, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001033, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.421/1.421, allocations: 223.3 MB / 241 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.1961/0.1961, allocations: 16.74 MB / 308.8 MB, free: 15.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003468, allocations: 12 kB / 374.1 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3041, allocations: 54.48 MB / 428.6 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.002204/0.3064, allocations: 1.602 MB / 430.2 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003884/0.3103, allocations: 2.214 MB / 432.4 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002762/0.3106, allocations: 3.406 kB / 432.4 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.3109, allocations: 84.61 kB / 432.5 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003142/0.3112, allocations: 89.89 kB / 432.5 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.3127, allocations: 0.7489 MB / 433.3 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009845/0.3137, allocations: 1.101 MB / 434.4 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.314, allocations: 140.1 kB / 434.5 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003964/0.3144, allocations: 414.3 kB / 434.9 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003094/0.3147, allocations: 271.1 kB / 435.2 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.474e-05/0.3148, allocations: 30.12 kB / 435.2 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006027/0.3154, allocations: 454.5 kB / 435.7 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.3155, allocations: 114.6 kB / 435.8 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002598/0.3158, allocations: 313.5 kB / 436.1 MB, free: 36.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006017/0.3164, allocations: 0.7268 MB / 436.8 MB, free: 36.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3164, allocations: 0 / 436.8 MB, free: 36.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3164, allocations: 0 / 436.8 MB, free: 36.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3164, allocations: 0 / 436.8 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001135/0.3176, allocations: 1.085 MB / 437.9 MB, free: 35.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3176, allocations: 8.438 kB / 437.9 MB, free: 35.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002949/0.3179, allocations: 82.12 kB / 438 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.3183, allocations: 407.2 kB / 438.4 MB, free: 34.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.522e-05/0.3184, allocations: 80.09 kB / 438.5 MB, free: 34.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-05/0.3185, allocations: 62.91 kB / 438.5 MB, free: 34.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.32, allocations: 1.104 MB / 439.6 MB, free: 34.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.32, allocations: 7.625 kB / 439.6 MB, free: 34.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.409e-05/0.3201, allocations: 27.09 kB / 439.7 MB, free: 34.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.357e-05/0.3202, allocations: 46.11 kB / 439.7 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.3212, allocations: 0.742 MB / 440.5 MB, free: 33.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002584/0.3238, allocations: 3.006 MB / 443.5 MB, free: 31.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.325, allocations: 1.379 MB / 444.8 MB, free: 30.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009987/0.326, allocations: 1.246 MB / 446.1 MB, free: 29.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-05/0.3261, allocations: 86.77 kB / 446.2 MB, free: 29.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.3272, allocations: 0.7847 MB / 447 MB, free: 29.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.545e-06/0.3272, allocations: 0 / 447 MB, free: 29.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.002789/0.33, allocations: 2.215 MB / 449.2 MB, free: 28.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001841/0.3302, allocations: 0.5151 MB / 449.7 MB, free: 28.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.3305, allocations: 361 kB / 450 MB, free: 27.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.3306, allocations: 68.38 kB / 450.1 MB, free: 27.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.3308, allocations: 239.4 kB / 450.3 MB, free: 27.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.3309, allocations: 187.1 kB / 450.5 MB, free: 27.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.331, allocations: 124.8 kB / 450.6 MB, free: 27.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.369e-05/0.3311, allocations: 369.2 kB / 451 MB, free: 27.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004164/0.3315, allocations: 304.2 kB / 451.3 MB, free: 26.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005431/0.3321, allocations: 0.6358 MB / 451.9 MB, free: 26.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/0.3339, allocations: 2.048 MB / 454 MB, free: 24.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.334, allocations: 3.094 kB / 454 MB, free: 24.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001673/0.3356, allocations: 1.462 MB / 455.5 MB, free: 23.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.3358, allocations: 314.1 kB / 455.8 MB, free: 23.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.3358, allocations: 13.16 kB / 455.8 MB, free: 23.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.3358, allocations: 19.69 kB / 455.8 MB, free: 23.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.3361, allocations: 112.2 kB / 455.9 MB, free: 23.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/0.3362, allocations: 26.23 kB / 455.9 MB, free: 23.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.3365, allocations: 101.2 kB / 456 MB, free: 23.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.689e-05/0.3366, allocations: 46.56 kB / 456.1 MB, free: 23.54 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 T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer 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 T1.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 118 ($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,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,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,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableIn.arcWeight[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,$whenCondition3,$whenCondition4,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 10 * 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.000692/0.3373, allocations: 0.7077 MB / 456.8 MB, free: 23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.3374, allocations: 65.12 kB / 456.8 MB, free: 22.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.3394, allocations: 1.672 MB / 458.5 MB, free: 22.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3395, allocations: 11 kB / 458.5 MB, free: 22.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3395, allocations: 3.938 kB / 458.5 MB, free: 22.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3395, allocations: 0 / 458.5 MB, free: 22.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002999/0.3425, allocations: 2.601 MB / 461.1 MB, free: 20.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.3425, allocations: 0 / 461.1 MB, free: 20.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.3426, allocations: 33.83 kB / 461.2 MB, free: 20.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.3427, allocations: 3.938 kB / 461.2 MB, free: 20.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.601e-05/0.3427, allocations: 41.69 kB / 461.2 MB, free: 20.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3428, allocations: 1.219 kB / 461.2 MB, free: 20.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3428, allocations: 1.094 kB / 461.2 MB, free: 20.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002648/0.3454, allocations: 2.068 MB / 463.3 MB, free: 19.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.514e-05/0.3455, allocations: 134 kB / 463.4 MB, free: 19.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/0.3457, allocations: 70.91 kB / 463.5 MB, free: 19.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.3461, allocations: 47.75 kB / 463.5 MB, free: 19.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.3463, allocations: 80.28 kB / 463.6 MB, free: 19.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.644e-05/0.3464, allocations: 43.3 kB / 463.6 MB, free: 19.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002272/0.3467, allocations: 221 kB / 463.9 MB, free: 19.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3467, allocations: 0.9375 kB / 463.9 MB, free: 19.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00109/0.3478, allocations: 310 kB / 464.2 MB, free: 19.52 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: 67 ($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,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,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.arcWeight[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,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): 25 * Array equations: 0 * Algorithm blocks: 8 * 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.0007334/0.3485, allocations: 376.2 kB / 464.5 MB, free: 19.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002255/0.3508, allocations: 1.741 MB / 466.3 MB, free: 18.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.3508, allocations: 1 kB / 466.3 MB, free: 18.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002072/0.3529, allocations: 2.791 MB / 469.1 MB, free: 16.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007484/0.3536, allocations: 105 kB / 469.2 MB, free: 16.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/0.3566, allocations: 1.704 MB / 470.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.3571, allocations: 0.8948 MB / 471.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.3572, allocations: 42.23 kB / 471.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3572, allocations: 0 / 471.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of Templates: time 0.02276/0.38, allocations: 10.4 MB / 482.2 MB, free: 12.32 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.makefile (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.sim & ./PNlib_PNlib.Examples.DisTest.TDtoPDfunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat","../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches