Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TTtoPD.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.TTtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTtoPD") translateModel(PNlib.Examples.DisTest.TTtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTtoPD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 103.7 kB / 16.35 MB, free: 5.824 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.001209/0.001209, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07477/0.07477, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.34 kB / 373 MB, free: 49.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08989/0.0912, allocations: 53.47 MB / 426.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.002573/0.09381, allocations: 1.846 MB / 428.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002554/0.09638, allocations: 1.964 MB / 430.3 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.09657, allocations: 7.938 kB / 430.3 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.09686, allocations: 107.2 kB / 430.4 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.09717, allocations: 111 kB / 430.5 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.09862, allocations: 0.92 MB / 431.5 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009715/0.0996, allocations: 1.42 MB / 432.9 MB, free: 5.461 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.09982, allocations: 143.7 kB / 433 MB, free: 5.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003699/0.1002, allocations: 0.5221 MB / 433.5 MB, free: 4.797 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003369/0.1005, allocations: 314.4 kB / 433.8 MB, free: 4.488 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.14e-05/0.1006, allocations: 75.94 kB / 433.9 MB, free: 4.414 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005293/0.1012, allocations: 499.4 kB / 434.4 MB, free: 3.926 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.1013, allocations: 135.5 kB / 434.5 MB, free: 3.793 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002596/0.1016, allocations: 334.5 kB / 434.9 MB, free: 3.465 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007841/0.1024, allocations: 1.04 MB / 435.9 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1024, allocations: 0 / 435.9 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1024, allocations: 0 / 435.9 MB, free: 2.422 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1024, allocations: 0 / 435.9 MB, free: 2.422 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.00125/0.1037, allocations: 1.2 MB / 437.1 MB, free: 1.113 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1037, allocations: 11.89 kB / 437.1 MB, free: 1.102 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002855/0.104, allocations: 88.17 kB / 437.2 MB, free: 1.016 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.1045, allocations: 412 kB / 437.6 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.75e-05/0.1046, allocations: 70.69 kB / 437.7 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.871e-05/0.1047, allocations: 64 kB / 437.7 MB, free: 440 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.1063, allocations: 1.094 MB / 438.8 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.1063, allocations: 8 kB / 438.8 MB, free: 15.26 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.178e-05/0.1064, allocations: 28 kB / 438.9 MB, free: 15.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.931e-05/0.1065, allocations: 48.95 kB / 438.9 MB, free: 15.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.1077, allocations: 0.7142 MB / 439.6 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00324/0.1109, allocations: 2.978 MB / 442.6 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.1123, allocations: 1.255 MB / 443.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.1134, allocations: 1.158 MB / 445 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.672e-05/0.1135, allocations: 93.08 kB / 445.1 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/0.1146, allocations: 0.7571 MB / 445.9 MB, free: 8.008 MB / 318.1 MB Notification: Performance of pre-optimization done (n=71): time 1.964e-06/0.1147, allocations: 4 kB / 445.9 MB, free: 8.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=71): time 0.003178/0.1179, allocations: 2.099 MB / 448 MB, free: 5.855 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003125/0.1182, allocations: 0.5403 MB / 448.5 MB, free: 5.207 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/0.1186, allocations: 376.1 kB / 448.9 MB, free: 4.828 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-05/0.1186, allocations: 65.7 kB / 448.9 MB, free: 4.758 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.1188, allocations: 240.6 kB / 449.2 MB, free: 4.516 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.119, allocations: 173.9 kB / 449.3 MB, free: 4.344 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.1192, allocations: 198.5 kB / 449.5 MB, free: 4.141 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1194, allocations: 374.8 kB / 449.9 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004562/0.1198, allocations: 294.1 kB / 450.2 MB, free: 3.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006941/0.1205, allocations: 0.6236 MB / 450.8 MB, free: 2.711 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/0.1226, allocations: 1.998 MB / 452.8 MB, free: 424 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/0.1227, allocations: 4 kB / 452.8 MB, free: 420 kB / 318.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00186/0.1245, allocations: 1.431 MB / 454.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001804/0.1247, allocations: 317 kB / 454.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.1248, allocations: 8.812 kB / 454.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.921e-05/0.1248, allocations: 16 kB / 454.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.1251, allocations: 119.6 kB / 454.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.141e-05/0.1252, allocations: 19.92 kB / 454.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/0.1256, allocations: 103.1 kB / 454.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.436e-05/0.1256, allocations: 44 kB / 454.9 MB, free: 14.23 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 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: 45 * Number of states: 0 () * Number of discrete variables: 115 ($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,P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.firingTime,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,$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 (118): * Single equations (assignments): 108 * 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.0007565/0.1264, allocations: 0.697 MB / 455.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.1265, allocations: 67.44 kB / 455.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/0.1289, allocations: 1.597 MB / 457.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.1289, allocations: 15.91 kB / 457.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1289, allocations: 0 / 457.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1289, allocations: 0 / 457.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003062/0.132, allocations: 2.311 MB / 459.5 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.132, allocations: 7.922 kB / 459.6 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.1321, allocations: 19.98 kB / 459.6 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.1322, allocations: 7.938 kB / 459.6 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.408e-05/0.1322, allocations: 31.98 kB / 459.6 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.1323, allocations: 4 kB / 459.6 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.1323, allocations: 3.938 kB / 459.6 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/0.1349, allocations: 1.998 MB / 461.6 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.813e-05/0.135, allocations: 128.4 kB / 461.7 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.1352, allocations: 67.98 kB / 461.8 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003608/0.1356, allocations: 51.95 kB / 461.9 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.1358, allocations: 83.92 kB / 461.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.498e-05/0.1359, allocations: 47.97 kB / 462 MB, free: 6.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002176/0.1361, allocations: 227 kB / 462.2 MB, free: 6.602 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1361, allocations: 3.938 kB / 462.2 MB, free: 6.598 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009389/0.137, allocations: 299.7 kB / 462.5 MB, free: 6.305 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: 64 ($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,$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.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.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 47 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,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 (33): * Single equations (assignments): 21 * 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.0006872/0.1377, allocations: 372.9 kB / 462.9 MB, free: 5.949 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002207/0.14, allocations: 1.694 MB / 464.6 MB, free: 4.133 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.14, allocations: 3.938 kB / 464.6 MB, free: 4.129 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0023/0.1423, allocations: 2.706 MB / 467.3 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006357/0.1429, allocations: 96.31 kB / 467.4 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.1451, allocations: 1.335 MB / 468.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/0.1456, allocations: 0.8954 MB / 469.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002921/0.1459, allocations: 124.8 kB / 469.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.432e-05/0.146, allocations: 39.44 kB / 469.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.146, allocations: 4 kB / 469.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of Templates: time 0.01699/0.163, allocations: 10.9 MB / 480.7 MB, free: 3.84 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TTtoPD.makefile (rm -f PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TTtoPD.sim & ./PNlib_PNlib.Examples.DisTest.TTtoPD -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TTtoPD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches