Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TDSuniform.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.0009821/0.0009821, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001051/0.001051, allocations: 169 kB / 23.27 MB, free: 1.223 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.9903/0.9903, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.04823/0.04823, allocations: 12.66 MB / 272.9 MB, free: 368 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.ExtTest.TDSuniform,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TDSuniform") translateModel(PNlib.Examples.ExtTest.TDSuniform,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TDSuniform") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 346.9 MB, free: 1.664 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.455e-05, allocations: 4.703 kB / 346.9 MB, free: 1.66 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TDSuniform): time 0.003897/0.003922, allocations: 2.292 MB / 349.2 MB, free: 15.36 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00751/0.01143, allocations: 4.216 MB / 353.4 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000924/0.01236, allocations: 15.88 kB / 353.4 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006184/0.01297, allocations: 186.5 kB / 353.6 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008029/0.01378, allocations: 250.2 kB / 353.9 MB, free: 10.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003906/0.01768, allocations: 1.664 MB / 355.5 MB, free: 9.008 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002882/0.02057, allocations: 2.563 MB / 358.1 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003366/0.0209, allocations: 124.6 kB / 358.2 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.02247, allocations: 1.412 MB / 359.6 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.02348, allocations: 0.5881 MB / 360.2 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003435/0.02382, allocations: 160 kB / 360.4 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.02521, allocations: 0.9709 MB / 361.3 MB, free: 3.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.0255, allocations: 278.7 kB / 361.6 MB, free: 2.891 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006147/0.02611, allocations: 0.5145 MB / 362.1 MB, free: 2.375 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003354/0.02947, allocations: 1.897 MB / 364 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.02948, allocations: 0 / 364 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.02948, allocations: 4 kB / 364 MB, free: 480 kB / 282.7 MB Notification: Performance of Transformations before backend: time 6.258e-05/0.02954, allocations: 0 / 364 MB, free: 480 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002545/0.03209, allocations: 2.234 MB / 366.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.03213, allocations: 8.031 kB / 366.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005934/0.03273, allocations: 312.1 kB / 366.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006468/0.03337, allocations: 0.5366 MB / 367.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.03352, allocations: 204.8 kB / 367.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.03368, allocations: 147.9 kB / 367.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.03577, allocations: 2.544 MB / 370 MB, free: 9.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.03579, allocations: 11.88 kB / 370 MB, free: 9.898 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.755e-05/0.03589, allocations: 67.97 kB / 370.1 MB, free: 9.832 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/0.036, allocations: 97.91 kB / 370.2 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.03721, allocations: 1.435 MB / 371.6 MB, free: 8.195 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003982/0.04119, allocations: 5.952 MB / 377.6 MB, free: 2.062 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.04225, allocations: 1.31 MB / 378.9 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008349/0.04308, allocations: 1.215 MB / 380.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.609e-05/0.04316, allocations: 16.5 kB / 380.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001337/0.04449, allocations: 1.895 MB / 382 MB, free: 13.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=150): time 2.645e-06/0.0445, allocations: 0 / 382 MB, free: 13.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=150): time 0.004306/0.0488, allocations: 4.892 MB / 386.9 MB, free: 7.969 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004901/0.04929, allocations: 1.154 MB / 388.1 MB, free: 6.594 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005736/0.04987, allocations: 0.6342 MB / 388.7 MB, free: 5.941 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001172/0.04998, allocations: 109.7 kB / 388.8 MB, free: 5.828 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/0.05028, allocations: 484.5 kB / 389.3 MB, free: 5.348 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.05057, allocations: 409 kB / 389.7 MB, free: 4.945 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004379/0.05101, allocations: 473.5 kB / 390.1 MB, free: 4.477 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.05115, allocations: 0.5081 MB / 390.6 MB, free: 3.961 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006238/0.05178, allocations: 0.9467 MB / 391.6 MB, free: 2.875 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.05303, allocations: 2.136 MB / 393.7 MB, free: 136 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002165/0.0552, allocations: 3.311 MB / 397 MB, free: 12.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.95e-05/0.05521, allocations: 8 kB / 397 MB, free: 12.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002521/0.05774, allocations: 3.192 MB / 400.2 MB, free: 8.664 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002781/0.05801, allocations: 0.681 MB / 400.9 MB, free: 7.848 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/0.05804, allocations: 20 kB / 400.9 MB, free: 7.828 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.508e-05/0.05807, allocations: 28 kB / 401 MB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005248/0.0586, allocations: 315.3 kB / 401.3 MB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-05/0.05863, allocations: 47.84 kB / 401.3 MB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005246/0.05915, allocations: 223.1 kB / 401.5 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.05926, allocations: 95.98 kB / 401.6 MB, free: 7.133 MB / 330.7 MB Warning: Assuming fixed start value for the following 47 variables: 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 P2.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P2.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P2.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P2.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P2.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" 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 P2.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P2.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P2.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P2.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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 T1.fire:DISCRETE(fixed = true ) \"Does the transition fire?\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 249 ($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.P2.enableIn.valid,P2.enableIn.valid,$PRE.P2.enableIn.benefitLimit,P2.enableIn.benefitLimit,$PRE.P2.enableIn.benefitMax,P2.enableIn.benefitMax,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],$PRE.P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.reStart,$whenCondition8,$PRE.P1.reStart,$whenCondition5,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition3,$whenCondition4,$PRE.P2.firingSumOut.firingSum,$PRE.P2.firingSumIn.firingSum,P2.tokeninout,$whenCondition6,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.tokenChange.vec[1],$PRE.P1.tokeninout,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$PRE.P2.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,P2.enableOut.arcWeightSum,$PRE.P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,$whenCondition2,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,P1.outTransition[1].fed,P2.inTransition[1].emptied,P2.enableIn.disTransition[1],P1.reStart,P2.reStart,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,$PRE.T1.r128,$PRE.T1.state128[4],$PRE.T1.state128[3],$PRE.T1.state128[2],$PRE.T1.state128[1],$PRE.T1.fire,$PRE.T1.putDelay,$PRE.T1.putFireTime,$PRE.P2.enableIn.arcWeightSum,$PRE.P2.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],P2.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.r128,T1.state128[4],T1.state128[3],T1.state128[2],T1.state128[1],T1.outPlaces[1].enabledByInPlaces,T1.fire,T1.active,T1.putDelay,T1.putFireTime,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.enableIn.TAein[1],P2.firingSumIn.firingSum,P2.firingSumIn.arcWeight[1],P2.firingSumIn.fire[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedIn.vec[1],P2.t,$PRE.P2.t,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.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,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,P2.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 (249): * Single equations (assignments): 226 * Array equations: 1 * Algorithm blocks: 22 * 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.001189/0.06044, allocations: 1.268 MB / 402.9 MB, free: 5.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003183/0.06076, allocations: 231.4 kB / 403.1 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002832/0.0636, allocations: 3.341 MB / 406.5 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/0.06362, allocations: 11.98 kB / 406.5 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.06362, allocations: 7.938 kB / 406.5 MB, free: 2.008 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.06363, allocations: 3.984 kB / 406.5 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003735/0.06737, allocations: 4.178 MB / 410.7 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.06737, allocations: 0 / 410.7 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.06749, allocations: 43.92 kB / 410.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.0675, allocations: 7.984 kB / 410.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/0.06762, allocations: 75.97 kB / 410.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/0.06762, allocations: 15.92 kB / 410.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.06763, allocations: 7.938 kB / 410.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003608/0.07124, allocations: 4.319 MB / 415.1 MB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-05/0.07134, allocations: 87.19 kB / 415.2 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/0.0716, allocations: 148 kB / 415.4 MB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/0.07197, allocations: 131.8 kB / 415.5 MB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004658/0.07243, allocations: 372.1 kB / 415.8 MB, free: 8.207 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.07255, allocations: 91.94 kB / 415.9 MB, free: 8.117 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001969/0.07275, allocations: 283 kB / 416.2 MB, free: 7.844 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07275, allocations: 3.938 kB / 416.2 MB, free: 7.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001655/0.0744, allocations: 0.6084 MB / 416.8 MB, free: 7.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 137 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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,$whenCondition2,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.enableOut.benefitMax,P2.enableOut.valid,P2.enableOut.benefitLimit,$whenCondition9,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,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,P2.t,P2.tokeninout,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.enableIn.TAein[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.enableIn.benefitMax,P2.enableIn.valid,P2.enableIn.benefitLimit,T1.putFireTime,T1.putDelay,T1.active,T1.fire,T1.outPlaces[1].enabledByInPlaces,T1.state128[1],T1.state128[2],T1.state128[3],T1.state128[4],T1.r128,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,T1.tokenChange.vec[1],T1.tokenChange.anytrue,T1.tokenChange.numtrue) * Number of discrete states: 110 (P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.activeOut[1],P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.t,P2.t,P1.tokeninout,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.activation.active,T1.delayPassed,T1.putFireTime,$whenCondition11,T1.putDelay,T1.state128[4],T1.state128[3],T1.state128[2],T1.state128[1],T1.r128,$whenCondition10,T1.fire,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,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,$whenCondition13,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P2.enableIn.TEin_[1],P2.enableIn.valid,P2.enableIn.benefitLimit,P2.enableIn.benefitMax,P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,$whenCondition12,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P2.enableOut.benefitLimit,P2.enableOut.valid,P2.enableOut.benefitMax,P2.enableOut.Index,P2.enableOut.endWhile,P2.enableOut.sumEnablingProbTAout,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.nTAout,P2.enableOut.nremTAout,$whenCondition2,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 43 * Array equations: 1 * Algorithm blocks: 17 * 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.0009251/0.07533, allocations: 0.6178 MB / 417.4 MB, free: 6.617 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003435/0.07876, allocations: 4.065 MB / 421.5 MB, free: 2.039 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.07877, allocations: 0 / 421.5 MB, free: 2.039 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1259/0.2047, allocations: 2.574 MB / 424.1 MB, free: 83.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009228/0.2056, allocations: 197.4 kB / 424.3 MB, free: 83.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003671/0.2093, allocations: 3.059 MB / 427.3 MB, free: 81.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.2095, allocations: 259.7 kB / 427.6 MB, free: 81.71 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003872/0.2099, allocations: 119.9 kB / 427.7 MB, free: 81.7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/0.211, allocations: 0.566 MB / 428.3 MB, free: 81.64 MB / 346.7 MB Notification: Performance of SimCode: time 2.204e-06/0.211, allocations: 0 / 428.3 MB, free: 81.64 MB / 346.7 MB Notification: Performance of Templates: time 0.02541/0.2364, allocations: 25.68 MB / 454 MB, free: 63.69 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.ExtTest.TDSuniform.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.ExtTest.TDSuniform.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TDSuniform.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TDSuniform.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.TDSuniform.sim & ./PNlib_PNlib.Examples.ExtTest.TDSuniform -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ExtTest.TDSuniform.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.ExtTest.TDSuniform_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TDSuniform.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.5613266387954354]