Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPD.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.TDtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPD") translateModel(PNlib.Examples.DisTest.TDtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001274, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001232/0.001232, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.388/1.388, 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.07717/0.07717, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001232, allocations: 63.91 kB / 427 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1066, allocations: 53.48 MB / 480.5 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.002968/0.1097, allocations: 1.855 MB / 482.3 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003319/0.113, allocations: 1.923 MB / 484.3 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002272/0.1132, allocations: 8 kB / 484.3 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003582/0.1136, allocations: 103.1 kB / 484.4 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.114, allocations: 119 kB / 484.5 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.1158, allocations: 0.9032 MB / 485.4 MB, free: 48 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.1171, allocations: 1.42 MB / 486.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.1173, allocations: 147.8 kB / 487 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005307/0.1179, allocations: 0.522 MB / 487.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003988/0.1183, allocations: 306.5 kB / 487.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.1184, allocations: 68 kB / 487.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007119/0.1191, allocations: 0.4993 MB / 488.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.1193, allocations: 131.5 kB / 488.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003016/0.1196, allocations: 330.5 kB / 488.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.1207, allocations: 1.044 MB / 489.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1207, allocations: 0 / 489.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1207, allocations: 4 kB / 489.8 MB, free: 11.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.1207, allocations: 0 / 489.8 MB, free: 11.58 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001555/0.1223, allocations: 1.204 MB / 491 MB, free: 10.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.1223, allocations: 11.89 kB / 491.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002975/0.1226, allocations: 92.16 kB / 491.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.1231, allocations: 407 kB / 491.5 MB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.878e-05/0.1232, allocations: 74.69 kB / 491.6 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.1233, allocations: 71.97 kB / 491.7 MB, free: 9.578 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.1249, allocations: 1.101 MB / 492.8 MB, free: 8.406 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.1249, allocations: 3.938 kB / 492.8 MB, free: 8.402 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.004e-05/0.125, allocations: 31.98 kB / 492.8 MB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-05/0.1251, allocations: 48.91 kB / 492.9 MB, free: 8.324 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.1263, allocations: 0.7259 MB / 493.6 MB, free: 7.598 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003078/0.1294, allocations: 2.978 MB / 496.6 MB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.1307, allocations: 1.268 MB / 497.8 MB, free: 3.191 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001075/0.1318, allocations: 1.171 MB / 499 MB, free: 2.016 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.067e-05/0.1319, allocations: 81.34 kB / 499.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001135/0.1331, allocations: 0.7594 MB / 499.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.033e-06/0.1331, allocations: 0 / 499.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.003051/0.1361, allocations: 2.11 MB / 0.4902 GB, free: 14.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002873/0.1364, allocations: 0.5402 MB / 0.4907 GB, free: 14.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/0.1369, allocations: 384 kB / 0.4911 GB, free: 13.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.732e-05/0.1369, allocations: 65.69 kB / 0.4912 GB, free: 13.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.1371, allocations: 236.6 kB / 0.4914 GB, free: 13.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.1373, allocations: 185.8 kB / 0.4916 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.1375, allocations: 202.5 kB / 0.4917 GB, free: 13.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1377, allocations: 370.8 kB / 0.4921 GB, free: 12.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004719/0.1382, allocations: 298.1 kB / 0.4924 GB, free: 12.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006955/0.1389, allocations: 0.6448 MB / 0.493 GB, free: 11.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002286/0.1412, allocations: 2.028 MB / 0.495 GB, free: 9.445 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-05/0.1412, allocations: 4 kB / 0.495 GB, free: 9.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002026/0.1432, allocations: 1.455 MB / 0.4964 GB, free: 7.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002083/0.1434, allocations: 317 kB / 0.4967 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.1435, allocations: 12.84 kB / 0.4967 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.493e-05/0.1435, allocations: 16 kB / 0.4967 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.1439, allocations: 119.6 kB / 0.4969 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.5e-05/0.1439, allocations: 23.92 kB / 0.4969 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/0.1443, allocations: 107.3 kB / 0.497 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-05/0.1444, allocations: 52 kB / 0.497 GB, free: 7.223 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: 47 * 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,P1.enableIn.arcWeight[1],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.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 (123): * Single equations (assignments): 113 * 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.0009563/0.1454, allocations: 0.6982 MB / 0.4977 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.1455, allocations: 71.42 kB / 0.4978 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.1479, allocations: 1.594 MB / 0.4993 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.1479, allocations: 7.938 kB / 0.4994 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1479, allocations: 4 kB / 0.4994 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.1479, allocations: 4 kB / 0.4994 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003355/0.1513, allocations: 2.53 MB / 0.5018 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1513, allocations: 0 / 0.5018 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.1515, allocations: 27.86 kB / 0.5019 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.1515, allocations: 4 kB / 0.5019 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.448e-05/0.1515, allocations: 31.98 kB / 0.5019 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.1516, allocations: 4 kB / 0.5019 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1516, allocations: 4 kB / 0.5019 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.267/0.4185, allocations: 1.997 MB / 0.5039 GB, free: 34.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.4188, allocations: 131.4 kB / 0.504 GB, free: 34.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004557/0.4192, allocations: 67.38 kB / 0.504 GB, free: 34.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/0.4197, allocations: 50.78 kB / 0.5041 GB, free: 34.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002547/0.42, allocations: 84.22 kB / 0.5042 GB, free: 34.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.4201, allocations: 43.31 kB / 0.5042 GB, free: 34.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003034/0.4204, allocations: 227.7 kB / 0.5044 GB, free: 34.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4204, allocations: 0 / 0.5044 GB, free: 34.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001283/0.4217, allocations: 303.7 kB / 0.5047 GB, free: 34.61 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.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.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 (35): * Single equations (assignments): 23 * 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.0008639/0.4226, allocations: 369.8 kB / 0.5051 GB, free: 34.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002413/0.425, allocations: 1.71 MB / 0.5067 GB, free: 33.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.425, allocations: 0.5625 kB / 0.5067 GB, free: 33.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002086/0.4271, allocations: 2.718 MB / 0.5094 GB, free: 32.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000618/0.4277, allocations: 104.3 kB / 0.5095 GB, free: 32.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/0.4304, allocations: 1.452 MB / 0.5109 GB, free: 31.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.4308, allocations: 0.8908 MB / 0.5118 GB, free: 30.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.4309, allocations: 47.38 kB / 0.5118 GB, free: 30.99 MB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.431, allocations: 0 / 0.5118 GB, free: 30.99 MB / 382.1 MB Notification: Performance of Templates: time 0.01998/0.4509, allocations: 10.52 MB / 0.5221 GB, free: 28.05 MB / 382.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TDtoPD.makefile (rm -f PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPD.sim & ./PNlib_PNlib.Examples.DisTest.TDtoPD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TDtoPD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches