Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.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.001115/0.001115, allocations: 81.14 kB / 19.87 MB, free: 4.625 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.001524/0.001524, allocations: 173 kB / 23.28 MB, free: 1.227 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.9982/0.9982, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.05055/0.05055, allocations: 12.65 MB / 272.9 MB, free: 368 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.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") translateModel(PNlib.Examples.DisTest.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 346.9 MB, free: 1.664 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128e-05/1.307e-05, allocations: 2.312 kB / 346.9 MB, free: 1.66 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.00176/0.001773, allocations: 1.755 MB / 348.7 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002384/0.004157, allocations: 1.855 MB / 350.5 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.004355, allocations: 7.938 kB / 350.5 MB, free: 14.03 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.004672, allocations: 115 kB / 350.6 MB, free: 13.92 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.005002, allocations: 143 kB / 350.8 MB, free: 13.78 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.006393, allocations: 0.9508 MB / 351.7 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001195/0.007588, allocations: 1.349 MB / 353.1 MB, free: 11.47 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.007733, allocations: 69.25 kB / 353.2 MB, free: 11.4 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006506/0.008384, allocations: 0.7604 MB / 353.9 MB, free: 10.64 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003938/0.008778, allocations: 323 kB / 354.2 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.253e-05/0.00887, allocations: 91.94 kB / 354.3 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006983/0.009568, allocations: 0.6122 MB / 354.9 MB, free: 9.621 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.009722, allocations: 151.3 kB / 355.1 MB, free: 9.473 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002439/0.009966, allocations: 291.3 kB / 355.4 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.01098, allocations: 1.087 MB / 356.5 MB, free: 8.098 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.01098, allocations: 0 / 356.5 MB, free: 8.098 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.01099, allocations: 0 / 356.5 MB, free: 8.098 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.01099, allocations: 4 kB / 356.5 MB, free: 8.094 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001161/0.01215, allocations: 1.31 MB / 357.8 MB, free: 6.684 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.01219, allocations: 12.03 kB / 357.8 MB, free: 6.672 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002631/0.01245, allocations: 164.4 kB / 357.9 MB, free: 6.512 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.01279, allocations: 343.5 kB / 358.3 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.738e-05/0.01288, allocations: 117 kB / 358.4 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.154e-05/0.01296, allocations: 83.98 kB / 358.5 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.01406, allocations: 1.359 MB / 359.8 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.01408, allocations: 4 kB / 359.8 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.61e-05/0.01413, allocations: 43.98 kB / 359.9 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.438e-05/0.0142, allocations: 52.95 kB / 359.9 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006803/0.01488, allocations: 0.7578 MB / 360.7 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.01734, allocations: 3.57 MB / 364.3 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005947/0.01794, allocations: 0.715 MB / 365 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005312/0.01847, allocations: 0.6267 MB / 365.6 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.372e-05/0.01851, allocations: 15.92 kB / 365.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007755/0.01929, allocations: 0.9714 MB / 366.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=75): time 1.724e-06/0.01929, allocations: 0 / 366.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.002269/0.02156, allocations: 2.58 MB / 369.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002228/0.02178, allocations: 0.5598 MB / 369.7 MB, free: 9.852 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006319/0.02241, allocations: 433.5 kB / 370.1 MB, free: 9.414 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.085e-05/0.02248, allocations: 73.67 kB / 370.2 MB, free: 9.336 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.02265, allocations: 331.5 kB / 370.5 MB, free: 9.004 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.02279, allocations: 202.6 kB / 370.7 MB, free: 8.805 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.02302, allocations: 260 kB / 371 MB, free: 8.543 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.02317, allocations: 0.5468 MB / 371.5 MB, free: 7.984 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.02348, allocations: 495.1 kB / 372 MB, free: 7.438 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000556/0.02404, allocations: 1.125 MB / 373.2 MB, free: 5.996 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.02506, allocations: 1.742 MB / 374.9 MB, free: 3.891 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.364e-05/0.02508, allocations: 4 kB / 374.9 MB, free: 3.887 MB / 298.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001342/0.02642, allocations: 1.703 MB / 376.6 MB, free: 2.055 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003967/0.02682, allocations: 333 kB / 376.9 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.02683, allocations: 8 kB / 376.9 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.02685, allocations: 20 kB / 377 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.02713, allocations: 163.7 kB / 377.1 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.02715, allocations: 31.91 kB / 377.1 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.02744, allocations: 123.3 kB / 377.3 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.876e-05/0.0275, allocations: 52.22 kB / 377.3 MB, free: 1.273 MB / 298.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: 52 * Number of states: 0 () * Number of discrete variables: 128 ($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,T1.inPlaces[1].tokenInOut,$PRE.P1.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.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,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 (135): * Single equations (assignments): 124 * 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.0004869/0.02799, allocations: 0.7135 MB / 378 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.02812, allocations: 131.6 kB / 378.2 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.02963, allocations: 1.792 MB / 379.9 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.02964, allocations: 7.984 kB / 380 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.02964, allocations: 0 / 380 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.02965, allocations: 4 kB / 380 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/0.03176, allocations: 2.503 MB / 382.5 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.03177, allocations: 0 / 382.5 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-05/0.03183, allocations: 31.92 kB / 382.5 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.03183, allocations: 0 / 382.5 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.332e-05/0.03189, allocations: 39.97 kB / 382.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.03189, allocations: 8 kB / 382.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.03189, allocations: 3.938 kB / 382.5 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/0.03394, allocations: 2.32 MB / 384.9 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.03398, allocations: 51.55 kB / 384.9 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.0341, allocations: 71.97 kB / 385 MB, free: 9.211 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.03432, allocations: 79.92 kB / 385.1 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003342/0.03465, allocations: 307.7 kB / 385.4 MB, free: 8.832 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-05/0.03471, allocations: 43.98 kB / 385.4 MB, free: 8.789 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001012/0.03481, allocations: 214.9 kB / 385.6 MB, free: 8.582 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03481, allocations: 0 / 385.6 MB, free: 8.582 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006756/0.03549, allocations: 343.5 kB / 386 MB, free: 8.246 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: 68 ($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,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,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.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,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 (37): * Single equations (assignments): 24 * 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.0005352/0.03603, allocations: 417.5 kB / 386.4 MB, free: 7.859 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.03743, allocations: 2.038 MB / 388.4 MB, free: 5.578 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.03743, allocations: 1.938 kB / 388.4 MB, free: 5.578 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007908/0.03823, allocations: 1.295 MB / 389.7 MB, free: 4.133 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.03855, allocations: 100.5 kB / 389.8 MB, free: 4.035 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.04036, allocations: 1.595 MB / 391.4 MB, free: 2.355 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.683e-05/0.04046, allocations: 159.9 kB / 391.5 MB, free: 2.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.04059, allocations: 68.52 kB / 391.6 MB, free: 2.113 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004896/0.04108, allocations: 326.1 kB / 391.9 MB, free: 1.793 MB / 314.7 MB Notification: Performance of SimCode: time 8.41e-07/0.04108, allocations: 0 / 391.9 MB, free: 1.793 MB / 314.7 MB Notification: Performance of Templates: time 0.01835/0.05943, allocations: 14.74 MB / 406.7 MB, free: 3.148 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTD.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.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.3193914089351892]