Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPD.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.TDtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPD") translateModel(PNlib.Examples.DisTest.TDtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 104.8 kB / 16.35 MB, free: 6.285 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.001219/0.001219, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07541/0.07541, allocations: 16.74 MB / 307.9 MB, free: 14.25 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 64.33 kB / 373 MB, free: 48.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1086, allocations: 53.47 MB / 426.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.003053/0.1117, allocations: 1.85 MB / 428.4 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002829/0.1145, allocations: 1.917 MB / 430.3 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.1147, allocations: 8 kB / 430.3 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.115, allocations: 107.1 kB / 430.4 MB, free: 7.867 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.1153, allocations: 115.1 kB / 430.5 MB, free: 7.754 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.1166, allocations: 0.9044 MB / 431.4 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009827/0.1176, allocations: 1.416 MB / 432.8 MB, free: 5.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/0.1178, allocations: 151.7 kB / 433 MB, free: 5.281 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003924/0.1182, allocations: 0.5182 MB / 433.5 MB, free: 4.762 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003454/0.1186, allocations: 322.4 kB / 433.8 MB, free: 4.445 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.451e-05/0.1187, allocations: 68 kB / 433.9 MB, free: 4.379 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00062/0.1193, allocations: 0.4915 MB / 434.4 MB, free: 3.887 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.1194, allocations: 131.5 kB / 434.5 MB, free: 3.758 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002631/0.1197, allocations: 334.4 kB / 434.8 MB, free: 3.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008472/0.1206, allocations: 1.032 MB / 435.8 MB, free: 2.395 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1206, allocations: 0 / 435.8 MB, free: 2.395 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1206, allocations: 0 / 435.8 MB, free: 2.395 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.1206, allocations: 4 kB / 435.8 MB, free: 2.391 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001288/0.1219, allocations: 1.201 MB / 437 MB, free: 1.078 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1219, allocations: 15.89 kB / 437.1 MB, free: 1.062 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002699/0.1222, allocations: 88.11 kB / 437.1 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.1227, allocations: 407 kB / 437.5 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.221e-05/0.1228, allocations: 78.67 kB / 437.6 MB, free: 464 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.643e-05/0.1229, allocations: 64 kB / 437.7 MB, free: 400 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.1244, allocations: 1.105 MB / 438.8 MB, free: 15.21 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.1244, allocations: 0 / 438.8 MB, free: 15.21 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.803e-05/0.1245, allocations: 35.98 kB / 438.8 MB, free: 15.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.85e-05/0.1246, allocations: 44.91 kB / 438.9 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.1258, allocations: 0.722 MB / 439.6 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003362/0.1292, allocations: 2.994 MB / 442.6 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.1306, allocations: 1.268 MB / 443.9 MB, free: 9.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.1318, allocations: 1.167 MB / 445 MB, free: 8.816 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-05/0.1318, allocations: 81.34 kB / 445.1 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/0.133, allocations: 0.7516 MB / 445.9 MB, free: 7.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 2.154e-06/0.133, allocations: 0 / 445.9 MB, free: 7.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.003142/0.1362, allocations: 2.122 MB / 448 MB, free: 5.758 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003419/0.1365, allocations: 0.5364 MB / 448.5 MB, free: 5.117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004239/0.1369, allocations: 380 kB / 448.9 MB, free: 4.738 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.548e-05/0.137, allocations: 61.7 kB / 448.9 MB, free: 4.672 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.1372, allocations: 240.6 kB / 449.2 MB, free: 4.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.1374, allocations: 185.8 kB / 449.4 MB, free: 4.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002613/0.1377, allocations: 210.5 kB / 449.6 MB, free: 4.035 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1378, allocations: 370.8 kB / 449.9 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004863/0.1383, allocations: 298.1 kB / 450.2 MB, free: 3.371 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007606/0.1391, allocations: 0.6448 MB / 450.9 MB, free: 2.578 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002444/0.1416, allocations: 2.035 MB / 452.9 MB, free: 240 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.1416, allocations: 4 kB / 452.9 MB, free: 236 kB / 318.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002076/0.1437, allocations: 1.459 MB / 454.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001959/0.1439, allocations: 313 kB / 454.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.1439, allocations: 8 kB / 454.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.079e-05/0.1439, allocations: 16 kB / 454.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.1443, allocations: 123.6 kB / 454.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-05/0.1444, allocations: 19.94 kB / 454.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.1448, allocations: 103.5 kB / 454.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.145, allocations: 52 kB / 455 MB, free: 14.02 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: 47 * Number of states: 0 () * Number of discrete variables: 118 ($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.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,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 (123): * Single equations (assignments): 113 * 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.001153/0.1461, allocations: 0.7048 MB / 455.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.1463, allocations: 71.42 kB / 455.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002536/0.1488, allocations: 1.594 MB / 457.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.1489, allocations: 7.938 kB / 457.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.1489, allocations: 3.938 kB / 457.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.1489, allocations: 3.984 kB / 457.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003738/0.1526, allocations: 2.522 MB / 459.9 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.1527, allocations: 4 kB / 459.9 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.1528, allocations: 27.92 kB / 459.9 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.1528, allocations: 0 / 459.9 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.082e-05/0.1529, allocations: 35.98 kB / 460 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.1529, allocations: 3.938 kB / 460 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/0.1529, allocations: 3.984 kB / 460 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002765/0.1557, allocations: 2.007 MB / 462 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.1558, allocations: 132.3 kB / 462.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.156, allocations: 71.97 kB / 462.2 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003402/0.1563, allocations: 47.97 kB / 462.2 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.1566, allocations: 83.91 kB / 462.3 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.729e-05/0.1567, allocations: 39.98 kB / 462.3 MB, free: 6.379 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002455/0.1569, allocations: 227 kB / 462.6 MB, free: 6.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1569, allocations: 4 kB / 462.6 MB, free: 6.156 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001065/0.158, allocations: 299.7 kB / 462.9 MB, free: 5.863 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: 66 ($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,T1.active,$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.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,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 (35): * Single equations (assignments): 23 * 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.0007283/0.1587, allocations: 379 kB / 463.2 MB, free: 5.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002244/0.161, allocations: 1.707 MB / 464.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.161, allocations: 4 kB / 464.9 MB, free: 3.664 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002618/0.1636, allocations: 2.71 MB / 467.6 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006258/0.1643, allocations: 114 kB / 467.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.1669, allocations: 1.415 MB / 469.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.1674, allocations: 0.8958 MB / 470.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003198/0.1677, allocations: 124.9 kB / 470.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.711e-05/0.1678, allocations: 55.3 kB / 470.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1678, allocations: 0 / 470.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of Templates: time 0.01756/0.1854, allocations: 10.97 MB / 481.2 MB, free: 3.18 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TDtoPD.makefile (rm -f PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPD.sim & ./PNlib_PNlib.Examples.DisTest.TDtoPD -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TDtoPD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches