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.0009893/0.0009893, allocations: 93.06 kB / 19.65 MB, free: 280 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.001098/0.001098, allocations: 173 kB / 23.03 MB, free: 1.547 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 1.001/1.001, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.04789/0.04789, allocations: 12.66 MB / 272.6 MB, free: 0.5117 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.963e-06/1.963e-06, allocations: 0 / 346.5 MB, free: 1.926 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.22e-05/3.416e-05, allocations: 5.703 kB / 346.5 MB, free: 1.922 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.003425/0.003459, allocations: 1.797 MB / 348.3 MB, free: 116 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003855/0.007314, allocations: 1.878 MB / 350.1 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004577/0.007772, allocations: 7.938 kB / 350.2 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004989/0.008271, allocations: 126.9 kB / 350.3 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006493/0.00892, allocations: 174.8 kB / 350.5 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.01123, allocations: 0.95 MB / 351.4 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001977/0.01321, allocations: 1.427 MB / 352.8 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002829/0.01349, allocations: 107.6 kB / 352.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.01461, allocations: 0.8189 MB / 353.8 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000854/0.01547, allocations: 490.6 kB / 354.2 MB, free: 10.12 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003942/0.01586, allocations: 140 kB / 354.4 MB, free: 9.988 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.01731, allocations: 0.9358 MB / 355.3 MB, free: 9.051 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.01756, allocations: 215.1 kB / 355.5 MB, free: 8.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006277/0.01818, allocations: 439.1 kB / 355.9 MB, free: 8.41 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002698/0.02088, allocations: 1.691 MB / 357.6 MB, free: 6.715 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.02089, allocations: 0 / 357.6 MB, free: 6.715 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.02089, allocations: 0 / 357.6 MB, free: 6.715 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.655e-05/0.02091, allocations: 4 kB / 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.002555/0.02347, allocations: 1.588 MB / 359.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.02352, allocations: 12.03 kB / 359.2 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004533/0.02397, allocations: 240.3 kB / 359.5 MB, free: 4.773 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006426/0.02461, allocations: 480.1 kB / 359.9 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.02478, allocations: 189.3 kB / 360.1 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.02491, allocations: 127.9 kB / 360.2 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/0.02706, allocations: 2.284 MB / 362.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.02708, allocations: 0 / 362.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.437e-05/0.02716, allocations: 55.98 kB / 362.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/0.02727, allocations: 93.22 kB / 362.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.02878, allocations: 1.404 MB / 364.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003543/0.03232, allocations: 4.566 MB / 368.6 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.03348, allocations: 1.193 MB / 369.8 MB, free: 9.879 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000934/0.03442, allocations: 1.127 MB / 371 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.829e-05/0.0345, allocations: 8 kB / 371 MB, free: 8.695 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001301/0.0358, allocations: 1.545 MB / 372.5 MB, free: 7.047 MB / 298.7 MB Notification: Performance of pre-optimization done (n=91): time 1.853e-06/0.0358, allocations: 0 / 372.5 MB, free: 7.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=91): time 0.00445/0.04025, allocations: 4.321 MB / 376.8 MB, free: 2.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002692/0.04052, allocations: 0.6457 MB / 377.5 MB, free: 1.809 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004091/0.04093, allocations: 0.5175 MB / 378 MB, free: 1.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.699e-05/0.041, allocations: 73.69 kB / 378.1 MB, free: 1.191 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.04121, allocations: 419.5 kB / 378.5 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.04138, allocations: 246.3 kB / 378.7 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003121/0.04169, allocations: 328.5 kB / 379 MB, free: 204 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.04181, allocations: 0.4887 MB / 379.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005405/0.04235, allocations: 0.6758 MB / 380.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000868/0.04322, allocations: 1.508 MB / 381.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.04473, allocations: 2.237 MB / 384 MB, free: 10.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/0.04474, allocations: 4 kB / 384 MB, free: 10.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.00193/0.04667, allocations: 2.181 MB / 386.1 MB, free: 8.098 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.04682, allocations: 340.9 kB / 386.5 MB, free: 7.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.04684, allocations: 20.12 kB / 386.5 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.04687, allocations: 20 kB / 386.5 MB, free: 7.664 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.04725, allocations: 207.6 kB / 386.7 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.04727, allocations: 27.88 kB / 386.7 MB, free: 7.434 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/0.04764, allocations: 155.1 kB / 386.9 MB, free: 7.281 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.369e-05/0.04772, allocations: 68 kB / 387 MB, free: 7.215 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.0007112/0.04843, allocations: 0.8072 MB / 387.8 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.04863, allocations: 159.7 kB / 387.9 MB, free: 6.195 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003071/0.0517, allocations: 3.385 MB / 391.3 MB, free: 2.703 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/0.05172, allocations: 11.98 kB / 391.3 MB, free: 2.691 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.05172, allocations: 0 / 391.3 MB, free: 2.691 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.05173, allocations: 3.938 kB / 391.3 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004197/0.05593, allocations: 4.498 MB / 395.8 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.05593, allocations: 0 / 395.8 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.05604, allocations: 35.92 kB / 395.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.05604, allocations: 0 / 395.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.827e-05/0.05612, allocations: 55.97 kB / 395.9 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.05613, allocations: 3.938 kB / 395.9 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.05613, allocations: 7.984 kB / 395.9 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003185/0.05931, allocations: 3.636 MB / 399.6 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/0.05938, allocations: 71.42 kB / 399.6 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.05954, allocations: 83.98 kB / 399.7 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/0.05986, allocations: 115.8 kB / 399.8 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004801/0.06034, allocations: 352.1 kB / 400.2 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.844e-05/0.06044, allocations: 67.89 kB / 400.2 MB, free: 9.516 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001798/0.06062, allocations: 251.1 kB / 400.5 MB, free: 9.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06062, allocations: 0 / 400.5 MB, free: 9.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001109/0.06173, allocations: 495.2 kB / 401 MB, free: 8.785 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.0007563/0.06248, allocations: 0.508 MB / 401.5 MB, free: 8.293 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00239/0.06487, allocations: 2.79 MB / 404.3 MB, free: 5.273 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.06488, allocations: 0 / 404.3 MB, free: 5.273 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/0.06627, allocations: 1.865 MB / 406.1 MB, free: 3.258 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.06668, allocations: 129.2 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.002727/0.06941, allocations: 2.333 MB / 408.6 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.06955, allocations: 208.8 kB / 408.8 MB, free: 500 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002862/0.06983, allocations: 193.4 kB / 409 MB, free: 308 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.068e-05/0.06992, allocations: 56.48 kB / 409 MB, free: 252 kB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.06992, allocations: 3.938 kB / 409 MB, free: 248 kB / 330.7 MB Notification: Performance of Templates: time 0.1374/0.2073, allocations: 19.97 MB / 429 MB, free: 60.09 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.4743949533440173]