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.008631/0.008631, allocations: 101.3 kB / 15.88 MB, free: 6.305 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.001753/0.001753, allocations: 196.8 kB / 16.79 MB, free: 6.234 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.407/1.407, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2011/0.2011, allocations: 16.75 MB / 307.4 MB, free: 15.06 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.00124, allocations: 71.89 kB / 371.6 MB, free: 3.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2762, allocations: 53.45 MB / 425.1 MB, free: 39.94 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.002598/0.2788, allocations: 1.972 MB / 427 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003059/0.2819, allocations: 2.248 MB / 429.3 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.2821, allocations: 6.812 kB / 429.3 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.2824, allocations: 87.2 kB / 429.4 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.2827, allocations: 86.06 kB / 429.5 MB, free: 38.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.284, allocations: 0.7453 MB / 430.2 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006908/0.2847, allocations: 1.108 MB / 431.3 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.2849, allocations: 143.2 kB / 431.5 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003357/0.2853, allocations: 430.5 kB / 431.9 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.2856, allocations: 294 kB / 432.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.921e-05/0.2857, allocations: 32.91 kB / 432.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005419/0.2862, allocations: 461.3 kB / 432.7 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.2863, allocations: 116.3 kB / 432.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002529/0.2866, allocations: 307 kB / 433.1 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005726/0.2872, allocations: 0.7392 MB / 433.8 MB, free: 36.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2872, allocations: 2.844 kB / 433.8 MB, free: 36.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2872, allocations: 0 / 433.8 MB, free: 36.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.2872, allocations: 0 / 433.8 MB, free: 36.23 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.00126/0.2885, allocations: 1.208 MB / 435 MB, free: 35.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2885, allocations: 10.56 kB / 435 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002756/0.2888, allocations: 85.11 kB / 435.1 MB, free: 35.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.2892, allocations: 402.1 kB / 435.5 MB, free: 34.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.978e-05/0.2893, allocations: 84.69 kB / 435.6 MB, free: 34.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.271e-05/0.2894, allocations: 74.45 kB / 435.7 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.2908, allocations: 1.093 MB / 436.7 MB, free: 34.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.2908, allocations: 0 / 436.7 MB, free: 34.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.792e-05/0.2909, allocations: 44.81 kB / 436.8 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.952e-05/0.291, allocations: 47.95 kB / 436.8 MB, free: 34.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.2921, allocations: 0.7349 MB / 437.6 MB, free: 34.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002585/0.2947, allocations: 3.009 MB / 440.6 MB, free: 31.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.2959, allocations: 1.379 MB / 442 MB, free: 30.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009171/0.2968, allocations: 1.249 MB / 443.2 MB, free: 30.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.427e-05/0.2969, allocations: 83.23 kB / 443.3 MB, free: 29.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/0.2979, allocations: 0.7831 MB / 444.1 MB, free: 29.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.535e-06/0.2979, allocations: 0 / 444.1 MB, free: 29.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.002739/0.3007, allocations: 2.203 MB / 446.3 MB, free: 28.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001628/0.3009, allocations: 0.5148 MB / 446.8 MB, free: 28.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.3012, allocations: 368.1 kB / 447.2 MB, free: 27.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.089e-05/0.3012, allocations: 64.23 kB / 447.2 MB, free: 27.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.3014, allocations: 233.2 kB / 447.4 MB, free: 27.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.3015, allocations: 184 kB / 447.6 MB, free: 27.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.3017, allocations: 206.8 kB / 447.8 MB, free: 27.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.944e-05/0.3018, allocations: 371.1 kB / 448.2 MB, free: 27.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004158/0.3022, allocations: 303.8 kB / 448.5 MB, free: 27.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/0.3028, allocations: 0.6448 MB / 449.1 MB, free: 26.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/0.3045, allocations: 2.038 MB / 451.2 MB, free: 24.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.3046, allocations: 2.906 kB / 451.2 MB, free: 24.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001643/0.3062, allocations: 1.45 MB / 452.6 MB, free: 24.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.3063, allocations: 316.1 kB / 452.9 MB, free: 23.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.3064, allocations: 9 kB / 452.9 MB, free: 23.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.3064, allocations: 14.91 kB / 453 MB, free: 23.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.3067, allocations: 115 kB / 453.1 MB, free: 23.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.046e-05/0.3068, allocations: 26.58 kB / 453.1 MB, free: 23.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003752/0.3071, allocations: 102.3 kB / 453.2 MB, free: 23.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-05/0.3072, allocations: 50.08 kB / 453.2 MB, free: 23.62 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.0006428/0.3079, allocations: 0.7073 MB / 453.9 MB, free: 23.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.308, allocations: 72.62 kB / 454 MB, free: 23.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.3101, allocations: 1.668 MB / 455.7 MB, free: 22.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3101, allocations: 7.266 kB / 455.7 MB, free: 22.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3101, allocations: 7.062 kB / 455.7 MB, free: 22.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3101, allocations: 0 / 455.7 MB, free: 22.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00333/0.3134, allocations: 2.588 MB / 458.3 MB, free: 21.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3135, allocations: 0 / 458.3 MB, free: 21.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.3136, allocations: 36.84 kB / 458.3 MB, free: 21.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.3136, allocations: 7.219 kB / 458.3 MB, free: 21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-05/0.3137, allocations: 36.77 kB / 458.4 MB, free: 21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.3137, allocations: 3.125 kB / 458.4 MB, free: 21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3137, allocations: 0 / 458.4 MB, free: 21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/0.3167, allocations: 2.066 MB / 460.4 MB, free: 19.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.3169, allocations: 122.1 kB / 460.6 MB, free: 19.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002436/0.3171, allocations: 76.25 kB / 460.6 MB, free: 19.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/0.3176, allocations: 50.2 kB / 460.7 MB, free: 19.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/0.3179, allocations: 80.66 kB / 460.8 MB, free: 19.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.318, allocations: 47.55 kB / 460.8 MB, free: 19.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002901/0.3183, allocations: 222.1 kB / 461 MB, free: 19.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3183, allocations: 5.031 kB / 461 MB, free: 19.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001567/0.3199, allocations: 306.2 kB / 461.3 MB, free: 19.6 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.0007951/0.3207, allocations: 382.6 kB / 461.7 MB, free: 19.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002203/0.3229, allocations: 1.728 MB / 463.4 MB, free: 18.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.3229, allocations: 5.125 kB / 463.4 MB, free: 18.37 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002016/0.3249, allocations: 2.803 MB / 466.2 MB, free: 16.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006499/0.3256, allocations: 96.62 kB / 466.3 MB, free: 16.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.3282, allocations: 1.701 MB / 468 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.3287, allocations: 0.8913 MB / 468.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.3289, allocations: 47.47 kB / 469 MB, free: 14.62 MB / 350.1 MB Notification: Performance of SimCode: time 1.403e-06/0.3289, allocations: 0 / 469 MB, free: 14.62 MB / 350.1 MB Notification: Performance of Templates: time 0.02066/0.3495, allocations: 10.46 MB / 479.4 MB, free: 12.23 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