Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") translateModel(PNlib.Examples.DisTest.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007162/0.007162, allocations: 100.6 kB / 15.73 MB, free: 6.023 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.001285/0.001286, allocations: 192.9 kB / 16.67 MB, free: 5.957 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2525/0.2525, allocations: 16.75 MB / 307.3 MB, free: 14.82 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 59.72 kB / 426.4 MB, free: 37.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1217, allocations: 53.47 MB / 479.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.003305/0.1251, allocations: 1.859 MB / 481.7 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003597/0.1287, allocations: 1.913 MB / 483.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005088/0.1292, allocations: 9.625 kB / 483.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004119/0.1296, allocations: 109.3 kB / 483.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004113/0.1301, allocations: 115 kB / 483.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.1324, allocations: 0.9026 MB / 484.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.1337, allocations: 1.415 MB / 486.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.134, allocations: 151.9 kB / 486.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005109/0.1345, allocations: 0.5249 MB / 486.8 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003899/0.1349, allocations: 309.8 kB / 487.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.135, allocations: 71.69 kB / 487.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000871/0.1359, allocations: 0.4966 MB / 487.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.1361, allocations: 123.5 kB / 487.8 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000271/0.1363, allocations: 342.4 kB / 488.1 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000922/0.1373, allocations: 1.044 MB / 489.2 MB, free: 3.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1373, allocations: 4 kB / 489.2 MB, free: 3.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1373, allocations: 3.938 kB / 489.2 MB, free: 3.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.1373, allocations: 0 / 489.2 MB, free: 3.371 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001269/0.1386, allocations: 1.208 MB / 490.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1386, allocations: 11.89 kB / 490.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000281/0.1389, allocations: 84.17 kB / 490.5 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.1393, allocations: 403 kB / 490.9 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.21e-05/0.1394, allocations: 86.62 kB / 491 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.774e-05/0.1395, allocations: 63.98 kB / 491 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.1409, allocations: 1.101 MB / 492.1 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.1409, allocations: 0 / 492.1 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.438e-05/0.141, allocations: 31.98 kB / 492.2 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.28e-05/0.1411, allocations: 52.95 kB / 492.2 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.1423, allocations: 0.7376 MB / 493 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003354/0.1457, allocations: 2.99 MB / 495.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.1472, allocations: 1.381 MB / 497.3 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.1484, allocations: 1.245 MB / 498.6 MB, free: 9.598 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.724e-05/0.1485, allocations: 93.05 kB / 498.7 MB, free: 9.488 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/0.1497, allocations: 0.7785 MB / 499.4 MB, free: 8.672 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.144e-06/0.1497, allocations: 0 / 499.4 MB, free: 8.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.003423/0.1532, allocations: 2.208 MB / 0.4899 GB, free: 6.418 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003255/0.1535, allocations: 0.5152 MB / 0.4904 GB, free: 5.805 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004298/0.154, allocations: 372 kB / 0.4907 GB, free: 5.438 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.976e-05/0.154, allocations: 65.69 kB / 0.4908 GB, free: 5.367 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.1542, allocations: 228.7 kB / 0.491 GB, free: 5.141 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.1544, allocations: 185.8 kB / 0.4912 GB, free: 4.957 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/0.1547, allocations: 198.6 kB / 0.4914 GB, free: 4.758 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1548, allocations: 366.8 kB / 0.4917 GB, free: 4.391 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/0.1553, allocations: 306.1 kB / 0.492 GB, free: 4.086 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007379/0.1561, allocations: 0.64 MB / 0.4927 GB, free: 3.301 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002407/0.1585, allocations: 2.031 MB / 0.4946 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.1585, allocations: 4 kB / 0.4947 GB, free: 0.957 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001988/0.1605, allocations: 1.458 MB / 0.4961 GB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002004/0.1607, allocations: 315 kB / 0.4964 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.1608, allocations: 12 kB / 0.4964 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/0.1608, allocations: 16.78 kB / 0.4964 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.1611, allocations: 115.7 kB / 0.4965 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.23e-05/0.1612, allocations: 27.88 kB / 0.4965 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.1616, allocations: 103 kB / 0.4966 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.579e-05/0.1616, allocations: 51.98 kB / 0.4967 GB, free: 14.74 MB / 382.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.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.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 P1.enableIn.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.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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 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: 46 * Number of states: 0 () * Number of discrete variables: 118 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,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],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 112 * Array equations: 0 * 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.000826/0.1625, allocations: 0.7024 MB / 0.4974 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.1626, allocations: 67.44 kB / 0.4974 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002489/0.1651, allocations: 1.661 MB / 0.4991 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.1651, allocations: 4 kB / 0.4991 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.1651, allocations: 7.938 kB / 0.4991 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.1652, allocations: 3.984 kB / 0.4991 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003618/0.1688, allocations: 2.597 MB / 0.5016 GB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1688, allocations: 0 / 0.5016 GB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.1689, allocations: 27.92 kB / 0.5016 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.1689, allocations: 3.938 kB / 0.5016 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.76e-05/0.169, allocations: 43.92 kB / 0.5017 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/0.169, allocations: 3.984 kB / 0.5017 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.169, allocations: 4 kB / 0.5017 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002944/0.172, allocations: 2.059 MB / 0.5037 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.1721, allocations: 128.4 kB / 0.5038 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.1723, allocations: 71.97 kB / 0.5039 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.1727, allocations: 47.97 kB / 0.5039 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.1729, allocations: 91.83 kB / 0.504 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.32e-05/0.173, allocations: 43.98 kB / 0.5041 GB, free: 6.895 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002251/0.1732, allocations: 223 kB / 0.5043 GB, free: 6.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1732, allocations: 0 / 0.5043 GB, free: 6.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001025/0.1743, allocations: 311.6 kB / 0.5046 GB, free: 6.371 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: 67 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.arcWeight[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 25 * Array equations: 0 * 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.0007068/0.175, allocations: 373.9 kB / 0.5049 GB, free: 6.016 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002334/0.1773, allocations: 1.726 MB / 0.5066 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1773, allocations: 4 kB / 0.5066 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002317/0.1797, allocations: 2.802 MB / 0.5094 GB, free: 1.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005647/0.1802, allocations: 106.3 kB / 0.5095 GB, free: 1.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.1828, allocations: 1.512 MB / 0.5109 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.1833, allocations: 0.8958 MB / 0.5118 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002982/0.1836, allocations: 128.9 kB / 0.5119 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.682e-05/0.1837, allocations: 43.42 kB / 0.512 GB, free: 14.53 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1837, allocations: 0 / 0.512 GB, free: 14.53 MB / 398.1 MB Notification: Performance of Templates: time 0.01892/0.2026, allocations: 11.42 MB / 0.5231 GB, free: 3.055 MB / 398.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.makefile (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.sim & ./PNlib_PNlib.Examples.DisTest.TDtoPDfunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches