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.007969/0.007969, allocations: 101 kB / 15.73 MB, free: 5.996 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.001909/0.001909, allocations: 185.3 kB / 16.67 MB, free: 5.93 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2011/0.2011, allocations: 16.75 MB / 307.3 MB, free: 14.91 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 64.2 kB / 426.4 MB, free: 37.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1215, allocations: 53.47 MB / 479.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.002704/0.1243, allocations: 1.859 MB / 481.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003275/0.1276, allocations: 1.958 MB / 483.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004333/0.128, allocations: 9.531 kB / 483.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005655/0.1286, allocations: 121 kB / 483.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.1289, allocations: 109.4 kB / 483.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.1309, allocations: 0.9189 MB / 484.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.1323, allocations: 1.432 MB / 486.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.1326, allocations: 135.9 kB / 486.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004947/0.1331, allocations: 0.5344 MB / 486.9 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003899/0.1335, allocations: 314.8 kB / 487.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.1337, allocations: 71.44 kB / 487.3 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008336/0.1345, allocations: 0.5209 MB / 487.8 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.1346, allocations: 143.4 kB / 487.9 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002758/0.1349, allocations: 338.4 kB / 488.3 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.136, allocations: 1.086 MB / 489.4 MB, free: 3.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.136, allocations: 0 / 489.4 MB, free: 3.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.136, allocations: 0 / 489.4 MB, free: 3.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.136, allocations: 0 / 489.4 MB, free: 3.227 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.001227/0.1373, allocations: 1.259 MB / 490.6 MB, free: 1.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1373, allocations: 15.89 kB / 490.6 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/0.1376, allocations: 88.5 kB / 490.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004127/0.138, allocations: 419 kB / 491.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.982e-05/0.1381, allocations: 74.7 kB / 491.2 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.309e-05/0.1382, allocations: 67.98 kB / 491.3 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.1396, allocations: 1.144 MB / 492.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.1396, allocations: 7.938 kB / 492.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.639e-05/0.1397, allocations: 31.98 kB / 492.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.664e-05/0.1398, allocations: 56.95 kB / 492.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.141, allocations: 0.7532 MB / 493.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003134/0.1442, allocations: 3.037 MB / 496.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.1455, allocations: 1.291 MB / 497.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.1467, allocations: 1.198 MB / 498.8 MB, free: 9.402 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.867e-05/0.1468, allocations: 93.09 kB / 498.9 MB, free: 9.293 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00119/0.148, allocations: 0.8287 MB / 499.7 MB, free: 8.414 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 1.923e-06/0.148, allocations: 0 / 499.7 MB, free: 8.414 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.003256/0.1513, allocations: 2.257 MB / 0.4902 GB, free: 6.105 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003471/0.1516, allocations: 0.6195 MB / 0.4908 GB, free: 5.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004061/0.152, allocations: 388.2 kB / 0.4912 GB, free: 4.977 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.452e-05/0.1521, allocations: 65.62 kB / 0.4912 GB, free: 4.906 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.1523, allocations: 245.2 kB / 0.4915 GB, free: 4.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.1525, allocations: 214.4 kB / 0.4917 GB, free: 4.449 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.1527, allocations: 210.6 kB / 0.4919 GB, free: 4.238 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1529, allocations: 370.8 kB / 0.4922 GB, free: 3.867 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005017/0.1534, allocations: 330.1 kB / 0.4925 GB, free: 3.543 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007349/0.1542, allocations: 0.6825 MB / 0.4932 GB, free: 2.699 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002407/0.1566, allocations: 2.123 MB / 0.4953 GB, free: 256 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.1566, allocations: 0 / 0.4953 GB, free: 256 kB / 366.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002012/0.1586, allocations: 1.559 MB / 0.4968 GB, free: 14.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001901/0.1588, allocations: 346.7 kB / 0.4971 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.1589, allocations: 8 kB / 0.4971 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.268e-05/0.1589, allocations: 19.94 kB / 0.4972 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/0.1592, allocations: 123.7 kB / 0.4973 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-05/0.1593, allocations: 23.92 kB / 0.4973 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004032/0.1597, allocations: 111.3 kB / 0.4974 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.468e-05/0.1598, allocations: 52.14 kB / 0.4975 GB, free: 13.88 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.0007769/0.1606, allocations: 0.7367 MB / 0.4982 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.1607, allocations: 79.67 kB / 0.4983 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/0.1632, allocations: 1.722 MB / 0.4999 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.1632, allocations: 7.938 kB / 0.4999 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.1632, allocations: 4 kB / 0.4999 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1632, allocations: 0 / 0.4999 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003567/0.1668, allocations: 2.66 MB / 0.5025 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.1668, allocations: 3.938 kB / 0.5025 GB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.1669, allocations: 39.92 kB / 0.5026 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1669, allocations: 0 / 0.5026 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.017e-05/0.167, allocations: 35.98 kB / 0.5026 GB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.167, allocations: 4 kB / 0.5026 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.167, allocations: 0 / 0.5026 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002955/0.17, allocations: 2.134 MB / 0.5047 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.786e-05/0.1701, allocations: 140.5 kB / 0.5048 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.1703, allocations: 71.97 kB / 0.5049 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.1707, allocations: 51.97 kB / 0.505 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002036/0.1709, allocations: 91.84 kB / 0.505 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.509e-05/0.171, allocations: 39.98 kB / 0.5051 GB, free: 5.754 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002405/0.1712, allocations: 239 kB / 0.5053 GB, free: 5.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1712, allocations: 0 / 0.5053 GB, free: 5.523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001103/0.1723, allocations: 319.6 kB / 0.5056 GB, free: 5.211 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.0007468/0.1731, allocations: 392.6 kB / 0.506 GB, free: 4.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002231/0.1753, allocations: 1.824 MB / 0.5078 GB, free: 2.883 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1754, allocations: 0 / 0.5078 GB, free: 2.883 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002612/0.178, allocations: 2.82 MB / 0.5105 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006569/0.1787, allocations: 115.2 kB / 0.5106 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.1815, allocations: 1.519 MB / 0.5121 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/0.182, allocations: 0.9039 MB / 0.513 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003279/0.1824, allocations: 128.5 kB / 0.5131 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.461e-05/0.1825, allocations: 47.42 kB / 0.5132 GB, free: 13.19 MB / 398.1 MB Notification: Performance of SimCode: time 3.908e-06/0.1825, allocations: 4 kB / 0.5132 GB, free: 13.19 MB / 398.1 MB Notification: Performance of Templates: time 0.019/0.2015, allocations: 11.59 MB / 0.5245 GB, free: 1.539 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