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.001506/0.001506, allocations: 116.4 kB / 16.37 MB, free: 6.012 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.001797/0.001797, allocations: 194.3 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07559/0.07559, allocations: 16.72 MB / 307.9 MB, free: 14.24 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 64.41 kB / 373 MB, free: 48.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09021/0.09144, allocations: 53.47 MB / 426.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002557/0.09404, allocations: 1.85 MB / 428.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002511/0.09656, allocations: 1.913 MB / 430.3 MB, free: 7.938 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.09674, allocations: 11.88 kB / 430.3 MB, free: 7.926 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.09703, allocations: 111.1 kB / 430.4 MB, free: 7.816 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.09733, allocations: 111.1 kB / 430.5 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.09857, allocations: 0.9044 MB / 431.4 MB, free: 6.801 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009117/0.0995, allocations: 1.432 MB / 432.8 MB, free: 5.367 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.09969, allocations: 152.6 kB / 433 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000342/0.1, allocations: 0.5298 MB / 433.5 MB, free: 4.684 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003084/0.1004, allocations: 358.2 kB / 433.9 MB, free: 4.332 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.239e-05/0.1005, allocations: 96 kB / 434 MB, free: 4.238 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004962/0.101, allocations: 0.5072 MB / 434.5 MB, free: 3.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.1011, allocations: 135.5 kB / 434.6 MB, free: 3.598 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002875/0.1014, allocations: 398.3 kB / 435 MB, free: 3.207 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007706/0.1022, allocations: 1.169 MB / 436.2 MB, free: 2.035 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1022, allocations: 0 / 436.2 MB, free: 2.035 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1022, allocations: 0 / 436.2 MB, free: 2.035 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1022, allocations: 0 / 436.2 MB, free: 2.035 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001191/0.1034, allocations: 1.275 MB / 437.4 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.1034, allocations: 11.89 kB / 437.4 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002613/0.1037, allocations: 100.2 kB / 437.5 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004733/0.1042, allocations: 430.7 kB / 438 MB, free: 80 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.714e-05/0.1043, allocations: 87.05 kB / 438.1 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.1044, allocations: 79.97 kB / 438.1 MB, free: 15.9 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.1063, allocations: 1.318 MB / 439.4 MB, free: 14.51 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.1063, allocations: 4 kB / 439.5 MB, free: 14.51 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/0.1065, allocations: 39.97 kB / 439.5 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.015e-05/0.1066, allocations: 52.95 kB / 439.5 MB, free: 14.42 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.1081, allocations: 0.9132 MB / 440.5 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003854/0.112, allocations: 3.325 MB / 443.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.1137, allocations: 1.587 MB / 445.4 MB, free: 8.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.1152, allocations: 1.451 MB / 446.8 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.098e-05/0.1152, allocations: 89.09 kB / 446.9 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001383/0.1166, allocations: 0.9155 MB / 447.8 MB, free: 5.922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 2.104e-06/0.1167, allocations: 0 / 447.8 MB, free: 5.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.003823/0.1205, allocations: 2.618 MB / 450.4 MB, free: 3.258 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00031/0.1208, allocations: 0.5388 MB / 451 MB, free: 2.617 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/0.1212, allocations: 413 kB / 451.4 MB, free: 2.203 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-05/0.1213, allocations: 69.69 kB / 451.5 MB, free: 2.129 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.1215, allocations: 260.3 kB / 451.7 MB, free: 1.871 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.1217, allocations: 193.7 kB / 451.9 MB, free: 1.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002895/0.122, allocations: 226.5 kB / 452.1 MB, free: 1.453 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.1222, allocations: 374.7 kB / 452.5 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006779/0.1229, allocations: 446 kB / 452.9 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009332/0.1238, allocations: 0.8008 MB / 453.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003072/0.1269, allocations: 2.562 MB / 456.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.1269, allocations: 4 kB / 456.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.00254/0.1295, allocations: 1.825 MB / 458.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002129/0.1297, allocations: 337 kB / 458.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.1297, allocations: 12 kB / 458.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.223e-05/0.1298, allocations: 16.81 kB / 458.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.1301, allocations: 123.7 kB / 458.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.754e-05/0.1302, allocations: 27.86 kB / 458.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004847/0.1307, allocations: 123 kB / 458.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.146e-05/0.1308, allocations: 55.98 kB / 458.8 MB, free: 10.13 MB / 334.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.0009104/0.1317, allocations: 0.7624 MB / 459.6 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.1319, allocations: 75.34 kB / 459.6 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002964/0.1348, allocations: 2.022 MB / 461.6 MB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.1349, allocations: 8 kB / 461.7 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1349, allocations: 4 kB / 461.7 MB, free: 7.164 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1349, allocations: 0 / 461.7 MB, free: 7.164 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004394/0.1393, allocations: 3.054 MB / 464.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1393, allocations: 0 / 464.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.1394, allocations: 31.92 kB / 464.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1395, allocations: 0 / 464.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.534e-05/0.1396, allocations: 39.97 kB / 464.8 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.1396, allocations: 7.938 kB / 464.8 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1396, allocations: 4 kB / 464.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003284/0.1429, allocations: 2.371 MB / 467.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.872e-05/0.143, allocations: 132.4 kB / 467.3 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/0.1432, allocations: 75.97 kB / 467.4 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/0.1436, allocations: 79.88 kB / 467.4 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005185/0.1442, allocations: 335.6 kB / 467.8 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/0.1443, allocations: 47.98 kB / 467.8 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002521/0.1446, allocations: 243.2 kB / 468.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1446, allocations: 0 / 468.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001021/0.1456, allocations: 339.6 kB / 468.4 MB, free: 252 kB / 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: 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.0007221/0.1463, allocations: 381.3 kB / 468.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002589/0.1489, allocations: 2.094 MB / 470.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.1489, allocations: 8.062 kB / 470.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002674/0.1516, allocations: 3.152 MB / 474 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005754/0.1522, allocations: 107.3 kB / 474.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/0.1549, allocations: 1.606 MB / 475.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004847/0.1554, allocations: 0.9231 MB / 476.7 MB, free: 7.723 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003445/0.1557, allocations: 145 kB / 476.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.1558, allocations: 47.42 kB / 476.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of SimCode: time 1.733e-06/0.1558, allocations: 4 kB / 476.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of Templates: time 0.02/0.1758, allocations: 13.32 MB / 490.2 MB, free: 10.19 MB / 366.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches