Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") translateModel(PNlib.Examples.DisTest.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008719/0.00872, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.002018/0.002018, allocations: 198.4 kB / 16.68 MB, free: 5.938 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07327/0.07327, allocations: 16.73 MB / 307.2 MB, free: 14.22 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 59.91 kB / 426.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1148, allocations: 53.46 MB / 479.8 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.003127/0.118, allocations: 1.862 MB / 481.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003331/0.1213, allocations: 1.909 MB / 483.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.1215, allocations: 11.94 kB / 483.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003252/0.1219, allocations: 111 kB / 483.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003335/0.1222, allocations: 119 kB / 483.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.124, allocations: 0.9054 MB / 484.7 MB, free: 20 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001501/0.1256, allocations: 1.42 MB / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.1258, allocations: 135.8 kB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005636/0.1264, allocations: 0.526 MB / 486.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004167/0.1268, allocations: 314.4 kB / 487.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.66e-05/0.1269, allocations: 68 kB / 487.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007229/0.1277, allocations: 0.4955 MB / 487.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.1278, allocations: 135.4 kB / 487.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003271/0.1282, allocations: 334.5 kB / 488.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.1293, allocations: 1.036 MB / 489.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1293, allocations: 0 / 489.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1294, allocations: 0 / 489.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.1294, allocations: 0 / 489.1 MB, free: 11.56 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.00148/0.1309, allocations: 1.212 MB / 490.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1309, allocations: 15.89 kB / 490.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002892/0.1312, allocations: 88.19 kB / 490.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005475/0.1318, allocations: 403 kB / 490.9 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.565e-05/0.1319, allocations: 78.69 kB / 490.9 MB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.674e-05/0.132, allocations: 67.98 kB / 491 MB, free: 9.555 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.1336, allocations: 1.101 MB / 492.1 MB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.1337, allocations: 0 / 492.1 MB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.9e-05/0.1337, allocations: 39.97 kB / 492.1 MB, free: 8.344 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-05/0.1338, allocations: 44.95 kB / 492.2 MB, free: 8.301 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.1351, allocations: 0.7376 MB / 492.9 MB, free: 7.562 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00349/0.1386, allocations: 2.99 MB / 495.9 MB, free: 4.434 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.1401, allocations: 1.388 MB / 497.3 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.1413, allocations: 1.252 MB / 498.5 MB, free: 1.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.934e-05/0.1414, allocations: 85.11 kB / 498.6 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001205/0.1426, allocations: 0.7824 MB / 499.4 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.084e-06/0.1426, allocations: 0 / 499.4 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.003319/0.1459, allocations: 2.201 MB / 0.4899 GB, free: 14.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003304/0.1463, allocations: 0.5152 MB / 0.4904 GB, free: 13.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004092/0.1467, allocations: 372 kB / 0.4907 GB, free: 13.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.945e-05/0.1468, allocations: 65.7 kB / 0.4908 GB, free: 13.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.147, allocations: 232.7 kB / 0.491 GB, free: 13.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.1471, allocations: 189.7 kB / 0.4912 GB, free: 13.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.1474, allocations: 202.6 kB / 0.4914 GB, free: 12.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1476, allocations: 366.8 kB / 0.4917 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000464/0.148, allocations: 310.1 kB / 0.492 GB, free: 12.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008149/0.1489, allocations: 0.6284 MB / 0.4926 GB, free: 11.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002651/0.1515, allocations: 2.039 MB / 0.4946 GB, free: 9.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/0.1515, allocations: 0 / 0.4946 GB, free: 9.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002103/0.1537, allocations: 1.464 MB / 0.4961 GB, free: 7.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001977/0.1539, allocations: 317 kB / 0.4964 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.1539, allocations: 8 kB / 0.4964 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.901e-05/0.1539, allocations: 16 kB / 0.4964 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/0.1543, allocations: 115.7 kB / 0.4965 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.559e-05/0.1543, allocations: 27.81 kB / 0.4965 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000371/0.1547, allocations: 99.05 kB / 0.4966 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.691e-05/0.1548, allocations: 48 kB / 0.4967 GB, free: 6.922 MB / 382.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer T1.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 118 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009121/0.1557, allocations: 0.6905 MB / 0.4973 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.1558, allocations: 71.44 kB / 0.4974 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/0.1582, allocations: 1.665 MB / 0.499 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.1583, allocations: 4 kB / 0.499 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.1583, allocations: 3.938 kB / 0.499 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.1583, allocations: 3.984 kB / 0.499 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003553/0.1618, allocations: 2.604 MB / 0.5016 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1619, allocations: 0 / 0.5016 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.162, allocations: 31.86 kB / 0.5016 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.162, allocations: 7.938 kB / 0.5016 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.356e-05/0.1621, allocations: 31.98 kB / 0.5016 GB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.1621, allocations: 8 kB / 0.5017 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1621, allocations: 0 / 0.5017 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2357/0.3978, allocations: 2.063 MB / 0.5037 GB, free: 34.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.398, allocations: 127.7 kB / 0.5038 GB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/0.3982, allocations: 69.47 kB / 0.5039 GB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.3986, allocations: 57.2 kB / 0.5039 GB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/0.3988, allocations: 80.33 kB / 0.504 GB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.975e-05/0.3989, allocations: 44.72 kB / 0.504 GB, free: 34.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002558/0.3992, allocations: 224.5 kB / 0.5042 GB, free: 34.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3992, allocations: 0 / 0.5042 GB, free: 34.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001156/0.4004, allocations: 304.5 kB / 0.5045 GB, free: 34.69 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: 67 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.arcWeight[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006624/0.401, allocations: 370.9 kB / 0.5049 GB, free: 34.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002328/0.4034, allocations: 1.734 MB / 0.5066 GB, free: 33.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.4034, allocations: 0 / 0.5066 GB, free: 33.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002234/0.4056, allocations: 2.797 MB / 0.5093 GB, free: 32.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005978/0.4062, allocations: 117.2 kB / 0.5094 GB, free: 32.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.409, allocations: 1.502 MB / 0.5109 GB, free: 31.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.4093, allocations: 0.9005 MB / 0.5118 GB, free: 30.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002983/0.4096, allocations: 125.8 kB / 0.5119 GB, free: 30.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.117e-05/0.4097, allocations: 40.22 kB / 0.5119 GB, free: 30.79 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4097, allocations: 3.906 kB / 0.5119 GB, free: 30.79 MB / 382.1 MB Notification: Performance of Templates: time 0.02231/0.4321, allocations: 11.42 MB / 0.5231 GB, free: 27.24 MB / 382.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.makefile (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.sim & ./PNlib_PNlib.Examples.DisTest.TDtoPDfunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches