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.001263/0.001263, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.00137/0.00137, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9253/0.9253, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.0592/0.0592, allocations: 12.66 MB / 272.9 MB, free: 376 kB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 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.362e-06/1.362e-06, allocations: 0 / 293.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.031e-05, allocations: 3.734 kB / 293.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.002776/0.002796, allocations: 1.753 MB / 295.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003007/0.005803, allocations: 1.896 MB / 297.3 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.005996, allocations: 9.594 kB / 297.3 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003565/0.006353, allocations: 120.9 kB / 297.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004334/0.006786, allocations: 167.3 kB / 297.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.008571, allocations: 0.966 MB / 298.6 MB, free: 9.602 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002557/0.01113, allocations: 1.432 MB / 300 MB, free: 8.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.01136, allocations: 119.4 kB / 300.1 MB, free: 8.852 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000984/0.01234, allocations: 0.8246 MB / 300.9 MB, free: 8.445 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007086/0.01305, allocations: 484.9 kB / 301.4 MB, free: 8.266 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.01325, allocations: 140.8 kB / 301.5 MB, free: 8.266 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.0148, allocations: 0.9303 MB / 302.5 MB, free: 7.773 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.01501, allocations: 223.8 kB / 302.7 MB, free: 7.621 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004711/0.01548, allocations: 437.2 kB / 303.1 MB, free: 7.367 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001741/0.01722, allocations: 1.697 MB / 304.8 MB, free: 6.168 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.01723, allocations: 0 / 304.8 MB, free: 6.168 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.01723, allocations: 0 / 304.8 MB, free: 6.168 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.01724, allocations: 1.406 kB / 304.8 MB, free: 6.168 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.001678/0.01892, allocations: 1.469 MB / 306.3 MB, free: 4.961 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.01895, allocations: 7.906 kB / 306.3 MB, free: 4.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005285/0.01948, allocations: 221 kB / 306.5 MB, free: 4.891 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005773/0.02006, allocations: 339.1 kB / 306.8 MB, free: 4.617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.0202, allocations: 188.7 kB / 307 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/0.02039, allocations: 123.9 kB / 307.1 MB, free: 4.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.02219, allocations: 1.863 MB / 309 MB, free: 2.395 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/0.02222, allocations: 7.938 kB / 309 MB, free: 2.387 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.02236, allocations: 55.97 kB / 309.1 MB, free: 2.332 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001727/0.02253, allocations: 99.66 kB / 309.2 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007559/0.02328, allocations: 1.048 MB / 310.2 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002353/0.02564, allocations: 3.133 MB / 313.4 MB, free: 13.92 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007409/0.02638, allocations: 0.9331 MB / 314.3 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006203/0.027, allocations: 0.8419 MB / 315.1 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.576e-05/0.02705, allocations: 11.98 kB / 315.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009796/0.02803, allocations: 1.295 MB / 316.4 MB, free: 10.63 MB / 282.7 MB Notification: Performance of pre-optimization done (n=91): time 1.523e-06/0.02804, allocations: 0 / 316.4 MB, free: 10.63 MB / 282.7 MB Notification: Performance of matching and sorting (n=91): time 0.002/0.03004, allocations: 2.59 MB / 319 MB, free: 7.891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00026/0.0303, allocations: 0.6456 MB / 319.7 MB, free: 7.129 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.03054, allocations: 430.5 kB / 320.1 MB, free: 6.695 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.337e-05/0.03061, allocations: 69.69 kB / 320.2 MB, free: 6.621 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.03076, allocations: 350 kB / 320.5 MB, free: 6.273 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.0309, allocations: 242.2 kB / 320.7 MB, free: 6.035 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.03113, allocations: 304.3 kB / 321 MB, free: 5.734 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.638e-05/0.03121, allocations: 325.9 kB / 321.4 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.03155, allocations: 0.5459 MB / 321.9 MB, free: 4.805 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005897/0.03214, allocations: 1.182 MB / 323.1 MB, free: 3.312 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.03324, allocations: 1.988 MB / 325.1 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.03325, allocations: 4 kB / 325.1 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.001066/0.03432, allocations: 1.537 MB / 326.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.03447, allocations: 345.2 kB / 326.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.03448, allocations: 16 kB / 327 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.0345, allocations: 24 kB / 327 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.03482, allocations: 199.6 kB / 327.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.03483, allocations: 23.94 kB / 327.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.03513, allocations: 159.1 kB / 327.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/0.03519, allocations: 63.88 kB / 327.4 MB, free: 14.42 MB / 298.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.000531/0.03573, allocations: 0.7495 MB / 328.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.03587, allocations: 155.9 kB / 328.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.0372, allocations: 1.826 MB / 330.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.03721, allocations: 8 kB / 330.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.03721, allocations: 0 / 330.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.03722, allocations: 3.984 kB / 330.2 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.03934, allocations: 2.575 MB / 332.7 MB, free: 8.816 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.03935, allocations: 0 / 332.7 MB, free: 8.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.025e-05/0.03943, allocations: 35.92 kB / 332.8 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.03943, allocations: 0 / 332.8 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.48e-05/0.03951, allocations: 55.97 kB / 332.8 MB, free: 8.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.03951, allocations: 4 kB / 332.8 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.03951, allocations: 0 / 332.8 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.04093, allocations: 2.091 MB / 334.9 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.04097, allocations: 55.5 kB / 335 MB, free: 6.457 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.04111, allocations: 91.97 kB / 335.1 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/0.04146, allocations: 111.8 kB / 335.2 MB, free: 6.258 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003785/0.04183, allocations: 359 kB / 335.5 MB, free: 5.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-05/0.04192, allocations: 63.89 kB / 335.6 MB, free: 5.844 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.008e-05/0.042, allocations: 112.7 kB / 335.7 MB, free: 5.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.042, allocations: 0 / 335.7 MB, free: 5.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007763/0.04278, allocations: 0.4952 MB / 336.2 MB, free: 5.234 MB / 298.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.0006225/0.0434, allocations: 0.511 MB / 336.7 MB, free: 4.754 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.04488, allocations: 2.346 MB / 339 MB, free: 2.176 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/0.04489, allocations: 4.5 kB / 339.1 MB, free: 2.172 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.04596, allocations: 1.572 MB / 340.6 MB, free: 452 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.04628, allocations: 134.8 kB / 340.8 MB, free: 320 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.04822, allocations: 2.175 MB / 342.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.04835, allocations: 208.7 kB / 343.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.0485, allocations: 85.56 kB / 343.2 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006255/0.04912, allocations: 387.2 kB / 343.6 MB, free: 13.37 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.04912, allocations: 0 / 343.6 MB, free: 13.37 MB / 314.7 MB Notification: Performance of Templates: time 0.02366/0.07278, allocations: 20.1 MB / 363.7 MB, free: 9.352 MB / 330.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 -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.1999795250594616]