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.001387/0.001387, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001609/0.001609, allocations: 169 kB / 23.02 MB, free: 1.551 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.9373/0.9373, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.05364/0.05364, allocations: 12.65 MB / 272.6 MB, free: 0.4961 MB / 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.212e-06/1.212e-06, allocations: 0 / 346.5 MB, free: 1.918 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051e-05/1.172e-05, allocations: 2.312 kB / 346.5 MB, free: 1.914 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.001652/0.001663, allocations: 1.792 MB / 348.3 MB, free: 116 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.003972, allocations: 1.886 MB / 350.2 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.004101, allocations: 7.938 kB / 350.2 MB, free: 14.21 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.004385, allocations: 122.9 kB / 350.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.004703, allocations: 170.8 kB / 350.5 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.005745, allocations: 0.9508 MB / 351.4 MB, free: 12.97 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009295/0.006675, allocations: 1.427 MB / 352.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.006848, allocations: 107.6 kB / 352.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000561/0.007409, allocations: 0.815 MB / 353.7 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003848/0.007794, allocations: 486.6 kB / 354.2 MB, free: 10.13 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.007922, allocations: 136 kB / 354.4 MB, free: 9.996 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007718/0.008694, allocations: 0.9358 MB / 355.3 MB, free: 9.059 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.008855, allocations: 227.1 kB / 355.5 MB, free: 8.836 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.009195, allocations: 439.1 kB / 355.9 MB, free: 8.406 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.01042, allocations: 1.691 MB / 357.6 MB, free: 6.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.01042, allocations: 0 / 357.6 MB, free: 6.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01042, allocations: 0 / 357.6 MB, free: 6.711 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.01043, allocations: 0 / 357.6 MB, free: 6.711 MB / 282.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.001371/0.0118, allocations: 1.588 MB / 359.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.01183, allocations: 8.031 kB / 359.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003517/0.01218, allocations: 240.3 kB / 359.5 MB, free: 4.777 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005233/0.01271, allocations: 480.1 kB / 359.9 MB, free: 4.277 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.01283, allocations: 193.3 kB / 360.1 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.01295, allocations: 123.9 kB / 360.2 MB, free: 3.941 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.01486, allocations: 2.288 MB / 362.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.01488, allocations: 4 kB / 362.5 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.782e-05/0.01497, allocations: 51.98 kB / 362.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.971e-05/0.01507, allocations: 89.23 kB / 362.7 MB, free: 1.297 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.0164, allocations: 1.408 MB / 364.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003165/0.01956, allocations: 4.57 MB / 368.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.02066, allocations: 1.187 MB / 369.8 MB, free: 9.883 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009559/0.02162, allocations: 1.129 MB / 371 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.881e-05/0.02169, allocations: 16 kB / 371 MB, free: 8.688 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001286/0.02298, allocations: 1.549 MB / 372.5 MB, free: 7.035 MB / 298.7 MB Notification: Performance of pre-optimization done (n=91): time 1.563e-06/0.02298, allocations: 0 / 372.5 MB, free: 7.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=91): time 0.003857/0.02683, allocations: 4.313 MB / 376.8 MB, free: 2.566 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002645/0.0271, allocations: 0.6456 MB / 377.5 MB, free: 1.805 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.02743, allocations: 0.5175 MB / 378 MB, free: 1.266 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.187e-05/0.0275, allocations: 73.69 kB / 378.1 MB, free: 1.188 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.02769, allocations: 423.5 kB / 378.5 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.02783, allocations: 246.3 kB / 378.7 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/0.02812, allocations: 332.5 kB / 379.1 MB, free: 192 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.02824, allocations: 496.4 kB / 379.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005296/0.02877, allocations: 0.6797 MB / 380.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008532/0.02962, allocations: 1.508 MB / 381.7 MB, free: 13.06 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.03104, allocations: 2.221 MB / 384 MB, free: 10.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.03105, allocations: 7.938 kB / 384 MB, free: 10.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.001793/0.03284, allocations: 2.185 MB / 386.1 MB, free: 8.094 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.03298, allocations: 340.9 kB / 386.5 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.03299, allocations: 16 kB / 386.5 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.03302, allocations: 20 kB / 386.5 MB, free: 7.664 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.03337, allocations: 195.6 kB / 386.7 MB, free: 7.473 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/0.03339, allocations: 35.86 kB / 386.7 MB, free: 7.438 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.0337, allocations: 163.5 kB / 386.9 MB, free: 7.277 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-05/0.03377, allocations: 71.94 kB / 387 MB, free: 7.207 MB / 314.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,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.0005517/0.03432, allocations: 0.7898 MB / 387.8 MB, free: 6.355 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.03449, allocations: 163.7 kB / 387.9 MB, free: 6.195 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003008/0.0375, allocations: 3.385 MB / 391.3 MB, free: 2.703 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.03751, allocations: 4 kB / 391.3 MB, free: 2.699 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.03752, allocations: 0 / 391.3 MB, free: 2.699 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.03752, allocations: 11.92 kB / 391.3 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004023/0.04155, allocations: 4.49 MB / 395.8 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.04155, allocations: 8 kB / 395.8 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.688e-05/0.04164, allocations: 35.92 kB / 395.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.04164, allocations: 4 kB / 395.9 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.991e-05/0.04172, allocations: 51.97 kB / 395.9 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.04173, allocations: 11.94 kB / 395.9 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.04173, allocations: 0 / 395.9 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003145/0.04487, allocations: 3.644 MB / 399.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.04491, allocations: 67.44 kB / 399.6 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.04506, allocations: 87.97 kB / 399.7 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/0.04537, allocations: 111.8 kB / 399.8 MB, free: 9.922 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004168/0.04578, allocations: 348.1 kB / 400.2 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.419e-05/0.04588, allocations: 67.95 kB / 400.2 MB, free: 9.516 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001421/0.04602, allocations: 255 kB / 400.5 MB, free: 9.266 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04602, allocations: 0 / 400.5 MB, free: 9.266 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007384/0.04676, allocations: 495.2 kB / 401 MB, free: 8.781 MB / 330.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.0006665/0.04743, allocations: 0.5216 MB / 401.5 MB, free: 8.285 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002076/0.0495, allocations: 2.789 MB / 404.3 MB, free: 5.266 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.0495, allocations: 0 / 404.3 MB, free: 5.266 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001349/0.05085, allocations: 1.849 MB / 406.1 MB, free: 3.266 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.05123, allocations: 133.9 kB / 406.3 MB, free: 3.133 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.05341, allocations: 2.334 MB / 408.6 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.05353, allocations: 212.8 kB / 408.8 MB, free: 496 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000254/0.05379, allocations: 184.9 kB / 409 MB, free: 312 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.868e-05/0.05387, allocations: 56.48 kB / 409 MB, free: 256 kB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.05387, allocations: 0 / 409 MB, free: 256 kB / 330.7 MB Notification: Performance of Templates: time 0.1098/0.1637, allocations: 18.67 MB / 427.7 MB, free: 61.65 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.3626952883787453]