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.001228/0.001228, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001325/0.001325, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07567/0.07567, allocations: 16.73 MB / 307.9 MB, free: 14.25 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 60.39 kB / 373 MB, free: 48.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1138, allocations: 53.48 MB / 426.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.002944/0.1168, allocations: 1.862 MB / 428.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003002/0.1198, allocations: 1.952 MB / 430.3 MB, free: 7.918 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000254/0.1201, allocations: 7.938 kB / 430.3 MB, free: 7.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.1204, allocations: 111.1 kB / 430.4 MB, free: 7.801 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.1208, allocations: 115.1 kB / 430.6 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.1224, allocations: 0.9044 MB / 431.5 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009582/0.1234, allocations: 1.42 MB / 432.9 MB, free: 5.359 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.1236, allocations: 143.7 kB / 433 MB, free: 5.219 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003734/0.124, allocations: 0.5182 MB / 433.5 MB, free: 4.699 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003402/0.1243, allocations: 314.4 kB / 433.8 MB, free: 4.391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.252e-05/0.1244, allocations: 72 kB / 433.9 MB, free: 4.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005856/0.125, allocations: 0.4915 MB / 434.4 MB, free: 3.828 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.1252, allocations: 127.5 kB / 434.5 MB, free: 3.703 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002629/0.1254, allocations: 338.5 kB / 434.9 MB, free: 3.371 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007919/0.1262, allocations: 1.036 MB / 435.9 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1262, allocations: 0 / 435.9 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1263, allocations: 0 / 435.9 MB, free: 2.332 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1263, allocations: 0 / 435.9 MB, free: 2.332 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.001264/0.1275, allocations: 1.208 MB / 437.1 MB, free: 1.016 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.1276, allocations: 11.89 kB / 437.1 MB, free: 1.004 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002685/0.1279, allocations: 84.17 kB / 437.2 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004467/0.1283, allocations: 404.1 kB / 437.6 MB, free: 496 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.918e-05/0.1284, allocations: 78.69 kB / 437.7 MB, free: 408 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.332e-05/0.1285, allocations: 67.98 kB / 437.7 MB, free: 340 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.13, allocations: 1.089 MB / 438.8 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.1301, allocations: 4 kB / 438.8 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-05/0.1302, allocations: 39.95 kB / 438.9 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-05/0.1303, allocations: 48.97 kB / 438.9 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.1315, allocations: 0.7142 MB / 439.6 MB, free: 14.37 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003277/0.1347, allocations: 2.982 MB / 442.6 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.1361, allocations: 1.251 MB / 443.9 MB, free: 9.973 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.1372, allocations: 1.166 MB / 445 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-05/0.1373, allocations: 85.11 kB / 445.1 MB, free: 8.699 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001159/0.1385, allocations: 0.7649 MB / 445.9 MB, free: 7.898 MB / 318.1 MB Notification: Performance of pre-optimization done (n=71): time 2.175e-06/0.1385, allocations: 0 / 445.9 MB, free: 7.898 MB / 318.1 MB Notification: Performance of matching and sorting (n=71): time 0.003154/0.1417, allocations: 2.099 MB / 448 MB, free: 5.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002977/0.142, allocations: 0.5403 MB / 448.5 MB, free: 5.102 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004214/0.1424, allocations: 380.1 kB / 448.9 MB, free: 4.719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-05/0.1425, allocations: 65.69 kB / 449 MB, free: 4.648 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.1427, allocations: 232.7 kB / 449.2 MB, free: 4.414 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.1429, allocations: 181.9 kB / 449.4 MB, free: 4.234 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002416/0.1431, allocations: 198.5 kB / 449.6 MB, free: 4.031 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1433, allocations: 362.8 kB / 449.9 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004673/0.1438, allocations: 306.1 kB / 450.2 MB, free: 3.371 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006933/0.1445, allocations: 0.6197 MB / 450.8 MB, free: 2.605 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002203/0.1467, allocations: 1.986 MB / 452.8 MB, free: 328 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/0.1467, allocations: 4 kB / 452.8 MB, free: 324 kB / 318.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002004/0.1487, allocations: 1.442 MB / 454.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001997/0.1489, allocations: 323.8 kB / 454.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.1489, allocations: 8 kB / 454.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.979e-05/0.149, allocations: 16.14 kB / 454.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.1493, allocations: 104.4 kB / 454.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.338e-05/0.1494, allocations: 23.92 kB / 454.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003943/0.1498, allocations: 107.1 kB / 454.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.59e-05/0.1499, allocations: 48 kB / 454.9 MB, free: 14.12 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.0009981/0.1509, allocations: 0.7068 MB / 455.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.151, allocations: 71.42 kB / 455.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/0.1534, allocations: 1.59 MB / 457.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.1534, allocations: 7.938 kB / 457.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.1534, allocations: 4 kB / 457.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1534, allocations: 0 / 457.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003194/0.1566, allocations: 2.319 MB / 459.6 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.1566, allocations: 4 kB / 459.6 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.1568, allocations: 23.92 kB / 459.6 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.1568, allocations: 3.938 kB / 459.6 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.448e-05/0.1569, allocations: 35.98 kB / 459.6 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.1569, allocations: 4 kB / 459.6 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.1569, allocations: 3.984 kB / 459.6 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002776/0.1597, allocations: 1.991 MB / 461.6 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.884e-05/0.1598, allocations: 128.5 kB / 461.8 MB, free: 6.961 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/0.16, allocations: 67.97 kB / 461.8 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003426/0.1604, allocations: 47.97 kB / 461.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.1606, allocations: 87.91 kB / 462 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-05/0.1607, allocations: 39.98 kB / 462 MB, free: 6.723 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000295/0.161, allocations: 235 kB / 462.2 MB, free: 6.496 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.161, allocations: 0 / 462.2 MB, free: 6.496 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001315/0.1623, allocations: 295.7 kB / 462.5 MB, free: 6.207 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.0009058/0.1632, allocations: 375.8 kB / 462.9 MB, free: 5.848 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002596/0.1658, allocations: 1.69 MB / 464.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.1659, allocations: 0 / 464.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002607/0.1685, allocations: 2.706 MB / 467.3 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006109/0.1691, allocations: 98.47 kB / 467.4 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.1715, allocations: 1.333 MB / 468.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.172, allocations: 0.8955 MB / 469.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003384/0.1724, allocations: 124.3 kB / 469.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/0.1725, allocations: 43.42 kB / 469.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1725, allocations: 0 / 469.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of Templates: time 0.019/0.1915, allocations: 10.9 MB / 480.7 MB, free: 3.746 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 cvode -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