Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TTtoPD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 169.3 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.018/1.018, allocations: 177.2 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.04832/0.04832, allocations: 12.65 MB / 272.6 MB, free: 0.4961 MB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.DisTest.TTtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTtoPD") translateModel(PNlib.Examples.DisTest.TTtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTtoPD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 346.5 MB, free: 1.914 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.05e-05, allocations: 6.312 kB / 346.5 MB, free: 1.906 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.003036/0.003067, allocations: 1.788 MB / 348.3 MB, free: 112 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003712/0.006779, allocations: 1.917 MB / 350.2 MB, free: 14.19 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004102/0.007189, allocations: 11.94 kB / 350.2 MB, free: 14.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004536/0.007642, allocations: 123 kB / 350.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000542/0.008184, allocations: 139 kB / 350.5 MB, free: 13.92 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00239/0.01057, allocations: 0.9547 MB / 351.4 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001951/0.01253, allocations: 1.338 MB / 352.8 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.01274, allocations: 56.41 kB / 352.8 MB, free: 11.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.01375, allocations: 0.7487 MB / 353.6 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000644/0.0144, allocations: 291.1 kB / 353.8 MB, free: 10.53 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.01454, allocations: 72 kB / 353.9 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.01558, allocations: 0.5926 MB / 354.5 MB, free: 9.867 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.01576, allocations: 143.3 kB / 354.6 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002856/0.01604, allocations: 243.4 kB / 354.9 MB, free: 9.488 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.0174, allocations: 0.966 MB / 355.9 MB, free: 8.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.01741, allocations: 0 / 355.9 MB, free: 8.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01741, allocations: 0 / 355.9 MB, free: 8.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.01742, allocations: 0 / 355.9 MB, free: 8.52 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001628/0.01905, allocations: 1.235 MB / 357.1 MB, free: 7.184 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.0191, allocations: 12.03 kB / 357.1 MB, free: 7.172 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003782/0.01947, allocations: 140.6 kB / 357.2 MB, free: 7.035 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005119/0.01999, allocations: 344.5 kB / 357.6 MB, free: 6.668 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.0201, allocations: 101 kB / 357.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.02021, allocations: 75.86 kB / 357.7 MB, free: 6.484 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.02187, allocations: 1.35 MB / 359.1 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.02189, allocations: 0 / 359.1 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.21e-05/0.02196, allocations: 35.98 kB / 359.1 MB, free: 4.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.719e-05/0.02205, allocations: 44.95 kB / 359.2 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.02315, allocations: 0.7964 MB / 360 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/0.02646, allocations: 3.364 MB / 363.3 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.02747, allocations: 0.7265 MB / 364.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007453/0.02822, allocations: 0.6537 MB / 364.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.894e-05/0.0283, allocations: 11.94 kB / 364.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001239/0.02954, allocations: 0.9849 MB / 365.7 MB, free: 13.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=71): time 3.085e-06/0.02954, allocations: 0 / 365.7 MB, free: 13.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=71): time 0.002615/0.03216, allocations: 2.517 MB / 368.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002535/0.03241, allocations: 0.5325 MB / 368.8 MB, free: 10.63 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.03279, allocations: 393.9 kB / 369.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.661e-05/0.03287, allocations: 65.69 kB / 369.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.03309, allocations: 295.8 kB / 369.5 MB, free: 9.863 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.03325, allocations: 186.6 kB / 369.7 MB, free: 9.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002714/0.03352, allocations: 228.2 kB / 369.9 MB, free: 9.449 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.0337, allocations: 0.5391 MB / 370.4 MB, free: 8.898 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003999/0.0341, allocations: 455.2 kB / 370.9 MB, free: 8.395 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006702/0.03477, allocations: 1.006 MB / 371.9 MB, free: 7.102 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.03604, allocations: 1.56 MB / 373.5 MB, free: 5.215 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/0.03605, allocations: 7.938 kB / 373.5 MB, free: 5.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001532/0.03758, allocations: 1.46 MB / 374.9 MB, free: 3.617 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.03774, allocations: 313 kB / 375.2 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.03776, allocations: 8 kB / 375.2 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/0.03779, allocations: 16 kB / 375.2 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.03819, allocations: 143.8 kB / 375.4 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.136e-05/0.03821, allocations: 23.92 kB / 375.4 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003422/0.03855, allocations: 103.8 kB / 375.5 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.737e-05/0.03862, allocations: 52.25 kB / 375.6 MB, free: 2.91 MB / 298.7 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: 45 * Number of states: 0 () * Number of discrete variables: 115 ($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,P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.firingTime,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[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 (118): * Single equations (assignments): 108 * 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.0006704/0.03929, allocations: 0.6726 MB / 376.2 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.03945, allocations: 111.7 kB / 376.3 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/0.04138, allocations: 1.644 MB / 378 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.04139, allocations: 4 kB / 378 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.04139, allocations: 3.984 kB / 378 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.0414, allocations: 0 / 378 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/0.04382, allocations: 2.21 MB / 380.2 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.04382, allocations: 3.984 kB / 380.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.04393, allocations: 23.92 kB / 380.2 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.04394, allocations: 4 kB / 380.2 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.89e-05/0.04401, allocations: 31.98 kB / 380.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.299e-06/0.04401, allocations: 8 kB / 380.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.04402, allocations: 3.938 kB / 380.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.04635, allocations: 2.237 MB / 382.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.0464, allocations: 51.62 kB / 382.6 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.04654, allocations: 63.98 kB / 382.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.04681, allocations: 47.97 kB / 382.7 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.04698, allocations: 83.78 kB / 382.8 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.432e-05/0.04706, allocations: 47.97 kB / 382.8 MB, free: 11.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001444/0.0472, allocations: 211 kB / 383 MB, free: 11.1 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0472, allocations: 0 / 383 MB, free: 11.1 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000946/0.04815, allocations: 311.5 kB / 383.3 MB, free: 10.79 MB / 314.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: 64 ($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,$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.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.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 47 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,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 (33): * Single equations (assignments): 21 * 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.000712/0.04886, allocations: 394.8 kB / 383.7 MB, free: 10.42 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001834/0.05069, allocations: 1.971 MB / 385.7 MB, free: 8.219 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.0507, allocations: 4 kB / 385.7 MB, free: 8.215 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.05176, allocations: 1.295 MB / 387 MB, free: 6.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.05224, allocations: 96.89 kB / 387.1 MB, free: 6.676 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.05429, allocations: 1.491 MB / 388.6 MB, free: 5.094 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.0544, allocations: 151.4 kB / 388.7 MB, free: 4.926 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002431/0.05465, allocations: 113 kB / 388.8 MB, free: 4.812 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.599e-05/0.05473, allocations: 44.48 kB / 388.9 MB, free: 4.77 MB / 314.7 MB Notification: Performance of SimCode: time 1.382e-06/0.05473, allocations: 4 kB / 388.9 MB, free: 4.766 MB / 314.7 MB Notification: Performance of Templates: time 0.01667/0.0714, allocations: 11.75 MB / 400.6 MB, free: 9.039 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.TTtoPD.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TTtoPD.sim & ./PNlib_PNlib.Examples.DisTest.TTtoPD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TTtoPD.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3064231760799885]