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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008466/0.0008466, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001255/0.002102, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009108/0.0009108, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.001964, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.033/1.033, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1004/1.133, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.05382/0.05382, allocations: 12.67 MB / 256.6 MB, free: 2.355 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007454/0.06127, allocations: 4.682 MB / 261.3 MB, free: 13.66 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.DisTest.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") translateModel(PNlib.Examples.DisTest.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 262.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041e-05/1.205e-05, allocations: 6.312 kB / 262.6 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.001834/0.001846, allocations: 1.8 MB / 264.4 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.004078, allocations: 1.905 MB / 266.3 MB, free: 8.648 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.004229, allocations: 11.94 kB / 266.3 MB, free: 8.637 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.004431, allocations: 123 kB / 266.4 MB, free: 8.516 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.004684, allocations: 170.8 kB / 266.6 MB, free: 8.348 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.005721, allocations: 0.8767 MB / 267.5 MB, free: 7.469 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.006734, allocations: 1.424 MB / 268.9 MB, free: 6.043 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.006901, allocations: 117.5 kB / 269 MB, free: 5.906 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006276/0.007529, allocations: 0.8583 MB / 269.9 MB, free: 5.047 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004146/0.007943, allocations: 482.7 kB / 270.3 MB, free: 4.574 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.008084, allocations: 140 kB / 270.5 MB, free: 4.438 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008647/0.008949, allocations: 0.9865 MB / 271.5 MB, free: 3.449 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.009097, allocations: 183.3 kB / 271.7 MB, free: 3.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003003/0.009397, allocations: 339.5 kB / 272 MB, free: 2.938 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.01057, allocations: 1.453 MB / 273.4 MB, free: 1.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.302e-05/0.01058, allocations: 0 / 273.4 MB, free: 1.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.01058, allocations: 0 / 273.4 MB, free: 1.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.0106, allocations: 0 / 273.4 MB, free: 1.48 MB / 266.7 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.1389/0.1495, allocations: 1.672 MB / 275.1 MB, free: 8.184 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.1495, allocations: 10.38 kB / 275.1 MB, free: 8.184 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004716/0.15, allocations: 297.9 kB / 275.4 MB, free: 8.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005129/0.1505, allocations: 336 kB / 275.7 MB, free: 7.949 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.1506, allocations: 190.7 kB / 275.9 MB, free: 7.824 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.1508, allocations: 122.4 kB / 276 MB, free: 7.824 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.1526, allocations: 1.891 MB / 277.9 MB, free: 7.027 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.1527, allocations: 6.156 kB / 277.9 MB, free: 7.027 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-05/0.1527, allocations: 60.05 kB / 278 MB, free: 7.023 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001372/0.1529, allocations: 90.11 kB / 278.1 MB, free: 7.023 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.1541, allocations: 1.083 MB / 279.2 MB, free: 6.754 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00281/0.1569, allocations: 3.133 MB / 282.3 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00093/0.1578, allocations: 0.9666 MB / 283.3 MB, free: 4.629 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007258/0.1585, allocations: 0.8849 MB / 284.2 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.916e-05/0.1586, allocations: 11.88 kB / 284.2 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001162/0.1598, allocations: 1.328 MB / 285.5 MB, free: 3.723 MB / 266.7 MB Notification: Performance of pre-optimization done (n=91): time 4.92e-06/0.1598, allocations: 2.219 kB / 285.5 MB, free: 3.723 MB / 266.7 MB Notification: Performance of matching and sorting (n=91): time 0.002252/0.162, allocations: 2.692 MB / 288.2 MB, free: 2.609 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.1622, allocations: 283.2 kB / 288.5 MB, free: 2.379 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.1624, allocations: 429.2 kB / 288.9 MB, free: 2.203 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.414e-05/0.1625, allocations: 77.72 kB / 289 MB, free: 2.152 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.1627, allocations: 336.4 kB / 289.3 MB, free: 1.914 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.1628, allocations: 246 kB / 289.5 MB, free: 1.766 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.163, allocations: 305 kB / 289.8 MB, free: 1.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.812e-05/0.163, allocations: 326.3 kB / 290.1 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.1633, allocations: 0.5603 MB / 290.7 MB, free: 1.008 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004634/0.1638, allocations: 1.186 MB / 291.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.165, allocations: 1.996 MB / 293.9 MB, free: 14.39 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.555e-05/0.165, allocations: 8 kB / 293.9 MB, free: 14.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.001425/0.1664, allocations: 1.562 MB / 295.5 MB, free: 13.45 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.1666, allocations: 345.4 kB / 295.8 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/0.1666, allocations: 17.08 kB / 295.8 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.878e-05/0.1666, allocations: 20 kB / 295.8 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/0.167, allocations: 232.8 kB / 296.1 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/0.167, allocations: 31.17 kB / 296.1 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.1674, allocations: 152.7 kB / 296.2 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-05/0.1674, allocations: 57.69 kB / 296.3 MB, free: 12.62 MB / 282.7 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,P1.inTransition[1].emptied,P1.outTransition[1].fed,P1.enableIn.disTransition[1],P1.reStart,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[1],T1.activation.disPlaceOut[1],P1.enableIn.arcWeight[1],P1.enableOut.arcWeight[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.inTransition[1].disPlace,T1.outPlaces[1].disTransition,T1.firingCon) * 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.0006345/0.1681, allocations: 0.7594 MB / 297.1 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.1682, allocations: 157 kB / 297.2 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.1697, allocations: 1.896 MB / 299.1 MB, free: 9.797 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.1697, allocations: 8 kB / 299.1 MB, free: 9.789 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.1697, allocations: 0 / 299.1 MB, free: 9.789 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1697, allocations: 3.984 kB / 299.1 MB, free: 9.785 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/0.172, allocations: 2.633 MB / 301.7 MB, free: 7.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.172, allocations: 0 / 301.7 MB, free: 7.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.1721, allocations: 47.73 kB / 301.8 MB, free: 7.043 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.1722, allocations: 61.69 kB / 301.9 MB, free: 6.984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1722, allocations: 4 kB / 301.9 MB, free: 6.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.389e-05/0.1723, allocations: 54.47 kB / 301.9 MB, free: 6.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1723, allocations: 4 kB / 301.9 MB, free: 6.926 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1723, allocations: 0 / 301.9 MB, free: 6.926 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.1741, allocations: 2.156 MB / 304.1 MB, free: 4.668 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.1743, allocations: 89.09 kB / 304.2 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.1746, allocations: 107.7 kB / 304.3 MB, free: 4.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004062/0.175, allocations: 364 kB / 304.6 MB, free: 4.129 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-05/0.1751, allocations: 55.97 kB / 304.7 MB, free: 4.074 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.628e-05/0.1751, allocations: 117.3 kB / 304.8 MB, free: 3.969 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1751, allocations: 0 / 304.8 MB, free: 3.969 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001029/0.1762, allocations: 0.4912 MB / 305.3 MB, free: 3.48 MB / 282.7 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.000732/0.1769, allocations: 0.5349 MB / 305.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.1787, allocations: 2.389 MB / 308.2 MB, free: 412 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-05/0.1787, allocations: 11.06 kB / 308.2 MB, free: 404 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.18, allocations: 1.595 MB / 309.8 MB, free: 14.65 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.1804, allocations: 225.2 kB / 310 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.1827, allocations: 2.233 MB / 312.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.1829, allocations: 209.4 kB / 312.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001828/0.183, allocations: 81.62 kB / 312.5 MB, free: 11.81 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006905/0.1837, allocations: 391.2 kB / 312.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of SimCode: time 9.31e-07/0.1837, allocations: 0 / 312.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of Templates: time 0.0237/0.2074, allocations: 20.34 MB / 333.3 MB, free: 7.184 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.240071030333638]