Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") translateModel(PNlib.Examples.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005227/0.005232, allocations: 99.14 kB / 15.73 MB, free: 6.035 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.001158/0.001158, allocations: 194.6 kB / 16.67 MB, free: 5.965 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1965/0.1965, allocations: 16.75 MB / 307.3 MB, free: 14.88 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 72.33 kB / 426.4 MB, free: 37.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1089, allocations: 53.47 MB / 479.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.003788/0.1127, allocations: 1.852 MB / 481.7 MB, free: 8.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003918/0.1167, allocations: 1.913 MB / 483.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000679/0.1174, allocations: 6.094 kB / 483.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005033/0.1179, allocations: 112.4 kB / 483.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007839/0.1188, allocations: 115.7 kB / 483.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002781/0.1216, allocations: 0.9031 MB / 484.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002638/0.1243, allocations: 1.432 MB / 486.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004308/0.1247, allocations: 160.6 kB / 486.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.1258, allocations: 0.5374 MB / 486.9 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006931/0.1265, allocations: 346.1 kB / 487.2 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003291/0.1269, allocations: 88.06 kB / 487.3 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.1279, allocations: 0.5114 MB / 487.8 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002785/0.1282, allocations: 147.4 kB / 487.9 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000805/0.129, allocations: 390.3 kB / 488.3 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.131, allocations: 1.173 MB / 489.5 MB, free: 3.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.131, allocations: 4 kB / 489.5 MB, free: 3.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.131, allocations: 3.938 kB / 489.5 MB, free: 3.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.251e-05/0.131, allocations: 0 / 489.5 MB, free: 3.082 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.002111/0.1332, allocations: 1.283 MB / 490.8 MB, free: 1.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.1332, allocations: 11.89 kB / 490.8 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004031/0.1336, allocations: 88.19 kB / 490.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006365/0.1343, allocations: 438.7 kB / 491.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.1344, allocations: 75.02 kB / 491.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.1345, allocations: 83.97 kB / 491.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.1364, allocations: 1.327 MB / 492.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.1365, allocations: 0 / 492.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-05/0.1366, allocations: 39.97 kB / 492.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.1367, allocations: 56.95 kB / 492.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.1384, allocations: 0.9093 MB / 493.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004267/0.1426, allocations: 3.325 MB / 497.1 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.1444, allocations: 1.579 MB / 498.7 MB, free: 9.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.1459, allocations: 1.455 MB / 0.4884 GB, free: 8.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.037e-05/0.146, allocations: 85.09 kB / 0.4885 GB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001428/0.1474, allocations: 0.9116 MB / 0.4894 GB, free: 6.977 MB / 366.1 MB Notification: Performance of pre-optimization done (n=77): time 5.18e-06/0.1474, allocations: 0 / 0.4894 GB, free: 6.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=77): time 0.00404/0.1515, allocations: 2.628 MB / 0.492 GB, free: 4.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003362/0.1518, allocations: 0.5349 MB / 0.4925 GB, free: 3.664 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004743/0.1523, allocations: 413.1 kB / 0.4929 GB, free: 3.254 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.1524, allocations: 65.69 kB / 0.493 GB, free: 3.184 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.1527, allocations: 252.5 kB / 0.4932 GB, free: 2.934 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/0.1529, allocations: 193.7 kB / 0.4934 GB, free: 2.742 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003485/0.1533, allocations: 230.4 kB / 0.4936 GB, free: 2.508 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1534, allocations: 382.7 kB / 0.494 GB, free: 2.125 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007184/0.1542, allocations: 442 kB / 0.4944 GB, free: 1.695 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009629/0.1551, allocations: 0.8008 MB / 0.4952 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003033/0.1582, allocations: 2.551 MB / 0.4977 GB, free: 13.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.051e-05/0.1582, allocations: 4 kB / 0.4977 GB, free: 13.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002647/0.1609, allocations: 1.822 MB / 0.4994 GB, free: 11.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002137/0.1611, allocations: 340.9 kB / 0.4998 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.212e-05/0.1611, allocations: 20.11 kB / 0.4998 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.553e-05/0.1612, allocations: 16 kB / 0.4998 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/0.1616, allocations: 119.7 kB / 0.4999 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.8e-05/0.1616, allocations: 23.92 kB / 0.4999 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005516/0.1622, allocations: 126.9 kB / 0.5001 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.596e-05/0.1623, allocations: 64.17 kB / 0.5001 GB, free: 11.19 MB / 382.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.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.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 P1.enableOut.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.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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 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: 51 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,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],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableOut.arcWeight[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 123 * Array equations: 1 * 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.001018/0.1633, allocations: 0.7553 MB / 0.5009 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.1635, allocations: 75.34 kB / 0.5009 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002969/0.1665, allocations: 2.026 MB / 0.5029 GB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.1665, allocations: 4 kB / 0.5029 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1665, allocations: 0 / 0.5029 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1665, allocations: 7.938 kB / 0.5029 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00448/0.171, allocations: 3.038 MB / 0.5059 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.171, allocations: 0 / 0.5059 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.1712, allocations: 31.92 kB / 0.5059 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.1712, allocations: 4 kB / 0.5059 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.079e-05/0.1713, allocations: 39.98 kB / 0.506 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.1713, allocations: 7.922 kB / 0.506 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1713, allocations: 0 / 0.506 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003352/0.1747, allocations: 2.375 MB / 0.5083 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.1748, allocations: 120.4 kB / 0.5084 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/0.175, allocations: 79.97 kB / 0.5085 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004967/0.1756, allocations: 87.86 kB / 0.5086 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005732/0.1761, allocations: 327.7 kB / 0.5089 GB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.1763, allocations: 43.98 kB / 0.5089 GB, free: 1.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000292/0.1766, allocations: 247.2 kB / 0.5091 GB, free: 1.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.587e-06/0.1766, allocations: 0 / 0.5091 GB, free: 1.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001233/0.1778, allocations: 351.5 kB / 0.5095 GB, free: 1.301 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: 69 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.arcWeight[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],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.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * Array equations: 1 * 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.0008738/0.1787, allocations: 386.3 kB / 0.5099 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002999/0.1817, allocations: 2.097 MB / 0.5119 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.1817, allocations: 0 / 0.5119 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002765/0.1845, allocations: 3.152 MB / 0.515 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006896/0.1852, allocations: 114 kB / 0.5151 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.1883, allocations: 1.622 MB / 0.5167 GB, free: 9.703 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005965/0.1889, allocations: 0.9153 MB / 0.5176 GB, free: 8.762 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004269/0.1894, allocations: 153.1 kB / 0.5177 GB, free: 8.609 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.1895, allocations: 47.44 kB / 0.5178 GB, free: 8.562 MB / 398.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1896, allocations: 0 / 0.5178 GB, free: 8.562 MB / 398.1 MB Notification: Performance of Templates: time 0.02409/0.2137, allocations: 13.77 MB / 0.5312 GB, free: 10.76 MB / 414.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.makefile (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTDfunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches