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.00107/0.00107, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001045/0.001045, allocations: 169 kB / 24.05 MB, free: 460 kB / 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 1.051/1.051, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.05543/0.05543, allocations: 12.65 MB / 273.7 MB, free: 372 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.122e-06/1.122e-06, allocations: 0 / 347.7 MB, free: 2.715 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.572e-05, allocations: 2.312 kB / 347.7 MB, free: 2.711 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.00205/0.002066, allocations: 1.738 MB / 349.5 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.004372, allocations: 1.858 MB / 351.3 MB, free: 15.1 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.004542, allocations: 15.88 kB / 351.3 MB, free: 15.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.004816, allocations: 119 kB / 351.4 MB, free: 14.97 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.005126, allocations: 162.8 kB / 351.6 MB, free: 14.81 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.006256, allocations: 0.9575 MB / 352.6 MB, free: 13.85 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.007268, allocations: 1.428 MB / 354 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.007459, allocations: 111.6 kB / 354.1 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006102/0.008069, allocations: 0.815 MB / 354.9 MB, free: 11.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004345/0.008503, allocations: 494.5 kB / 355.4 MB, free: 11 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.008633, allocations: 140 kB / 355.5 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008424/0.009475, allocations: 0.9359 MB / 356.5 MB, free: 9.926 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.00965, allocations: 227.1 kB / 356.7 MB, free: 9.703 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003364/0.009987, allocations: 435.1 kB / 357.1 MB, free: 9.277 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.01131, allocations: 1.687 MB / 358.8 MB, free: 7.586 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.01131, allocations: 4 kB / 358.8 MB, free: 7.582 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.8e-07/0.01131, allocations: 0 / 358.8 MB, free: 7.582 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.01132, allocations: 0 / 358.8 MB, free: 7.582 MB / 330.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.01269, allocations: 1.599 MB / 360.4 MB, free: 5.875 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.01273, allocations: 8.031 kB / 360.4 MB, free: 5.867 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003671/0.0131, allocations: 240.3 kB / 360.6 MB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004686/0.01357, allocations: 436.2 kB / 361.1 MB, free: 5.176 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.01368, allocations: 197.3 kB / 361.3 MB, free: 4.961 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.01381, allocations: 127.9 kB / 361.4 MB, free: 4.836 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.0153, allocations: 1.921 MB / 363.3 MB, free: 2.695 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.01532, allocations: 7.938 kB / 363.3 MB, free: 2.688 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.43e-05/0.01541, allocations: 63.95 kB / 363.4 MB, free: 2.625 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.653e-05/0.0155, allocations: 89.23 kB / 363.5 MB, free: 2.539 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009046/0.01641, allocations: 1.053 MB / 364.5 MB, free: 1.438 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002911/0.01932, allocations: 4.352 MB / 368.9 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007793/0.0201, allocations: 0.9155 MB / 369.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006599/0.02076, allocations: 0.8653 MB / 370.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.102e-05/0.02081, allocations: 12 kB / 370.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009864/0.0218, allocations: 1.288 MB / 372 MB, free: 9.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=91): time 1.924e-06/0.0218, allocations: 0 / 372 MB, free: 9.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=91): time 0.003098/0.0249, allocations: 3.634 MB / 375.6 MB, free: 5.875 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002549/0.02515, allocations: 0.6418 MB / 376.2 MB, free: 5.117 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.02546, allocations: 0.5173 MB / 376.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.342e-05/0.02552, allocations: 73.69 kB / 376.8 MB, free: 4.504 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.02572, allocations: 419.5 kB / 377.2 MB, free: 4.086 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.02587, allocations: 258.1 kB / 377.5 MB, free: 3.832 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002859/0.02615, allocations: 344.2 kB / 377.8 MB, free: 3.488 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.02627, allocations: 0.4964 MB / 378.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.02662, allocations: 0.5391 MB / 378.9 MB, free: 2.383 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006956/0.02731, allocations: 1.379 MB / 380.2 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.02851, allocations: 2.085 MB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.02852, allocations: 8 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.001542/0.03006, allocations: 1.978 MB / 384.3 MB, free: 11.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.0302, allocations: 344.9 kB / 384.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.03022, allocations: 12 kB / 384.7 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.03024, allocations: 20 kB / 384.7 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.03057, allocations: 203.6 kB / 384.9 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/0.03059, allocations: 31.86 kB / 384.9 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/0.03091, allocations: 171.5 kB / 385.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.881e-05/0.03098, allocations: 63.98 kB / 385.1 MB, free: 11.1 MB / 362.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.000587/0.03157, allocations: 0.7927 MB / 385.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.03175, allocations: 155.7 kB / 386.1 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002581/0.03433, allocations: 2.959 MB / 389 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.03434, allocations: 8 kB / 389 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.03434, allocations: 0 / 389 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.03435, allocations: 3.984 kB / 389 MB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003463/0.03781, allocations: 3.897 MB / 392.9 MB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.03781, allocations: 0 / 392.9 MB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.473e-05/0.0379, allocations: 39.92 kB / 393 MB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.0379, allocations: 3.984 kB / 393 MB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.093e-05/0.03798, allocations: 55.97 kB / 393 MB, free: 2.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.03798, allocations: 0 / 393 MB, free: 2.891 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.03799, allocations: 0 / 393 MB, free: 2.891 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002776/0.04076, allocations: 3.214 MB / 396.3 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.04081, allocations: 59.44 kB / 396.3 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.04096, allocations: 91.91 kB / 396.4 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.04127, allocations: 107.9 kB / 396.5 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003907/0.04166, allocations: 356.1 kB / 396.9 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-05/0.04175, allocations: 63.97 kB / 396.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.04187, allocations: 239 kB / 397.2 MB, free: 14.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04187, allocations: 0 / 397.2 MB, free: 14.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009039/0.04278, allocations: 0.4914 MB / 397.6 MB, free: 14.16 MB / 378.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.0006746/0.04345, allocations: 0.5005 MB / 398.1 MB, free: 13.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.04509, allocations: 2.382 MB / 400.5 MB, free: 11.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.04509, allocations: 4 kB / 400.5 MB, free: 11.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.04619, allocations: 1.583 MB / 402.1 MB, free: 9.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.04659, allocations: 146.5 kB / 402.3 MB, free: 9.184 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.04865, allocations: 2.161 MB / 404.4 MB, free: 6.938 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.04877, allocations: 208.8 kB / 404.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001644/0.04894, allocations: 85.62 kB / 404.7 MB, free: 6.625 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006899/0.04963, allocations: 418 kB / 405.1 MB, free: 6.215 MB / 378.7 MB Notification: Performance of SimCode: time 6.42e-07/0.04963, allocations: 0 / 405.1 MB, free: 6.215 MB / 378.7 MB Notification: Performance of Templates: time 0.02002/0.06964, allocations: 20.62 MB / 425.7 MB, free: 1.559 MB / 394.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.4882074259221554]