Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") translateModel(PNlib.Examples.DisTest.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007803/0.007803, allocations: 100 kB / 15.73 MB, free: 6.453 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.002195/0.002195, allocations: 190.2 kB / 16.67 MB, free: 6.367 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.426/1.426, allocations: 222.9 MB / 240.3 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2475/0.2475, allocations: 16.75 MB / 307.3 MB, free: 14.88 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 65.48 kB / 426.4 MB, free: 37.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09903/0.1002, allocations: 53.48 MB / 479.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.002922/0.1032, allocations: 1.855 MB / 481.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002923/0.1061, allocations: 1.908 MB / 483.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002737/0.1064, allocations: 9.719 kB / 483.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.1069, allocations: 117.5 kB / 483.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003558/0.1072, allocations: 137.2 kB / 483.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.1093, allocations: 0.9162 MB / 484.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001833/0.1112, allocations: 1.495 MB / 486.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004137/0.1116, allocations: 263.2 kB / 486.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006958/0.1123, allocations: 0.5694 MB / 487.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004697/0.1128, allocations: 0.4922 MB / 487.6 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002061/0.113, allocations: 139.8 kB / 487.7 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.114, allocations: 0.7981 MB / 488.5 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.1142, allocations: 203.2 kB / 488.7 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003954/0.1146, allocations: 0.5837 MB / 489.3 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.1161, allocations: 1.808 MB / 491.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1161, allocations: 0 / 491.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1161, allocations: 0 / 491.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.1161, allocations: 0 / 491.1 MB, free: 1.465 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.001783/0.1179, allocations: 1.555 MB / 492.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1179, allocations: 15.89 kB / 492.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003993/0.1183, allocations: 127.8 kB / 492.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007873/0.1191, allocations: 0.5505 MB / 493.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.1193, allocations: 137.4 kB / 493.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.1195, allocations: 116 kB / 493.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002964/0.1225, allocations: 2.036 MB / 495.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.1225, allocations: 3.938 kB / 495.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.1226, allocations: 51.98 kB / 495.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001505/0.1228, allocations: 97.17 kB / 495.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.1251, allocations: 1.43 MB / 497.2 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005273/0.1303, allocations: 4.239 MB / 0.4897 GB, free: 6.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002943/0.1333, allocations: 2.41 MB / 0.4921 GB, free: 4.309 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003102/0.1364, allocations: 2.308 MB / 0.4943 GB, free: 1.996 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003077/0.1368, allocations: 89.09 kB / 0.4944 GB, free: 1.891 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002374/0.1392, allocations: 1.296 MB / 0.4957 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 3.266e-06/0.1392, allocations: 4 kB / 0.4957 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of matching and sorting (n=91): time 0.006502/0.1457, allocations: 3.97 MB / 0.4995 GB, free: 12.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007013/0.1464, allocations: 0.6535 MB / 0.5002 GB, free: 11.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007551/0.1472, allocations: 0.5128 MB / 0.5007 GB, free: 11.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001188/0.1473, allocations: 73.69 kB / 0.5008 GB, free: 11.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.1476, allocations: 343.8 kB / 0.5011 GB, free: 10.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/0.1479, allocations: 249.2 kB / 0.5013 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003826/0.1482, allocations: 294.7 kB / 0.5016 GB, free: 10.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1484, allocations: 330 kB / 0.5019 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000818/0.1492, allocations: 0.5498 MB / 0.5025 GB, free: 9.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.1505, allocations: 1.028 MB / 0.5035 GB, free: 8.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003773/0.1542, allocations: 3.189 MB / 0.5066 GB, free: 4.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/0.1543, allocations: 8 kB / 0.5066 GB, free: 4.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003186/0.1575, allocations: 2.213 MB / 0.5087 GB, free: 2.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002244/0.1577, allocations: 356.9 kB / 0.5091 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.1577, allocations: 12 kB / 0.5091 GB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.084e-05/0.1578, allocations: 20 kB / 0.5091 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/0.1582, allocations: 160.2 kB / 0.5093 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.956e-05/0.1583, allocations: 31.86 kB / 0.5093 GB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006121/0.1589, allocations: 174.8 kB / 0.5095 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/0.1591, allocations: 68 kB / 0.5095 GB, free: 1.422 MB / 382.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 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 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: 62 * Number of states: 0 () * Number of discrete variables: 149 ($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.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,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[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.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[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,$whenCondition1,$whenCondition3,$whenCondition4,P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 154 * 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.001197/0.1603, allocations: 0.8905 MB / 0.5104 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.1605, allocations: 99.19 kB / 0.5105 GB, free: 380 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004871/0.1654, allocations: 3.352 MB / 0.5138 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/0.1654, allocations: 8 kB / 0.5138 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1654, allocations: 4 kB / 0.5138 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.1654, allocations: 3.984 kB / 0.5138 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007188/0.1726, allocations: 4.748 MB / 0.5184 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.1727, allocations: 0 / 0.5184 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.1728, allocations: 39.92 kB / 0.5185 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1728, allocations: 0 / 0.5185 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/0.173, allocations: 63.95 kB / 0.5185 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.173, allocations: 0 / 0.5185 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.173, allocations: 4 kB / 0.5185 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00496/0.178, allocations: 3.466 MB / 0.5219 GB, free: 4.449 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.1782, allocations: 144.2 kB / 0.522 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002503/0.1784, allocations: 87.97 kB / 0.5221 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000662/0.1791, allocations: 111.8 kB / 0.5222 GB, free: 4.094 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006369/0.1797, allocations: 376.1 kB / 0.5226 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/0.1799, allocations: 59.97 kB / 0.5226 GB, free: 3.668 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003622/0.1802, allocations: 307.1 kB / 0.5229 GB, free: 3.371 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1802, allocations: 0 / 0.5229 GB, free: 3.371 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001666/0.1819, allocations: 487.4 kB / 0.5234 GB, free: 2.895 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 81 (T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,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,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.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 56 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],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]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 36 * 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.0009714/0.1829, allocations: 485.7 kB / 0.5239 GB, free: 2.434 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003432/0.1863, allocations: 2.668 MB / 0.5265 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.1864, allocations: 4 kB / 0.5265 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003754/0.1901, allocations: 4.486 MB / 0.5309 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006783/0.1908, allocations: 140.3 kB / 0.531 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/0.1946, allocations: 2.235 MB / 0.5332 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000589/0.1952, allocations: 1.03 MB / 0.5342 GB, free: 7.594 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004489/0.1956, allocations: 205.2 kB / 0.5344 GB, free: 7.391 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.1957, allocations: 55.42 kB / 0.5344 GB, free: 7.336 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1957, allocations: 4 kB / 0.5344 GB, free: 7.332 MB / 414.1 MB Notification: Performance of Templates: time 0.02648/0.2222, allocations: 18.81 MB / 0.5528 GB, free: 4.398 MB / 430.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.makefile (rm -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.sim & ./PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches