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.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.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006944/0.006944, allocations: 104.1 kB / 15.74 MB, free: 5.984 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.001634/0.001634, allocations: 197.8 kB / 16.68 MB, free: 5.91 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.378/1.378, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07621/0.07621, allocations: 16.74 MB / 307.3 MB, free: 14.22 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001423, allocations: 67.89 kB / 426.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1152, allocations: 53.47 MB / 479.8 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.003293/0.1185, allocations: 1.855 MB / 481.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003504/0.122, allocations: 1.913 MB / 483.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.1223, allocations: 7.938 kB / 483.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003622/0.1226, allocations: 111.1 kB / 483.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003499/0.123, allocations: 123 kB / 483.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.125, allocations: 0.8953 MB / 484.7 MB, free: 40 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001429/0.1265, allocations: 1.431 MB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002895/0.1268, allocations: 164.5 kB / 486.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005574/0.1273, allocations: 0.5337 MB / 486.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004818/0.1278, allocations: 342.4 kB / 487.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.1279, allocations: 91.94 kB / 487.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006843/0.1286, allocations: 0.515 MB / 487.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.1288, allocations: 139.5 kB / 487.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003655/0.1292, allocations: 390.3 kB / 488.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.1303, allocations: 1.177 MB / 489.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.1304, allocations: 0 / 489.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.1304, allocations: 3.938 kB / 489.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.1304, allocations: 4 kB / 489.5 MB, free: 11.26 MB / 366.1 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.001945/0.1323, allocations: 1.279 MB / 490.7 MB, free: 9.867 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.1324, allocations: 11.89 kB / 490.8 MB, free: 9.855 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003387/0.1327, allocations: 96.19 kB / 490.8 MB, free: 9.762 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006382/0.1334, allocations: 430.8 kB / 491.3 MB, free: 9.301 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.1335, allocations: 83 kB / 491.4 MB, free: 9.211 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.1336, allocations: 75.98 kB / 491.4 MB, free: 9.137 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/0.1356, allocations: 1.322 MB / 492.7 MB, free: 7.746 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.1357, allocations: 7.938 kB / 492.8 MB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.773e-05/0.1358, allocations: 43.97 kB / 492.8 MB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.1359, allocations: 48.97 kB / 492.8 MB, free: 7.645 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.1373, allocations: 0.8938 MB / 493.7 MB, free: 6.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003753/0.1411, allocations: 3.317 MB / 497.1 MB, free: 3.281 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.1427, allocations: 1.462 MB / 498.5 MB, free: 1.805 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.1441, allocations: 1.361 MB / 499.9 MB, free: 448 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-05/0.1442, allocations: 89.03 kB / 500 MB, free: 340 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001304/0.1455, allocations: 0.8956 MB / 0.4891 GB, free: 15.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.716e-06/0.1455, allocations: 0 / 0.4891 GB, free: 15.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.003694/0.1492, allocations: 2.535 MB / 0.4916 GB, free: 12.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003705/0.1496, allocations: 0.5598 MB / 0.4921 GB, free: 12.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005211/0.1501, allocations: 421.1 kB / 0.4925 GB, free: 11.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.204e-05/0.1502, allocations: 69.72 kB / 0.4926 GB, free: 11.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.1504, allocations: 264.3 kB / 0.4929 GB, free: 11.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.1506, allocations: 193.7 kB / 0.4931 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003233/0.151, allocations: 230.5 kB / 0.4933 GB, free: 10.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.1512, allocations: 374.7 kB / 0.4936 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006842/0.1519, allocations: 442 kB / 0.4941 GB, free: 10.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009813/0.1529, allocations: 0.8099 MB / 0.4948 GB, free: 9.195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00289/0.1558, allocations: 2.544 MB / 0.4973 GB, free: 6.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/0.1558, allocations: 4 kB / 0.4973 GB, free: 6.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002542/0.1583, allocations: 1.834 MB / 0.4991 GB, free: 4.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002108/0.1586, allocations: 341 kB / 0.4994 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.583e-05/0.1586, allocations: 12 kB / 0.4995 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.097e-05/0.1586, allocations: 16.78 kB / 0.4995 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.159, allocations: 123.7 kB / 0.4996 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.532e-05/0.1591, allocations: 35.86 kB / 0.4996 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/0.1596, allocations: 122.9 kB / 0.4997 GB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-05/0.1597, allocations: 59.94 kB / 0.4998 GB, free: 3.652 MB / 382.1 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,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[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,T1.enabledByOutPlaces,P1.outTransition[1].fed) * 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.001021/0.1607, allocations: 0.7541 MB / 0.5005 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.1609, allocations: 79.33 kB / 0.5006 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002772/0.1636, allocations: 1.948 MB / 0.5025 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.1637, allocations: 4 kB / 0.5025 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1637, allocations: 4 kB / 0.5025 GB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.1637, allocations: 3.984 kB / 0.5025 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2453/0.409, allocations: 2.968 MB / 0.5054 GB, free: 34.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.4091, allocations: 1.344 kB / 0.5054 GB, free: 34.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.4092, allocations: 24.7 kB / 0.5054 GB, free: 34.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.4092, allocations: 2.375 kB / 0.5055 GB, free: 34.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/0.4094, allocations: 43.69 kB / 0.5055 GB, free: 34.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.4094, allocations: 5.094 kB / 0.5055 GB, free: 34.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4094, allocations: 3.562 kB / 0.5055 GB, free: 34.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003563/0.4129, allocations: 2.318 MB / 0.5078 GB, free: 33.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.4131, allocations: 132.5 kB / 0.5079 GB, free: 33.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/0.4133, allocations: 79.89 kB / 0.508 GB, free: 33.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005111/0.4139, allocations: 72.14 kB / 0.508 GB, free: 33.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006133/0.4145, allocations: 332.2 kB / 0.5084 GB, free: 33.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/0.4147, allocations: 49.05 kB / 0.5084 GB, free: 33.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004015/0.4151, allocations: 252.5 kB / 0.5086 GB, free: 33.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4151, allocations: 0.8125 kB / 0.5086 GB, free: 33.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001375/0.4165, allocations: 344.1 kB / 0.509 GB, free: 33.11 MB / 382.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: 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.0008564/0.4174, allocations: 374.9 kB / 0.5093 GB, free: 32.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00266/0.42, allocations: 2.067 MB / 0.5113 GB, free: 31.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4201, allocations: 0 / 0.5113 GB, free: 31.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002596/0.4227, allocations: 3.057 MB / 0.5143 GB, free: 29.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008352/0.4235, allocations: 114.2 kB / 0.5144 GB, free: 29.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/0.4273, allocations: 1.523 MB / 0.5159 GB, free: 28.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006027/0.4279, allocations: 0.92 MB / 0.5168 GB, free: 28.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004263/0.4284, allocations: 145.7 kB / 0.517 GB, free: 28.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.4285, allocations: 47.28 kB / 0.517 GB, free: 28.15 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4285, allocations: 0 / 0.517 GB, free: 28.15 MB / 382.1 MB Notification: Performance of Templates: time 0.02303/0.4516, allocations: 13.71 MB / 0.5304 GB, free: 22.04 MB / 382.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTD.makefile (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=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches