Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.LoopAndArcweight.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.001547/0.001547, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001984/0.001984, allocations: 219.7 kB / 22.26 MB, free: 5.121 MB / 14.72 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] 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.08337/0.08337, allocations: 16.94 MB / 329.4 MB, free: 2.273 MB / 254.1 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.ConTest.LoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.LoopAndArcweight") translateModel(PNlib.Examples.ConTest.LoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.LoopAndArcweight") [Timeout 660] "Notification: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002508/0.002508, allocations: 71.89 kB / 460.2 MB, free: 1.789 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.138, allocations: 57.62 MB / 0.5057 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.LoopAndArcweight): time 0.004918/0.1429, allocations: 2.749 MB / 0.5084 GB, free: 5.332 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005127/0.148, allocations: 2.301 MB / 0.5107 GB, free: 3.027 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005442/0.1486, allocations: 15.94 kB / 0.5107 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005499/0.1491, allocations: 226.2 kB / 0.5109 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007247/0.1498, allocations: 262.2 kB / 0.5111 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002777/0.1526, allocations: 1.106 MB / 0.5122 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2913/0.4439, allocations: 2.543 MB / 0.5147 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007869/0.4447, allocations: 153.7 kB / 0.5148 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002234/0.447, allocations: 1.013 MB / 0.5158 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002374/0.4493, allocations: 0.8857 MB / 0.5167 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007934/0.4501, allocations: 204.2 kB / 0.5169 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002339/0.4525, allocations: 0.7439 MB / 0.5176 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007699/0.4532, allocations: 396.4 kB / 0.518 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001997/0.4552, allocations: 0.8628 MB / 0.5188 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005504/0.4607, allocations: 2.352 MB / 0.5211 GB, free: 9.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.4608, allocations: 0 / 0.5211 GB, free: 9.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4608, allocations: 1.125 kB / 0.5211 GB, free: 9.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.429e-05/0.4608, allocations: 0 / 0.5211 GB, free: 9.352 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.00581/0.4666, allocations: 2.649 MB / 0.5237 GB, free: 7.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.4667, allocations: 9.812 kB / 0.5237 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/0.4684, allocations: 366.8 kB / 0.5241 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.4697, allocations: 0.6966 MB / 0.5248 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003177/0.47, allocations: 0.6095 MB / 0.5254 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/0.4703, allocations: 190.5 kB / 0.5255 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004943/0.4753, allocations: 3.05 MB / 0.5285 GB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/0.4753, allocations: 6.891 kB / 0.5285 GB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002168/0.4755, allocations: 88.69 kB / 0.5286 GB, free: 5.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003003/0.4758, allocations: 164 kB / 0.5288 GB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003955/0.4798, allocations: 2.218 MB / 0.5309 GB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007761/0.4875, allocations: 5.671 MB / 0.5365 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002558/0.4901, allocations: 1.436 MB / 0.5379 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/0.4919, allocations: 1.264 MB / 0.5391 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001889/0.4938, allocations: 0.632 MB / 0.5397 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002974/0.4968, allocations: 1.718 MB / 0.5414 GB, free: 14.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=148): time 3.637e-06/0.4968, allocations: 0 / 0.5414 GB, free: 14.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.009586/0.5063, allocations: 5.377 MB / 0.5467 GB, free: 12.06 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000888/0.5072, allocations: 1.075 MB / 0.5477 GB, free: 10.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.5084, allocations: 0.6857 MB / 0.5484 GB, free: 10.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002269/0.5086, allocations: 107.3 kB / 0.5485 GB, free: 10.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005284/0.5092, allocations: 0.5262 MB / 0.549 GB, free: 9.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004562/0.5096, allocations: 404.5 kB / 0.5494 GB, free: 9.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006909/0.5103, allocations: 475.4 kB / 0.5498 GB, free: 9.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.5105, allocations: 332 kB / 0.5501 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.512, allocations: 0.9133 MB / 0.551 GB, free: 8.641 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002084/0.5141, allocations: 1.63 MB / 0.5526 GB, free: 7.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004377/0.5184, allocations: 3.618 MB / 0.5562 GB, free: 4.258 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.612e-05/0.5185, allocations: 10.86 kB / 0.5562 GB, free: 4.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00573/0.5242, allocations: 3.571 MB / 0.5597 GB, free: 1.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005426/0.5247, allocations: 0.6949 MB / 0.5603 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003543/0.5283, allocations: 1.958 MB / 0.5623 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.5295, allocations: 288 kB / 0.5625 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007408/0.5302, allocations: 235 kB / 0.5628 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009035/0.5311, allocations: 0.8186 MB / 0.5636 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.5323, allocations: 262.4 kB / 0.5638 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002219/0.5325, allocations: 116 kB / 0.5639 GB, free: 12.5 MB / 414.1 MB Warning: Assuming fixed start value for the following 36 variables: P2.enableOut.Index:DISCRETE(fixed = true protected = true ) 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 P2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" 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 P2.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" 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 ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" 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.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real P2.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 231 ($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,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,$whenCondition6,$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.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$PRE.P2.enableIn.disTAin[1],$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.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],$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.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition5,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition4,P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T1.outPlaces[2].disTransition,T1.outPlaces[2].enabledByInPlaces,P2.reStart,T1.firingCon,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P1.reStart,P1.disMarksOut.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,P1.delayPassedOut.vec[1],P1.delayPassedIn.vec[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntOut[2],P2.delayPassedIn.vec[1],T1.activation.disPlaceOut[2],T1.activation.maxTokensInt[2],T1.activation.tIntOut[2],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.feeding.vec[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.enableIn.TEin[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.fireIn[1],$PRE.P2.fireIn[1],T1.fire_,T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.emptied[2],T1.activation.emptied[1],T1.activation.fed[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[1],$PRE.P1.fireIn[1],$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 21 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.002418/0.535, allocations: 1.467 MB / 0.5653 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004543/0.5354, allocations: 151.4 kB / 0.5655 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007303/0.5427, allocations: 4.38 MB / 0.5698 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.5427, allocations: 8 kB / 0.5698 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.5427, allocations: 4 kB / 0.5698 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.5427, allocations: 3.984 kB / 0.5698 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/0.5542, allocations: 6.377 MB / 0.576 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007014/0.5612, allocations: 4.232 MB / 0.5801 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.5615, allocations: 55.62 kB / 0.5802 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005669/0.562, allocations: 191.6 kB / 0.5804 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002531/0.5623, allocations: 87.95 kB / 0.5805 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008745/0.5632, allocations: 0.7938 MB / 0.5812 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5632, allocations: 0 / 0.5812 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/0.5744, allocations: 6.523 MB / 0.5876 GB, free: 3.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/0.5746, allocations: 103.1 kB / 0.5877 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00045/0.5751, allocations: 156 kB / 0.5879 GB, free: 3.496 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000959/0.576, allocations: 149.8 kB / 0.588 GB, free: 3.352 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006721/0.5767, allocations: 350.2 kB / 0.5883 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002553/0.5769, allocations: 106 kB / 0.5884 GB, free: 2.914 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005285/0.5775, allocations: 386.8 kB / 0.5888 GB, free: 2.535 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5775, allocations: 0 / 0.5888 GB, free: 2.535 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002216/0.5797, allocations: 0.5928 MB / 0.5894 GB, free: 1.941 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 119 (P2.disMarksInOut,$cse3[1],$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,P1.outTransition[1].tokenInOut,P1.disMarksInOut,P1.fireIn[1],P1.fireOut[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.disTAin[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.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.disTAout[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.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T1.activation.fed[1],T1.activation.emptied[1],T1.activation.emptied[2],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyOutputActiveVec[2],T1.activation.NoTokens,T1.fire_,P2.fireIn[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.disTAin[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.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue,$whenCondition6,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.delayPassedOut.anytrue,P2.delayPassedOut.numtrue) * Number of discrete states: 106 (P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,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,P2.enableOut.arcWeightSum,$whenCondition6,P1.disMarksInOut,P2.fireIn[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P1.fireIn[1],P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.disMarksIn.numtrue,P2.disMarksOut.numtrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyOutputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P2.enableIn.TEin_[1],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,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$whenCondition3,P2.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],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,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],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,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition1,P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 40 * Array equations: 1 * Algorithm blocks: 17 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001199/0.5809, allocations: 0.5033 MB / 0.5899 GB, free: 1.453 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006455/0.5873, allocations: 4.1 MB / 0.5939 GB, free: 13.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.5873, allocations: 448 / 0.5939 GB, free: 13.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003865/0.5912, allocations: 2.759 MB / 0.5966 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008997/0.5921, allocations: 189.9 kB / 0.5968 GB, free: 9.938 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006522/0.5986, allocations: 3.495 MB / 0.6002 GB, free: 6.414 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/0.5997, allocations: 1.276 MB / 0.6014 GB, free: 5.113 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006638/0.6004, allocations: 257.7 kB / 0.6017 GB, free: 4.859 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.6005, allocations: 75.42 kB / 0.6017 GB, free: 4.785 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6006, allocations: 0 / 0.6017 GB, free: 4.785 MB / 446.1 MB Notification: Performance of Templates: time 0.0494/0.65, allocations: 26.78 MB / 0.6279 GB, free: 9.824 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f PNlib_PNlib.Examples.ConTest.LoopAndArcweight.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.ConTest.LoopAndArcweight.sim & ./PNlib_PNlib.Examples.ConTest.LoopAndArcweight -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe 2>&1) [Timeout 480] diffSimulationResults("PNlib_PNlib.Examples.ConTest.LoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.LoopAndArcweight.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.LoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.441177639877424]