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.01025/0.01025, allocations: 101.4 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.002361/0.002361, allocations: 187.7 kB / 16.67 MB, free: 5.961 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1855/0.1855, allocations: 16.77 MB / 307.3 MB, free: 14.89 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001442, allocations: 66.17 kB / 426.4 MB, free: 37.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1108, allocations: 53.47 MB / 479.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.002922/0.1138, allocations: 1.86 MB / 481.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003626/0.1174, allocations: 1.913 MB / 483.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003679/0.1178, allocations: 9.344 kB / 483.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003971/0.1182, allocations: 109.4 kB / 483.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003797/0.1187, allocations: 118.7 kB / 483.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.1204, allocations: 0.9002 MB / 484.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.1216, allocations: 1.42 MB / 486.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.1219, allocations: 139.5 kB / 486.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000479/0.1224, allocations: 0.5254 MB / 486.8 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004406/0.1228, allocations: 313.6 kB / 487.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.1229, allocations: 75.34 kB / 487.2 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008147/0.1238, allocations: 499.7 kB / 487.7 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.124, allocations: 131.5 kB / 487.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002969/0.1243, allocations: 342.4 kB / 488.2 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.1254, allocations: 1.036 MB / 489.2 MB, free: 3.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1254, allocations: 3.938 kB / 489.2 MB, free: 3.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1254, allocations: 0 / 489.2 MB, free: 3.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1254, 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.001341/0.1267, allocations: 1.218 MB / 490.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1268, allocations: 11.89 kB / 490.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002972/0.1271, allocations: 84.17 kB / 490.5 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.1276, allocations: 411 kB / 490.9 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-05/0.1276, allocations: 74.7 kB / 491 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.533e-05/0.1277, allocations: 67.98 kB / 491 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.129, allocations: 1.101 MB / 492.1 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.129, allocations: 0 / 492.1 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.804e-05/0.1291, allocations: 39.98 kB / 492.2 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.884e-05/0.1292, allocations: 48.95 kB / 492.2 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.1304, allocations: 0.718 MB / 493 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003445/0.1338, allocations: 2.978 MB / 495.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.1353, allocations: 1.279 MB / 497.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.1365, allocations: 1.163 MB / 498.4 MB, free: 9.797 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.104e-05/0.1366, allocations: 85.33 kB / 498.5 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/0.1378, allocations: 0.7555 MB / 499.2 MB, free: 8.902 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.074e-06/0.1378, allocations: 0 / 499.2 MB, free: 8.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.003267/0.1411, allocations: 2.106 MB / 0.4896 GB, free: 6.742 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003831/0.1415, allocations: 0.5403 MB / 0.4901 GB, free: 6.098 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004761/0.142, allocations: 384 kB / 0.4905 GB, free: 5.719 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.922e-05/0.142, allocations: 61.69 kB / 0.4905 GB, free: 5.652 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.1422, allocations: 240.6 kB / 0.4907 GB, free: 5.414 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.1424, allocations: 189.8 kB / 0.4909 GB, free: 5.227 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/0.1426, allocations: 198.5 kB / 0.4911 GB, free: 5.027 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1428, allocations: 374.8 kB / 0.4915 GB, free: 4.652 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/0.1432, allocations: 294.2 kB / 0.4918 GB, free: 4.359 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006993/0.1439, allocations: 0.6525 MB / 0.4924 GB, free: 3.559 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002365/0.1463, allocations: 2.028 MB / 0.4944 GB, free: 1.223 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.1463, allocations: 4 kB / 0.4944 GB, free: 1.219 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002032/0.1484, allocations: 1.456 MB / 0.4958 GB, free: 15.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001824/0.1486, allocations: 314.2 kB / 0.4961 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.1486, allocations: 12 kB / 0.4961 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/0.1486, allocations: 16 kB / 0.4961 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.149, allocations: 119.6 kB / 0.4962 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.279e-05/0.149, allocations: 19.94 kB / 0.4963 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/0.1494, allocations: 107.4 kB / 0.4964 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-05/0.1495, allocations: 56 kB / 0.4964 GB, free: 15 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.0008511/0.1503, allocations: 0.6998 MB / 0.4971 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.1505, allocations: 71.38 kB / 0.4972 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/0.1528, allocations: 1.586 MB / 0.4987 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.1528, allocations: 11.94 kB / 0.4987 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.1528, allocations: 4 kB / 0.4987 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.1528, allocations: 3.984 kB / 0.4987 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003473/0.1563, allocations: 2.519 MB / 0.5012 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1563, allocations: 8 kB / 0.5012 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.1565, allocations: 31.86 kB / 0.5012 GB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.361e-06/0.1565, allocations: 0 / 0.5012 GB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.932e-05/0.1566, allocations: 39.97 kB / 0.5013 GB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.1566, allocations: 7.938 kB / 0.5013 GB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.1566, allocations: 3.984 kB / 0.5013 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002703/0.1593, allocations: 2 MB / 0.5032 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.639e-05/0.1594, allocations: 132.3 kB / 0.5034 GB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.1595, allocations: 67.98 kB / 0.5034 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/0.1599, allocations: 51.95 kB / 0.5035 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.1601, allocations: 83.91 kB / 0.5036 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.858e-05/0.1602, allocations: 39.98 kB / 0.5036 GB, free: 7.363 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002219/0.1604, allocations: 227 kB / 0.5038 GB, free: 7.145 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1604, allocations: 4 kB / 0.5038 GB, free: 7.141 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001007/0.1614, allocations: 307.7 kB / 0.5041 GB, free: 6.84 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.0006955/0.1622, allocations: 366.2 kB / 0.5045 GB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002163/0.1643, allocations: 1.707 MB / 0.5061 GB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1643, allocations: 0 / 0.5061 GB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002413/0.1668, allocations: 2.71 MB / 0.5088 GB, free: 1.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006068/0.1674, allocations: 107.6 kB / 0.5089 GB, free: 1.746 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.1699, allocations: 1.418 MB / 0.5103 GB, free: 304 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.1703, allocations: 0.904 MB / 0.5111 GB, free: 15.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002894/0.1706, allocations: 128.6 kB / 0.5113 GB, free: 15.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.51e-05/0.1707, allocations: 35.44 kB / 0.5113 GB, free: 15.2 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1707, allocations: 0 / 0.5113 GB, free: 15.2 MB / 398.1 MB Notification: Performance of Templates: time 0.01813/0.1889, allocations: 11.37 MB / 0.5224 GB, free: 3.785 MB / 398.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches