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.001177/0.001177, allocations: 106.5 kB / 16.41 MB, free: 6.488 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.001084/0.001084, allocations: 187 kB / 17.34 MB, free: 5.73 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07481/0.07481, allocations: 16.72 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 67.89 kB / 427 MB, free: 10.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09856/0.09978, allocations: 53.48 MB / 480.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.003046/0.1029, allocations: 1.854 MB / 482.3 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003572/0.1065, allocations: 1.96 MB / 484.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003254/0.1068, allocations: 7.938 kB / 484.3 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005713/0.1074, allocations: 119.1 kB / 484.4 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.1078, allocations: 115 kB / 484.5 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.1097, allocations: 0.9083 MB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001655/0.1114, allocations: 1.428 MB / 486.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002679/0.1117, allocations: 139.8 kB / 487 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007532/0.1125, allocations: 0.5377 MB / 487.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005856/0.1131, allocations: 310.4 kB / 487.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001756/0.1132, allocations: 72 kB / 487.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008117/0.1141, allocations: 0.5227 MB / 488.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.1143, allocations: 135.5 kB / 488.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003869/0.1147, allocations: 346.4 kB / 488.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.1161, allocations: 1.079 MB / 490 MB, free: 11.42 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1161, allocations: 0 / 490 MB, free: 11.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1161, allocations: 0 / 490 MB, free: 11.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.44e-05/0.1162, allocations: 0 / 490 MB, free: 11.42 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001891/0.1181, allocations: 1.245 MB / 491.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1181, allocations: 11.89 kB / 491.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003417/0.1185, allocations: 88.19 kB / 491.3 MB, free: 9.965 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005719/0.119, allocations: 418.8 kB / 491.7 MB, free: 9.516 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.1191, allocations: 74.69 kB / 491.8 MB, free: 9.438 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.1193, allocations: 67.98 kB / 491.9 MB, free: 9.371 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/0.1211, allocations: 1.148 MB / 493 MB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.1211, allocations: 11.94 kB / 493 MB, free: 8.141 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.308e-05/0.1212, allocations: 28 kB / 493.1 MB, free: 8.113 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/0.1213, allocations: 60.89 kB / 493.1 MB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.1226, allocations: 0.7494 MB / 493.9 MB, free: 7.305 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003576/0.1262, allocations: 3.029 MB / 496.9 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.1277, allocations: 1.294 MB / 498.2 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/0.1289, allocations: 1.201 MB / 499.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-05/0.129, allocations: 85.09 kB / 499.5 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001257/0.1303, allocations: 0.8286 MB / 0.4886 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 3.065e-06/0.1303, allocations: 4 kB / 0.4886 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.003533/0.1339, allocations: 2.265 MB / 0.4908 GB, free: 14.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003574/0.1342, allocations: 0.6156 MB / 0.4914 GB, free: 13.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004868/0.1347, allocations: 384.1 kB / 0.4918 GB, free: 13.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.1349, allocations: 65.7 kB / 0.4918 GB, free: 13.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.1351, allocations: 240.6 kB / 0.4921 GB, free: 12.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.1353, allocations: 201.6 kB / 0.4923 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000319/0.1356, allocations: 210.5 kB / 0.4925 GB, free: 12.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1358, allocations: 370.8 kB / 0.4928 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000567/0.1364, allocations: 330.1 kB / 0.4931 GB, free: 11.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008151/0.1372, allocations: 0.6786 MB / 0.4938 GB, free: 10.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002554/0.1398, allocations: 2.135 MB / 0.4959 GB, free: 8.477 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.838e-05/0.1398, allocations: 0 / 0.4959 GB, free: 8.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.00231/0.1421, allocations: 1.558 MB / 0.4974 GB, free: 6.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002279/0.1424, allocations: 346.7 kB / 0.4977 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/0.1424, allocations: 8 kB / 0.4977 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.576e-05/0.1425, allocations: 23.94 kB / 0.4978 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/0.1429, allocations: 112.3 kB / 0.4979 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.99e-05/0.1429, allocations: 27.86 kB / 0.4979 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000478/0.1434, allocations: 115 kB / 0.498 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.499e-05/0.1435, allocations: 59.98 kB / 0.4981 GB, free: 6.098 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.00102/0.1445, allocations: 0.7341 MB / 0.4988 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.1447, allocations: 67.44 kB / 0.4988 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002583/0.1473, allocations: 1.718 MB / 0.5005 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/0.1473, allocations: 11.94 kB / 0.5005 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1474, allocations: 0 / 0.5005 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.11e-05/0.1474, allocations: 3.984 kB / 0.5005 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003869/0.1513, allocations: 2.663 MB / 0.5031 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.1513, allocations: 3.938 kB / 0.5031 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.1514, allocations: 23.98 kB / 0.5032 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.1514, allocations: 0 / 0.5032 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.545e-05/0.1515, allocations: 43.97 kB / 0.5032 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.1515, allocations: 4 kB / 0.5032 GB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1516, allocations: 0 / 0.5032 GB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2264/0.3779, allocations: 2.125 MB / 0.5053 GB, free: 34.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.3781, allocations: 133.7 kB / 0.5054 GB, free: 34.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002044/0.3783, allocations: 73.06 kB / 0.5055 GB, free: 34.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.3787, allocations: 53.86 kB / 0.5055 GB, free: 34.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/0.3789, allocations: 84.42 kB / 0.5056 GB, free: 34.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.3791, allocations: 43.92 kB / 0.5057 GB, free: 34.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003136/0.3794, allocations: 236.8 kB / 0.5059 GB, free: 34.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3794, allocations: 0 / 0.5059 GB, free: 34.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001198/0.3806, allocations: 323 kB / 0.5062 GB, free: 34.37 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.0007914/0.3814, allocations: 376.9 kB / 0.5065 GB, free: 34.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002235/0.3836, allocations: 1.831 MB / 0.5083 GB, free: 33.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.3837, allocations: 0 / 0.5083 GB, free: 33.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001954/0.3856, allocations: 2.812 MB / 0.5111 GB, free: 31.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/0.3863, allocations: 114.7 kB / 0.5112 GB, free: 31.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.3888, allocations: 1.528 MB / 0.5127 GB, free: 30.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.3891, allocations: 0.9052 MB / 0.5136 GB, free: 30.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.3893, allocations: 50.38 kB / 0.5136 GB, free: 30.11 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3893, allocations: 0 / 0.5136 GB, free: 30.11 MB / 382.1 MB Notification: Performance of Templates: time 0.01925/0.4086, allocations: 10.98 MB / 0.5243 GB, free: 26.77 MB / 382.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches