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.00142/0.00142, allocations: 115.1 kB / 16.37 MB, free: 5.984 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.001609/0.001609, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.09123/0.09123, allocations: 16.71 MB / 307.9 MB, free: 14.27 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 62.56 kB / 373 MB, free: 48.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09595/0.09718, allocations: 53.46 MB / 426.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002803/0.1, allocations: 1.863 MB / 428.4 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002799/0.1028, allocations: 1.905 MB / 430.3 MB, free: 8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002718/0.1031, allocations: 11.88 kB / 430.3 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.1035, allocations: 107.1 kB / 430.4 MB, free: 7.883 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003252/0.1038, allocations: 119 kB / 430.5 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.1057, allocations: 0.9005 MB / 431.4 MB, free: 6.863 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001349/0.107, allocations: 1.435 MB / 432.8 MB, free: 5.426 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000259/0.1073, allocations: 155 kB / 433 MB, free: 5.273 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004846/0.1078, allocations: 0.5337 MB / 433.5 MB, free: 4.738 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004616/0.1083, allocations: 350.3 kB / 433.9 MB, free: 4.395 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.1084, allocations: 88 kB / 434 MB, free: 4.309 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008394/0.1092, allocations: 0.5111 MB / 434.5 MB, free: 3.797 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.1094, allocations: 139.5 kB / 434.6 MB, free: 3.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003874/0.1098, allocations: 398.3 kB / 435 MB, free: 3.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.111, allocations: 1.165 MB / 436.2 MB, free: 2.102 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1111, allocations: 4 kB / 436.2 MB, free: 2.098 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1111, allocations: 0 / 436.2 MB, free: 2.098 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.812e-05/0.1111, allocations: 4 kB / 436.2 MB, free: 2.094 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.001563/0.1127, allocations: 1.271 MB / 437.4 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1127, allocations: 15.83 kB / 437.5 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003088/0.113, allocations: 96.17 kB / 437.5 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005183/0.1136, allocations: 438.7 kB / 438 MB, free: 136 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.041e-05/0.1137, allocations: 82.98 kB / 438.1 MB, free: 44 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.1138, allocations: 80.03 kB / 438.1 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.1159, allocations: 1.322 MB / 439.5 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.1159, allocations: 3.938 kB / 439.5 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.116, allocations: 35.98 kB / 439.5 MB, free: 14.53 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001394/0.1162, allocations: 56.95 kB / 439.5 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.1178, allocations: 0.9093 MB / 440.5 MB, free: 13.56 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003713/0.1215, allocations: 3.333 MB / 443.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.1232, allocations: 1.586 MB / 445.4 MB, free: 8.484 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/0.1247, allocations: 1.451 MB / 446.8 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.553e-05/0.1248, allocations: 81.11 kB / 446.9 MB, free: 6.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00134/0.1262, allocations: 0.9156 MB / 447.8 MB, free: 5.984 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 2.374e-06/0.1262, allocations: 4 kB / 447.8 MB, free: 5.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.00368/0.1299, allocations: 2.626 MB / 450.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003137/0.1302, allocations: 0.531 MB / 451 MB, free: 2.676 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004105/0.1306, allocations: 413.1 kB / 451.4 MB, free: 2.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.094e-05/0.1307, allocations: 65.69 kB / 451.5 MB, free: 2.191 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.1309, allocations: 260.3 kB / 451.7 MB, free: 1.934 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.1311, allocations: 193.7 kB / 451.9 MB, free: 1.742 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002831/0.1313, allocations: 230.5 kB / 452.1 MB, free: 1.512 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1315, allocations: 374.7 kB / 452.5 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006423/0.1322, allocations: 446 kB / 452.9 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009149/0.1331, allocations: 0.8085 MB / 453.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002797/0.1359, allocations: 2.547 MB / 456.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.1359, allocations: 8 kB / 456.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002448/0.1384, allocations: 1.826 MB / 458.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002099/0.1386, allocations: 337 kB / 458.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.1386, allocations: 12 kB / 458.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.073e-05/0.1387, allocations: 16 kB / 458.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/0.139, allocations: 123.7 kB / 458.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-05/0.1391, allocations: 19.94 kB / 458.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004643/0.1395, allocations: 131 kB / 458.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.879e-05/0.1396, allocations: 52 kB / 458.8 MB, free: 10.2 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.0009028/0.1406, allocations: 0.7596 MB / 459.5 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.1407, allocations: 83.28 kB / 459.6 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002861/0.1436, allocations: 2.026 MB / 461.7 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.1436, allocations: 4 kB / 461.7 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1436, allocations: 0 / 461.7 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.1436, allocations: 7.984 kB / 461.7 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004045/0.1477, allocations: 3.042 MB / 464.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1477, allocations: 0 / 464.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.1479, allocations: 35.92 kB / 464.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/0.1479, allocations: 4 kB / 464.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-05/0.148, allocations: 39.97 kB / 464.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.822e-06/0.148, allocations: 3.938 kB / 464.8 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/0.148, allocations: 0 / 464.8 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003073/0.1511, allocations: 2.383 MB / 467.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.1512, allocations: 128.3 kB / 467.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/0.1514, allocations: 79.98 kB / 467.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004538/0.1519, allocations: 79.86 kB / 467.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004954/0.1524, allocations: 319.7 kB / 467.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-05/0.1525, allocations: 47.97 kB / 467.8 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002394/0.1528, allocations: 243.2 kB / 468 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1528, allocations: 4 kB / 468.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001028/0.1538, allocations: 343.6 kB / 468.4 MB, free: 312 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.0007014/0.1545, allocations: 383.3 kB / 468.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002585/0.1571, allocations: 2.105 MB / 470.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.1571, allocations: 4 kB / 470.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002525/0.1597, allocations: 3.152 MB / 474 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005805/0.1603, allocations: 109.3 kB / 474.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.1629, allocations: 1.599 MB / 475.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004707/0.1634, allocations: 0.927 MB / 476.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003321/0.1637, allocations: 136.5 kB / 476.8 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.818e-05/0.1639, allocations: 51.42 kB / 476.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1639, allocations: 0 / 476.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of Templates: time 0.02239/0.1863, allocations: 13.32 MB / 490.2 MB, free: 10.24 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 cvode -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