Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTT.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.0009154/0.0009154, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001164/0.001164, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 0.8981/0.8981, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.05163/0.05163, allocations: 12.67 MB / 272.9 MB, free: 396 kB / 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.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") translateModel(PNlib.Examples.DisTest.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 293.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.833e-05, allocations: 2.859 kB / 293.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.002525/0.002543, allocations: 1.751 MB / 295.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002485/0.005029, allocations: 1.932 MB / 297.3 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002579/0.005287, allocations: 8.844 kB / 297.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.005577, allocations: 116.5 kB / 297.5 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.005879, allocations: 138.7 kB / 297.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.007507, allocations: 0.9749 MB / 298.6 MB, free: 9.824 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.008741, allocations: 1.35 MB / 299.9 MB, free: 9.191 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.00889, allocations: 73.98 kB / 300 MB, free: 9.152 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007377/0.009628, allocations: 0.7614 MB / 300.8 MB, free: 8.781 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004524/0.01008, allocations: 320.4 kB / 301.1 MB, free: 8.664 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.01021, allocations: 88.41 kB / 301.2 MB, free: 8.664 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006478/0.01085, allocations: 0.618 MB / 301.8 MB, free: 8.383 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.01097, allocations: 155.4 kB / 301.9 MB, free: 8.277 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.01117, allocations: 290 kB / 302.2 MB, free: 8.105 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008262/0.01199, allocations: 1.085 MB / 303.3 MB, free: 7.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.103e-06/0.01199, allocations: 0 / 303.3 MB, free: 7.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.012, allocations: 1.469 kB / 303.3 MB, free: 7.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.012, allocations: 0 / 303.3 MB, free: 7.34 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.0009533/0.01296, allocations: 1.191 MB / 304.5 MB, free: 6.309 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.01298, allocations: 10.5 kB / 304.5 MB, free: 6.309 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002398/0.01322, allocations: 145 kB / 304.6 MB, free: 6.266 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.01351, allocations: 282.3 kB / 304.9 MB, free: 6.027 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.558e-05/0.01358, allocations: 108.8 kB / 305 MB, free: 5.941 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.119e-05/0.01366, allocations: 82.11 kB / 305.1 MB, free: 5.922 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008209/0.01448, allocations: 1.311 MB / 306.4 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.01449, allocations: 0.9688 kB / 306.4 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.391e-05/0.01455, allocations: 43.31 kB / 306.5 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.571e-05/0.01461, allocations: 53.33 kB / 306.5 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005592/0.01517, allocations: 0.7664 MB / 307.3 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.01664, allocations: 2.486 MB / 309.8 MB, free: 1.738 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004349/0.01708, allocations: 0.7637 MB / 310.5 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.0174, allocations: 0.6242 MB / 311.2 MB, free: 228 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.01743, allocations: 8.234 kB / 311.2 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006575/0.01809, allocations: 0.9809 MB / 312.1 MB, free: 15.14 MB / 282.7 MB Notification: Performance of pre-optimization done (n=73): time 2.444e-06/0.01809, allocations: 4 kB / 312.1 MB, free: 15.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=73): time 0.001363/0.01946, allocations: 1.945 MB / 314.1 MB, free: 13.04 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002014/0.01966, allocations: 0.5569 MB / 314.6 MB, free: 12.38 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.01986, allocations: 346.4 kB / 315 MB, free: 12.03 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.018e-05/0.01992, allocations: 65.69 kB / 315.1 MB, free: 11.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.02003, allocations: 257.3 kB / 315.3 MB, free: 11.71 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.02015, allocations: 194.6 kB / 315.5 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.02034, allocations: 230.4 kB / 315.7 MB, free: 11.29 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.02043, allocations: 374.7 kB / 316.1 MB, free: 10.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.02072, allocations: 490 kB / 316.6 MB, free: 10.37 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004623/0.02118, allocations: 0.9559 MB / 317.5 MB, free: 9.168 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.02219, allocations: 1.609 MB / 319.1 MB, free: 7.262 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.604e-05/0.02221, allocations: 4 kB / 319.1 MB, free: 7.258 MB / 282.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001057/0.02326, allocations: 1.326 MB / 320.5 MB, free: 5.801 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/0.0234, allocations: 329 kB / 320.8 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.02341, allocations: 20.03 kB / 320.8 MB, free: 5.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.02344, allocations: 16 kB / 320.8 MB, free: 5.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.02373, allocations: 163.7 kB / 321 MB, free: 5.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.02374, allocations: 20.19 kB / 321 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.02402, allocations: 123.3 kB / 321.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.712e-05/0.02408, allocations: 63.92 kB / 321.2 MB, free: 5.02 MB / 282.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" 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.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.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 P1.enableOut.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.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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 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: 50 * Number of states: 0 () * Number of discrete variables: 125 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,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],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,P1.outTransition[1].fed,T1.enabledByOutPlaces,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[1],P1.enableOut.arcWeight[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.firingTime,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,T1.firingCon) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 119 * Array equations: 1 * 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.000588/0.02467, allocations: 0.6471 MB / 321.8 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.02479, allocations: 119.8 kB / 321.9 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008908/0.02568, allocations: 1.147 MB / 323.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.0257, allocations: 4 kB / 323.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.0257, allocations: 4 kB / 323.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.0257, allocations: 3.984 kB / 323.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.02706, allocations: 1.591 MB / 324.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.02706, allocations: 3.938 kB / 324.7 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.265e-05/0.02713, allocations: 27.98 kB / 324.7 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.02714, allocations: 3.938 kB / 324.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-05/0.02719, allocations: 39.97 kB / 324.8 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.02719, allocations: 4 kB / 324.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.0272, allocations: 0 / 324.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.02824, allocations: 1.631 MB / 326.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.02828, allocations: 59.52 kB / 326.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.0284, allocations: 71.97 kB / 326.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.02862, allocations: 71.94 kB / 326.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003412/0.02896, allocations: 310.5 kB / 326.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-05/0.02902, allocations: 39.97 kB / 326.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.204e-05/0.02909, allocations: 96.62 kB / 327 MB, free: 14.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02909, allocations: 0 / 327 MB, free: 14.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006831/0.02977, allocations: 351.5 kB / 327.4 MB, free: 14.45 MB / 298.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: 66 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.firingTime,T1.fireTime,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 51 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 22 * Array equations: 1 * 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.0005569/0.03033, allocations: 407.5 kB / 327.8 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001446/0.03178, allocations: 1.991 MB / 329.8 MB, free: 11.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/0.03179, allocations: 4 kB / 329.8 MB, free: 11.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007322/0.03252, allocations: 1.279 MB / 331 MB, free: 10.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.03281, allocations: 110.6 kB / 331.2 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.03441, allocations: 1.6 MB / 332.8 MB, free: 8.629 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.884e-05/0.03451, allocations: 159.7 kB / 332.9 MB, free: 8.453 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001454/0.03465, allocations: 72.91 kB / 333 MB, free: 8.383 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/0.03515, allocations: 303.3 kB / 333.3 MB, free: 8.086 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.03515, allocations: 0 / 333.3 MB, free: 8.086 MB / 298.7 MB Notification: Performance of Templates: time 0.01545/0.0506, allocations: 14.52 MB / 347.8 MB, free: 9.664 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTT.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTT.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.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: 2.951789416372776]