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.001645/0.001645, allocations: 103.9 kB / 16.35 MB, free: 5.828 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.001876/0.001877, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.43/1.43, 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.07548/0.07548, allocations: 16.74 MB / 307.9 MB, free: 14.24 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 61.64 kB / 373 MB, free: 48.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1263, allocations: 53.48 MB / 426.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.003878/0.1302, allocations: 1.856 MB / 428.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004143/0.1344, allocations: 1.956 MB / 430.3 MB, free: 7.922 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003083/0.1347, allocations: 7.938 kB / 430.3 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004336/0.1352, allocations: 111.1 kB / 430.4 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004551/0.1357, allocations: 119 kB / 430.5 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002724/0.1384, allocations: 0.9044 MB / 431.5 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001634/0.14, allocations: 1.435 MB / 432.9 MB, free: 5.344 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003018/0.1404, allocations: 156.5 kB / 433 MB, free: 5.188 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005739/0.1409, allocations: 0.5337 MB / 433.6 MB, free: 4.652 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005033/0.1415, allocations: 346.4 kB / 433.9 MB, free: 4.312 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.1416, allocations: 88 kB / 434 MB, free: 4.227 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008069/0.1424, allocations: 0.5072 MB / 434.5 MB, free: 3.719 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.1427, allocations: 147.5 kB / 434.6 MB, free: 3.574 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004658/0.1431, allocations: 390.3 kB / 435 MB, free: 3.191 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000968/0.1441, allocations: 1.165 MB / 436.2 MB, free: 2.023 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1441, allocations: 0 / 436.2 MB, free: 2.023 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1441, allocations: 4 kB / 436.2 MB, free: 2.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.1442, allocations: 0 / 436.2 MB, free: 2.02 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.00136/0.1455, allocations: 1.279 MB / 437.5 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1456, allocations: 11.89 kB / 437.5 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000304/0.1459, allocations: 92.17 kB / 437.6 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005154/0.1464, allocations: 435.8 kB / 438 MB, free: 60 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.1465, allocations: 83.06 kB / 438.1 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.1467, allocations: 79.91 kB / 438.2 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/0.1487, allocations: 1.31 MB / 439.5 MB, free: 14.51 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.1487, allocations: 7.938 kB / 439.5 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.131e-05/0.1488, allocations: 39.97 kB / 439.5 MB, free: 14.46 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.629e-05/0.1489, allocations: 56.95 kB / 439.6 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/0.151, allocations: 0.8858 MB / 440.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005862/0.1569, allocations: 3.302 MB / 443.8 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002708/0.1597, allocations: 1.531 MB / 445.3 MB, free: 8.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002182/0.1619, allocations: 1.35 MB / 446.6 MB, free: 7.145 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.162, allocations: 85.33 kB / 446.7 MB, free: 7.043 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00224/0.1643, allocations: 0.9045 MB / 447.6 MB, free: 6.102 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 4.689e-06/0.1643, allocations: 0 / 447.6 MB, free: 6.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.00597/0.1703, allocations: 2.526 MB / 450.2 MB, free: 3.523 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005534/0.1709, allocations: 0.5598 MB / 450.7 MB, free: 2.859 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007742/0.1717, allocations: 421 kB / 451.1 MB, free: 2.441 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001502/0.1719, allocations: 65.69 kB / 451.2 MB, free: 2.371 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003193/0.1722, allocations: 256.4 kB / 451.4 MB, free: 2.113 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/0.1725, allocations: 189.8 kB / 451.6 MB, free: 1.926 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004662/0.173, allocations: 226.5 kB / 451.9 MB, free: 1.699 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.1732, allocations: 378.7 kB / 452.2 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.1743, allocations: 430.1 kB / 452.6 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.1758, allocations: 0.7956 MB / 453.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00442/0.1802, allocations: 2.506 MB / 455.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.673e-05/0.1803, allocations: 4 kB / 455.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00408/0.1844, allocations: 1.806 MB / 457.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002978/0.1847, allocations: 337 kB / 458.1 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.829e-05/0.1848, allocations: 12 kB / 458.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.016e-05/0.1848, allocations: 20.06 kB / 458.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005564/0.1854, allocations: 119.7 kB / 458.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.195e-05/0.1854, allocations: 23.92 kB / 458.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008506/0.1863, allocations: 122.9 kB / 458.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/0.1865, allocations: 59.94 kB / 458.4 MB, free: 10.48 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.001458/0.1879, allocations: 0.7612 MB / 459.2 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/0.1882, allocations: 75.42 kB / 459.3 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004394/0.1926, allocations: 1.952 MB / 461.2 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-05/0.1927, allocations: 4 kB / 461.2 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.1927, allocations: 0 / 461.2 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.1927, allocations: 3.984 kB / 461.2 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005678/0.1984, allocations: 2.738 MB / 464 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.1984, allocations: 0 / 464 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.1986, allocations: 27.92 kB / 464 MB, free: 4.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.1986, allocations: 3.984 kB / 464 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/0.1988, allocations: 35.98 kB / 464 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.094e-05/0.1988, allocations: 11.94 kB / 464 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1988, allocations: 0 / 464 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004733/0.2036, allocations: 2.314 MB / 466.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.2037, allocations: 128.3 kB / 466.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002344/0.2039, allocations: 71.98 kB / 466.6 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000513/0.2045, allocations: 91.86 kB / 466.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000556/0.205, allocations: 327.7 kB / 467 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.2052, allocations: 43.97 kB / 467 MB, free: 1.617 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002933/0.2055, allocations: 251.1 kB / 467.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2055, allocations: 0 / 467.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001126/0.2066, allocations: 335.7 kB / 467.6 MB, free: 1.043 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.0007837/0.2074, allocations: 392.7 kB / 468 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002771/0.2102, allocations: 2.047 MB / 470 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2102, allocations: 4.062 kB / 470 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002625/0.2128, allocations: 3.059 MB / 473.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008279/0.2137, allocations: 103.8 kB / 473.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/0.2169, allocations: 1.516 MB / 474.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005824/0.2175, allocations: 0.9192 MB / 475.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004043/0.2179, allocations: 149.1 kB / 475.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.2181, allocations: 47.42 kB / 475.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2181, allocations: 0 / 475.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of Templates: time 0.02219/0.2403, allocations: 13.18 MB / 489 MB, free: 11.36 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 cvode -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