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.001144/0.001144, allocations: 116.2 kB / 16.37 MB, free: 6.004 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.001096/0.001097, allocations: 192.8 kB / 17.31 MB, free: 5.613 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07406/0.07406, allocations: 16.72 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 64.81 kB / 373 MB, free: 48.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1261, allocations: 53.48 MB / 426.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.003154/0.1293, allocations: 1.864 MB / 428.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002996/0.1323, allocations: 1.956 MB / 430.3 MB, free: 7.883 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002374/0.1326, allocations: 11.88 kB / 430.3 MB, free: 7.871 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000332/0.1329, allocations: 103.1 kB / 430.4 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003212/0.1333, allocations: 123 kB / 430.6 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.1349, allocations: 0.9083 MB / 431.5 MB, free: 6.738 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.1359, allocations: 1.424 MB / 432.9 MB, free: 5.312 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.1361, allocations: 160.5 kB / 433.1 MB, free: 5.152 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003566/0.1365, allocations: 0.5338 MB / 433.6 MB, free: 4.617 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003488/0.1369, allocations: 350.3 kB / 433.9 MB, free: 4.273 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.443e-05/0.137, allocations: 88 kB / 434 MB, free: 4.188 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005365/0.1375, allocations: 0.5111 MB / 434.5 MB, free: 3.676 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.1376, allocations: 135.5 kB / 434.7 MB, free: 3.543 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002946/0.138, allocations: 394.3 kB / 435 MB, free: 3.156 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008719/0.1388, allocations: 1.165 MB / 436.2 MB, free: 1.988 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1388, allocations: 0 / 436.2 MB, free: 1.988 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1389, allocations: 4 kB / 436.2 MB, free: 1.984 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.1389, allocations: 0 / 436.2 MB, free: 1.984 MB / 302.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.00135/0.1402, allocations: 1.275 MB / 437.5 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1403, allocations: 11.89 kB / 437.5 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002893/0.1406, allocations: 96.17 kB / 437.6 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005157/0.1411, allocations: 431.8 kB / 438 MB, free: 28 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.1412, allocations: 86.98 kB / 438.1 MB, free: 15.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.1414, allocations: 83.91 kB / 438.2 MB, free: 15.85 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.1436, allocations: 1.314 MB / 439.5 MB, free: 14.46 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.1436, allocations: 4 kB / 439.5 MB, free: 14.46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.572e-05/0.1437, allocations: 39.98 kB / 439.5 MB, free: 14.42 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/0.1438, allocations: 48.95 kB / 439.6 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.1452, allocations: 0.8859 MB / 440.5 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003877/0.1491, allocations: 3.306 MB / 443.8 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.1508, allocations: 1.523 MB / 445.3 MB, free: 8.473 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/0.1522, allocations: 1.354 MB / 446.7 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.513e-05/0.1523, allocations: 93.33 kB / 446.7 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001335/0.1536, allocations: 0.8929 MB / 447.6 MB, free: 6.074 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 3.807e-06/0.1537, allocations: 3.984 kB / 447.6 MB, free: 6.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.003804/0.1575, allocations: 2.527 MB / 450.2 MB, free: 3.492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003519/0.1578, allocations: 0.5598 MB / 450.7 MB, free: 2.828 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004742/0.1583, allocations: 425 kB / 451.1 MB, free: 2.406 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.552e-05/0.1584, allocations: 65.69 kB / 451.2 MB, free: 2.336 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.1586, allocations: 264.3 kB / 451.5 MB, free: 2.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.1588, allocations: 185.9 kB / 451.7 MB, free: 1.887 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002968/0.1591, allocations: 222.5 kB / 451.9 MB, free: 1.664 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.1593, allocations: 378.7 kB / 452.2 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006503/0.1599, allocations: 434 kB / 452.7 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009195/0.1609, allocations: 0.7917 MB / 453.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002887/0.1638, allocations: 2.51 MB / 456 MB, free: 13.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/0.1638, allocations: 4 kB / 456 MB, free: 13.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002579/0.1664, allocations: 1.801 MB / 457.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002275/0.1666, allocations: 336.9 kB / 458.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.1666, allocations: 12 kB / 458.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/0.1667, allocations: 16.75 kB / 458.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/0.167, allocations: 123.7 kB / 458.2 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-05/0.1671, allocations: 27.92 kB / 458.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.1676, allocations: 122.9 kB / 458.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.476e-05/0.1677, allocations: 63.91 kB / 458.5 MB, free: 10.44 MB / 334.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.0009654/0.1687, allocations: 0.7461 MB / 459.2 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.1688, allocations: 71.44 kB / 459.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002736/0.1716, allocations: 1.948 MB / 461.2 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.1716, allocations: 8 kB / 461.2 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1716, allocations: 4 kB / 461.2 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.1716, allocations: 3.984 kB / 461.2 MB, free: 7.555 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003408/0.175, allocations: 2.742 MB / 464 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.175, allocations: 3.984 kB / 464 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.1752, allocations: 19.98 kB / 464 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1752, allocations: 4 kB / 464 MB, free: 4.688 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.075e-05/0.1753, allocations: 39.98 kB / 464 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/0.1753, allocations: 11.88 kB / 464.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1753, allocations: 7.875 kB / 464.1 MB, free: 4.629 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003054/0.1784, allocations: 2.31 MB / 466.4 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.1785, allocations: 132.3 kB / 466.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.1787, allocations: 75.97 kB / 466.6 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004564/0.1791, allocations: 83.86 kB / 466.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005534/0.1797, allocations: 327.7 kB / 467 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.815e-05/0.1798, allocations: 43.97 kB / 467 MB, free: 1.582 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002635/0.1801, allocations: 255.2 kB / 467.3 MB, free: 1.332 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1801, allocations: 0 / 467.3 MB, free: 1.332 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001089/0.1812, allocations: 327.7 kB / 467.6 MB, free: 1.012 MB / 334.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.0007699/0.182, allocations: 383.5 kB / 468 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002629/0.1846, allocations: 2.054 MB / 470 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.1846, allocations: 4 kB / 470 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002576/0.1872, allocations: 3.059 MB / 473.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006283/0.1878, allocations: 100.5 kB / 473.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.1905, allocations: 1.524 MB / 474.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.191, allocations: 0.9192 MB / 475.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004729/0.1915, allocations: 153 kB / 475.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.747e-05/0.1916, allocations: 43.44 kB / 475.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1916, allocations: 0 / 475.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of Templates: time 0.02303/0.2146, allocations: 13.18 MB / 489 MB, free: 11.32 MB / 366.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches