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.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.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007217/0.007217, allocations: 104.6 kB / 15.74 MB, free: 6.484 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.001226/0.001226, allocations: 189.1 kB / 16.67 MB, free: 6.379 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2101/0.2101, allocations: 16.74 MB / 307.3 MB, free: 14.83 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 67.17 kB / 426.4 MB, free: 37.31 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.122, allocations: 53.48 MB / 479.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.002861/0.1249, allocations: 1.854 MB / 481.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003278/0.1282, allocations: 1.963 MB / 483.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002841/0.1285, allocations: 8.719 kB / 483.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.1288, allocations: 106.1 kB / 483.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.1292, allocations: 110.6 kB / 483.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.1308, allocations: 0.921 MB / 484.8 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.1321, allocations: 1.42 MB / 486.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000263/0.1324, allocations: 161.1 kB / 486.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004709/0.1328, allocations: 0.5338 MB / 486.9 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004174/0.1333, allocations: 346.5 kB / 487.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.1334, allocations: 88.03 kB / 487.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006725/0.1341, allocations: 0.5119 MB / 487.8 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.1342, allocations: 139.5 kB / 488 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002854/0.1345, allocations: 398.3 kB / 488.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009116/0.1354, allocations: 1.173 MB / 489.5 MB, free: 3.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1355, allocations: 0 / 489.5 MB, free: 3.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1355, allocations: 0 / 489.5 MB, free: 3.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.1355, allocations: 0 / 489.5 MB, free: 3.035 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001314/0.1368, allocations: 1.283 MB / 490.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1368, allocations: 11.89 kB / 490.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/0.1371, allocations: 92.17 kB / 490.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004859/0.1376, allocations: 435.8 kB / 491.4 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.84e-05/0.1377, allocations: 79 kB / 491.4 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.1378, allocations: 79.98 kB / 491.5 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.1395, allocations: 1.314 MB / 492.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.1395, allocations: 7.938 kB / 492.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.963e-05/0.1396, allocations: 39.97 kB / 492.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.1397, allocations: 56.94 kB / 492.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.1411, allocations: 0.8898 MB / 493.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003782/0.1449, allocations: 3.29 MB / 497.1 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.1466, allocations: 1.53 MB / 498.6 MB, free: 9.516 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.1479, allocations: 1.354 MB / 500 MB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.148, allocations: 93.33 kB / 0.4884 GB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001354/0.1494, allocations: 0.8968 MB / 0.4892 GB, free: 7.113 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 1.974e-06/0.1494, allocations: 4 kB / 0.4892 GB, free: 7.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.003989/0.1534, allocations: 2.522 MB / 0.4917 GB, free: 4.535 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003556/0.1538, allocations: 0.5598 MB / 0.4922 GB, free: 3.871 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004708/0.1542, allocations: 417.1 kB / 0.4926 GB, free: 3.461 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.348e-05/0.1543, allocations: 69.69 kB / 0.4927 GB, free: 3.387 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.1546, allocations: 256.4 kB / 0.493 GB, free: 3.129 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.1547, allocations: 193.8 kB / 0.4931 GB, free: 2.938 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002911/0.155, allocations: 222.5 kB / 0.4934 GB, free: 2.711 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1552, allocations: 378.8 kB / 0.4937 GB, free: 2.332 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006594/0.1559, allocations: 434 kB / 0.4941 GB, free: 1.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009123/0.1568, allocations: 0.7956 MB / 0.4949 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002799/0.1596, allocations: 2.51 MB / 0.4974 GB, free: 14.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.158e-06/0.1596, allocations: 4 kB / 0.4974 GB, free: 14.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002394/0.162, allocations: 1.809 MB / 0.4991 GB, free: 12.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002148/0.1623, allocations: 341 kB / 0.4995 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.1623, allocations: 12.81 kB / 0.4995 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/0.1623, allocations: 16 kB / 0.4995 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.1627, allocations: 123.7 kB / 0.4996 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.717e-05/0.1627, allocations: 27.92 kB / 0.4996 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.1632, allocations: 122.9 kB / 0.4997 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.74e-05/0.1633, allocations: 55.94 kB / 0.4998 GB, free: 11.49 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: 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,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.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,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 (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.0008973/0.1642, allocations: 0.7445 MB / 0.5005 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.1644, allocations: 79.36 kB / 0.5006 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002814/0.1672, allocations: 1.94 MB / 0.5025 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/0.1672, allocations: 8 kB / 0.5025 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1672, allocations: 4 kB / 0.5025 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.1673, allocations: 3.984 kB / 0.5025 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/0.1708, allocations: 2.741 MB / 0.5052 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1708, allocations: 4 kB / 0.5052 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.1709, allocations: 23.92 kB / 0.5052 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.1709, allocations: 7.984 kB / 0.5052 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-05/0.171, allocations: 35.98 kB / 0.5053 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.171, allocations: 7.938 kB / 0.5053 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.171, allocations: 0 / 0.5053 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003081/0.1741, allocations: 2.318 MB / 0.5075 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.985e-05/0.1742, allocations: 124.4 kB / 0.5076 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/0.1744, allocations: 75.97 kB / 0.5077 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004732/0.1749, allocations: 83.86 kB / 0.5078 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005301/0.1754, allocations: 327.6 kB / 0.5081 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.1755, allocations: 47.97 kB / 0.5082 GB, free: 2.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00026/0.1758, allocations: 251.2 kB / 0.5084 GB, free: 2.387 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1758, allocations: 0 / 0.5084 GB, free: 2.387 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001033/0.1768, allocations: 339.6 kB / 0.5087 GB, free: 2.055 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: 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.0007153/0.1776, allocations: 372.9 kB / 0.5091 GB, free: 1.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002521/0.1801, allocations: 2.051 MB / 0.5111 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1801, allocations: 0 / 0.5111 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002515/0.1826, allocations: 3.066 MB / 0.5141 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005691/0.1832, allocations: 109.2 kB / 0.5142 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.1857, allocations: 1.516 MB / 0.5157 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/0.1862, allocations: 0.9193 MB / 0.5166 GB, free: 9.766 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003259/0.1865, allocations: 140.6 kB / 0.5167 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.1866, allocations: 51.36 kB / 0.5167 GB, free: 9.578 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1866, allocations: 0 / 0.5167 GB, free: 9.578 MB / 398.1 MB Notification: Performance of Templates: time 0.02586/0.2125, allocations: 13.62 MB / 0.53 GB, free: 11.92 MB / 414.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTT.makefile (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=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches