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.001276/0.001276, allocations: 104.6 kB / 16.35 MB, free: 5.887 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.001299/0.001299, allocations: 192.3 kB / 17.29 MB, free: 5.527 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.08556/0.08556, allocations: 16.74 MB / 307.9 MB, free: 14.26 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 58.92 kB / 373 MB, free: 48.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09858/0.09993, allocations: 53.48 MB / 426.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.002744/0.1027, allocations: 1.853 MB / 428.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002725/0.1055, allocations: 1.959 MB / 430.3 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.1057, allocations: 4 kB / 430.3 MB, free: 7.926 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004863/0.1062, allocations: 123 kB / 430.4 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.1065, allocations: 115.1 kB / 430.6 MB, free: 7.691 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.1079, allocations: 0.9083 MB / 431.5 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009446/0.1089, allocations: 1.435 MB / 432.9 MB, free: 5.344 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.1091, allocations: 143.7 kB / 433 MB, free: 5.203 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003413/0.1094, allocations: 0.5298 MB / 433.6 MB, free: 4.672 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.1098, allocations: 310.4 kB / 433.9 MB, free: 4.367 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.637e-05/0.1098, allocations: 75.94 kB / 433.9 MB, free: 4.293 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005264/0.1104, allocations: 0.5189 MB / 434.5 MB, free: 3.773 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.1105, allocations: 139.5 kB / 434.6 MB, free: 3.637 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002426/0.1107, allocations: 338.5 kB / 434.9 MB, free: 3.305 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007348/0.1115, allocations: 1.067 MB / 436 MB, free: 2.234 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1115, allocations: 4 kB / 436 MB, free: 2.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1115, allocations: 0 / 436 MB, free: 2.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1115, allocations: 0 / 436 MB, free: 2.23 MB / 302.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.001143/0.1127, allocations: 1.252 MB / 437.3 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.1127, allocations: 11.89 kB / 437.3 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002509/0.113, allocations: 88.17 kB / 437.4 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000437/0.1134, allocations: 406.9 kB / 437.8 MB, free: 336 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.552e-05/0.1135, allocations: 78.67 kB / 437.8 MB, free: 248 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.239e-05/0.1136, allocations: 75.92 kB / 437.9 MB, free: 172 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.1152, allocations: 1.148 MB / 439.1 MB, free: 14.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.1152, allocations: 3.938 kB / 439.1 MB, free: 14.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.58e-05/0.1153, allocations: 28 kB / 439.1 MB, free: 14.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.48e-05/0.1154, allocations: 56.94 kB / 439.1 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.1166, allocations: 0.761 MB / 439.9 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003244/0.1198, allocations: 3.029 MB / 442.9 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.1212, allocations: 1.294 MB / 444.2 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.1223, allocations: 1.194 MB / 445.4 MB, free: 8.418 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.066e-05/0.1224, allocations: 85.11 kB / 445.5 MB, free: 8.316 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/0.1236, allocations: 0.8286 MB / 446.3 MB, free: 7.441 MB / 318.1 MB Notification: Performance of pre-optimization done (n=79): time 2.274e-06/0.1237, allocations: 0 / 446.3 MB, free: 7.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=79): time 0.003326/0.127, allocations: 2.265 MB / 448.6 MB, free: 5.125 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003522/0.1274, allocations: 0.6195 MB / 449.2 MB, free: 4.383 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004411/0.1278, allocations: 384.1 kB / 449.6 MB, free: 3.996 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.954e-05/0.1279, allocations: 65.69 kB / 449.7 MB, free: 3.926 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.1281, allocations: 244.5 kB / 449.9 MB, free: 3.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.1282, allocations: 197.6 kB / 450.1 MB, free: 3.484 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.1285, allocations: 214.5 kB / 450.3 MB, free: 3.266 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1287, allocations: 370.8 kB / 450.7 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004837/0.1291, allocations: 318.1 kB / 451 MB, free: 2.586 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007291/0.1299, allocations: 0.6942 MB / 451.7 MB, free: 1.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002338/0.1322, allocations: 2.123 MB / 453.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.1323, allocations: 4 kB / 453.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002016/0.1343, allocations: 1.559 MB / 455.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001895/0.1345, allocations: 338.7 kB / 455.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.1345, allocations: 12 kB / 455.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/0.1345, allocations: 19.94 kB / 455.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.1349, allocations: 119.7 kB / 455.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-05/0.1349, allocations: 31.84 kB / 455.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000393/0.1353, allocations: 111.1 kB / 456 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.57e-05/0.1354, allocations: 52 kB / 456 MB, free: 12.91 MB / 334.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.0008607/0.1363, allocations: 0.7414 MB / 456.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.1365, allocations: 79.44 kB / 456.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/0.1389, allocations: 1.71 MB / 458.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/0.1389, allocations: 15.92 kB / 458.6 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.139, allocations: 0 / 458.6 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.139, allocations: 0 / 458.6 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003526/0.1425, allocations: 2.663 MB / 461.2 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.1425, allocations: 3.938 kB / 461.2 MB, free: 7.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.1426, allocations: 27.98 kB / 461.3 MB, free: 7.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/0.1426, allocations: 4 kB / 461.3 MB, free: 7.453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.418e-05/0.1427, allocations: 39.97 kB / 461.3 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1427, allocations: 0 / 461.3 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1428, allocations: 3.938 kB / 461.3 MB, free: 7.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/0.1455, allocations: 2.134 MB / 463.4 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.205e-05/0.1456, allocations: 124.4 kB / 463.6 MB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.1458, allocations: 75.98 kB / 463.6 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.1461, allocations: 51.95 kB / 463.7 MB, free: 4.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.1463, allocations: 87.84 kB / 463.8 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-05/0.1464, allocations: 43.98 kB / 463.8 MB, free: 4.801 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002153/0.1467, allocations: 227 kB / 464 MB, free: 4.582 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1467, allocations: 0 / 464 MB, free: 4.582 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009734/0.1476, allocations: 323.7 kB / 464.3 MB, free: 4.266 MB / 334.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.0006767/0.1483, allocations: 393.7 kB / 464.7 MB, free: 3.887 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00216/0.1505, allocations: 1.829 MB / 466.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.1505, allocations: 0 / 466.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002248/0.1528, allocations: 2.82 MB / 469.4 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005673/0.1534, allocations: 106.8 kB / 469.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.1559, allocations: 1.499 MB / 471 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.1564, allocations: 0.9075 MB / 471.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003341/0.1567, allocations: 137 kB / 472 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.582e-05/0.1568, allocations: 47.42 kB / 472.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1568, allocations: 4 kB / 472.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of Templates: time 0.01834/0.1752, allocations: 11.51 MB / 483.6 MB, free: 0.6992 MB / 350.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches