Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEnoInput.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.TEnoInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TEnoInput") translateModel(PNlib.Examples.DisTest.TEnoInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TEnoInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008611/0.008611, allocations: 100.7 kB / 15.73 MB, free: 6.027 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.001948/0.001948, allocations: 187 kB / 16.67 MB, free: 5.969 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1958/0.1958, allocations: 16.76 MB / 307.3 MB, free: 14.79 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 64.95 kB / 426.4 MB, free: 37.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1075, allocations: 53.48 MB / 479.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.002735/0.1103, allocations: 1.856 MB / 481.7 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002921/0.1132, allocations: 1.958 MB / 483.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002641/0.1135, allocations: 10.81 kB / 483.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004817/0.114, allocations: 119.6 kB / 483.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.1143, allocations: 108.8 kB / 483.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.1158, allocations: 0.9141 MB / 484.8 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.1168, allocations: 1.432 MB / 486.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.117, allocations: 141.7 kB / 486.4 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003818/0.1174, allocations: 0.5312 MB / 486.9 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003151/0.1178, allocations: 310.7 kB / 487.2 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.171e-05/0.1179, allocations: 76.34 kB / 487.3 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005103/0.1184, allocations: 0.5228 MB / 487.8 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.1185, allocations: 143.4 kB / 487.9 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.1187, allocations: 350.4 kB / 488.3 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000731/0.1195, allocations: 1.071 MB / 489.4 MB, free: 3.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1195, allocations: 0 / 489.4 MB, free: 3.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1195, allocations: 4 kB / 489.4 MB, free: 3.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1195, allocations: 0 / 489.4 MB, free: 3.137 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.00115/0.1207, allocations: 1.245 MB / 490.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.1207, allocations: 11.89 kB / 490.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002486/0.121, allocations: 88.17 kB / 490.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004247/0.1214, allocations: 418.8 kB / 491.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.046e-05/0.1215, allocations: 70.7 kB / 491.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.992e-05/0.1216, allocations: 71.97 kB / 491.3 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.1229, allocations: 1.148 MB / 492.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.1229, allocations: 0 / 492.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.945e-05/0.123, allocations: 36 kB / 492.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.539e-05/0.1231, allocations: 48.95 kB / 492.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.1243, allocations: 0.7571 MB / 493.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00321/0.1275, allocations: 3.033 MB / 496.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.1289, allocations: 1.291 MB / 497.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.13, allocations: 1.202 MB / 498.8 MB, free: 9.336 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.515e-05/0.1301, allocations: 85.11 kB / 498.9 MB, free: 9.234 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001147/0.1313, allocations: 0.8209 MB / 499.7 MB, free: 8.363 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.334e-06/0.1313, allocations: 0 / 499.7 MB, free: 8.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.003185/0.1345, allocations: 2.27 MB / 0.4902 GB, free: 6.039 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003249/0.1348, allocations: 0.6117 MB / 0.4908 GB, free: 5.305 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.1352, allocations: 384.1 kB / 0.4911 GB, free: 4.922 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.037e-05/0.1353, allocations: 69.62 kB / 0.4912 GB, free: 4.848 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.1355, allocations: 244.5 kB / 0.4914 GB, free: 4.602 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.1356, allocations: 197.6 kB / 0.4916 GB, free: 4.406 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/0.1359, allocations: 214.5 kB / 0.4918 GB, free: 4.191 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.136, allocations: 374.8 kB / 0.4922 GB, free: 3.816 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000505/0.1366, allocations: 322.1 kB / 0.4925 GB, free: 3.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007457/0.1373, allocations: 0.6864 MB / 0.4932 GB, free: 2.652 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002301/0.1396, allocations: 2.127 MB / 0.4952 GB, free: 204 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.1396, allocations: 4 kB / 0.4953 GB, free: 200 kB / 366.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002019/0.1417, allocations: 1.554 MB / 0.4968 GB, free: 14.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001866/0.1419, allocations: 338.7 kB / 0.4971 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.1419, allocations: 12 kB / 0.4971 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.1419, allocations: 19.94 kB / 0.4971 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.1423, allocations: 119.7 kB / 0.4972 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.373e-05/0.1423, allocations: 19.94 kB / 0.4973 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/0.1427, allocations: 111.4 kB / 0.4974 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.83e-05/0.1428, allocations: 59.98 kB / 0.4974 GB, free: 13.83 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 T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T2.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 T2.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: 49 * Number of states: 0 () * Number of discrete variables: 121 ($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,$whenCondition8,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition6,$whenCondition7,T2.eventIndex,$PRE.T2.eventIndex,$whenCondition3,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,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T2.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T2.enabledByInPlaces,P1.enableIn.arcWeight[1],T2.activation.disPlaceOut[1],T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.tIntOut[1],T2.eventPassed,$PRE.T2.eventPassed,T2.firingTime,T2.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,$whenCondition4,$whenCondition5,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 11 * 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.0008424/0.1437, allocations: 0.7423 MB / 0.4981 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.1438, allocations: 71.44 kB / 0.4982 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/0.1463, allocations: 1.718 MB / 0.4999 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.1463, allocations: 7.938 kB / 0.4999 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1463, allocations: 0 / 0.4999 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1463, allocations: 3.984 kB / 0.4999 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003607/0.1499, allocations: 2.66 MB / 0.5025 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.1499, allocations: 11.92 kB / 0.5025 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.1501, allocations: 27.92 kB / 0.5025 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.1501, allocations: 4 kB / 0.5025 GB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.191e-05/0.1502, allocations: 39.97 kB / 0.5026 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1502, allocations: 0 / 0.5026 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1502, allocations: 0 / 0.5026 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/0.153, allocations: 2.138 MB / 0.5047 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.1531, allocations: 136.2 kB / 0.5048 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.1532, allocations: 71.98 kB / 0.5049 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/0.1536, allocations: 51.95 kB / 0.5049 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.1538, allocations: 83.86 kB / 0.505 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.914e-05/0.1539, allocations: 51.97 kB / 0.505 GB, free: 5.715 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002284/0.1541, allocations: 227 kB / 0.5053 GB, free: 5.496 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1542, allocations: 7.938 kB / 0.5053 GB, free: 5.488 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001036/0.1552, allocations: 323.7 kB / 0.5056 GB, free: 5.172 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: 68 ($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,T2.active,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,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,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active) * Number of discrete states: 50 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.eventIndex,$whenCondition3,T2.activation.active,T2.eventPassed,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): 23 * Array equations: 1 * Algorithm blocks: 9 * 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.0007241/0.1559, allocations: 380.6 kB / 0.5059 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002274/0.1582, allocations: 1.831 MB / 0.5077 GB, free: 2.848 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.1582, allocations: 0 / 0.5077 GB, free: 2.848 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002364/0.1606, allocations: 2.82 MB / 0.5105 GB, free: 15.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005719/0.1612, allocations: 101.3 kB / 0.5106 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.1637, allocations: 1.49 MB / 0.512 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.1642, allocations: 0.9039 MB / 0.5129 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003857/0.1646, allocations: 141 kB / 0.513 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.1647, allocations: 51.42 kB / 0.5131 GB, free: 13.18 MB / 398.1 MB Notification: Performance of SimCode: time 2.475e-06/0.1647, allocations: 0 / 0.5131 GB, free: 13.18 MB / 398.1 MB Notification: Performance of Templates: time 0.01942/0.1842, allocations: 11.91 MB / 0.5247 GB, free: 1.223 MB / 398.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TEnoInput.makefile (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEnoInput.sim & ./PNlib_PNlib.Examples.DisTest.TEnoInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TEnoInput.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches