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.001113/0.001113, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00157/0.002683, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001057/0.001057, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001457/0.002514, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.005/1.005, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08706/1.092, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.04943/0.04943, allocations: 12.66 MB / 256.8 MB, free: 2.277 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01297/0.0624, allocations: 4.687 MB / 261.5 MB, free: 13.57 MB / 266.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-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: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 262.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374e-05/1.493e-05, allocations: 2.312 kB / 262.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.LoopAndArcweight): time 0.002509/0.002524, allocations: 2.514 MB / 265.3 MB, free: 9.758 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003098/0.005622, allocations: 2.277 MB / 267.6 MB, free: 7.473 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002252/0.005847, allocations: 19.88 kB / 267.6 MB, free: 7.453 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.006153, allocations: 230.2 kB / 267.8 MB, free: 7.227 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003977/0.006551, allocations: 282.1 kB / 268.1 MB, free: 6.949 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.007686, allocations: 1.049 MB / 269.1 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001661/0.009348, allocations: 2.544 MB / 271.7 MB, free: 3.352 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.009565, allocations: 161.9 kB / 271.8 MB, free: 3.168 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009693/0.01053, allocations: 1.461 MB / 273.3 MB, free: 1.703 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006411/0.01118, allocations: 0.74 MB / 274 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002006/0.01138, allocations: 207.9 kB / 274.2 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006939/0.01207, allocations: 0.7411 MB / 275 MB, free: 16 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1137/0.1258, allocations: 320.7 kB / 275.3 MB, free: 5.098 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009097/0.1267, allocations: 499.2 kB / 275.8 MB, free: 5.098 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002353/0.1291, allocations: 1.749 MB / 277.5 MB, free: 4.977 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/0.1291, allocations: 0 / 277.5 MB, free: 4.977 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1291, allocations: 0 / 277.5 MB, free: 4.977 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.893e-05/0.1292, allocations: 0 / 277.5 MB, free: 4.977 MB / 266.7 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.003155/0.1323, allocations: 2.573 MB / 280.1 MB, free: 3.648 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.1323, allocations: 9.719 kB / 280.1 MB, free: 3.648 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.1335, allocations: 0.5997 MB / 280.7 MB, free: 3.555 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007064/0.1342, allocations: 472.4 kB / 281.2 MB, free: 3.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/0.1344, allocations: 0.6077 MB / 281.8 MB, free: 2.773 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002304/0.1347, allocations: 192.7 kB / 282 MB, free: 2.773 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00259/0.1373, allocations: 2.907 MB / 284.9 MB, free: 1.504 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.1373, allocations: 3 kB / 284.9 MB, free: 1.504 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.1374, allocations: 90.42 kB / 285 MB, free: 1.504 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001844/0.1376, allocations: 155.5 kB / 285.1 MB, free: 1.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001593/0.1392, allocations: 1.686 MB / 286.8 MB, free: 16.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00386/0.1431, allocations: 4.021 MB / 290.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009528/0.144, allocations: 1.545 MB / 292.4 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008001/0.1448, allocations: 1.367 MB / 293.7 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009211/0.1457, allocations: 0.662 MB / 294.4 MB, free: 13.44 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001235/0.147, allocations: 1.915 MB / 296.3 MB, free: 12.1 MB / 282.7 MB Notification: Performance of pre-optimization done (n=148): time 2.063e-06/0.147, allocations: 0 / 296.3 MB, free: 12.1 MB / 282.7 MB Notification: Performance of matching and sorting (n=148): time 0.003348/0.1503, allocations: 4.369 MB / 300.7 MB, free: 7.762 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002624/0.1506, allocations: 0.6716 MB / 301.4 MB, free: 6.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.1509, allocations: 0.5633 MB / 301.9 MB, free: 6.496 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.431e-05/0.151, allocations: 95.28 kB / 302 MB, free: 6.398 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.1512, allocations: 0.5096 MB / 302.5 MB, free: 5.879 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/0.1515, allocations: 405 kB / 302.9 MB, free: 5.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000368/0.1518, allocations: 467.5 kB / 303.4 MB, free: 5.016 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.659e-05/0.1519, allocations: 335.5 kB / 303.7 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006464/0.1526, allocations: 1.049 MB / 304.8 MB, free: 3.508 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.1537, allocations: 1.944 MB / 306.7 MB, free: 1.062 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.1555, allocations: 2.885 MB / 309.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.748e-05/0.1555, allocations: 4 kB / 309.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001914/0.1574, allocations: 2.835 MB / 312.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003159/0.1577, allocations: 0.6764 MB / 313.1 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001091/0.1588, allocations: 1.432 MB / 314.5 MB, free: 8.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004168/0.1592, allocations: 191.5 kB / 314.7 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004777/0.1597, allocations: 341.2 kB / 315.1 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004595/0.1601, allocations: 0.636 MB / 315.7 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004746/0.1606, allocations: 238.6 kB / 315.9 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.1607, allocations: 103.4 kB / 316 MB, free: 6.953 MB / 298.7 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: 228 ($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.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksOut.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,T1.activation.tIntIn[1],T1.activation.minTokensInt[1],T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],T1.activation.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.disPlaceOut[1],T1.activation.tIntOut[2],T1.activation.maxTokensInt[2],T1.activation.disPlaceOut[2],P2.delayPassedIn.vec[1],T1.activation.arcWeightIntOut[2],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],P1.delayPassedIn.vec[1],P1.delayPassedOut.vec[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],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],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],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,P1.reStart,P1.outTransition[1].tint,P1.outTransition[1].minTokensint,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,P1.inTransition[1].tint,P1.inTransition[1].maxTokensint,P1.inTransition[1].disPlace,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].disTransition,T1.firingCon,P2.reStart,T1.outPlaces[2].enabledByInPlaces,T1.outPlaces[2].disTransition,P2.inTransition[1].tint,P2.inTransition[1].maxTokensint,P2.inTransition[1].disPlace) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (238): * Single equations (assignments): 216 * 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.0008735/0.1616, allocations: 1.223 MB / 317.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002955/0.1619, allocations: 239.8 kB / 317.5 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/0.1642, allocations: 2.904 MB / 320.4 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.1642, allocations: 4 kB / 320.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.1642, allocations: 4 kB / 320.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.1642, allocations: 3.984 kB / 320.4 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003263/0.1675, allocations: 3.912 MB / 324.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002154/0.1696, allocations: 2.79 MB / 327.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.1697, allocations: 55.91 kB / 327.2 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.461e-05/0.1698, allocations: 95.12 kB / 327.2 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002136/0.17, allocations: 129.3 kB / 327.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.1701, allocations: 83.94 kB / 327.5 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002944/0.1704, allocations: 0.6169 MB / 328.1 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1704, allocations: 3.938 kB / 328.1 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004019/0.1745, allocations: 5.282 MB / 333.4 MB, free: 4.594 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/0.1747, allocations: 148 kB / 333.5 MB, free: 4.449 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/0.1751, allocations: 144 kB / 333.6 MB, free: 4.309 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003611/0.1755, allocations: 356.2 kB / 334 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.1756, allocations: 88.2 kB / 334.1 MB, free: 3.875 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.1757, allocations: 160.7 kB / 334.2 MB, free: 3.715 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1757, allocations: 0 / 334.2 MB, free: 3.715 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001093/0.1768, allocations: 0.6004 MB / 334.8 MB, free: 3.113 MB / 314.7 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.000696/0.1775, allocations: 0.5526 MB / 335.4 MB, free: 2.582 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002542/0.18, allocations: 4.376 MB / 339.8 MB, free: 13.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.116e-05/0.18, allocations: 8.5 kB / 339.8 MB, free: 13.69 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001865/0.1819, allocations: 2.872 MB / 342.6 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005836/0.1825, allocations: 0.6066 MB / 343.2 MB, free: 9.836 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00383/0.1863, allocations: 3.708 MB / 347 MB, free: 5.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.1865, allocations: 321.2 kB / 347.3 MB, free: 5.641 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002226/0.1868, allocations: 119.4 kB / 347.4 MB, free: 5.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009509/0.1877, allocations: 0.5461 MB / 347.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1877, allocations: 0 / 347.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of Templates: time 0.02806/0.2158, allocations: 27.13 MB / 375.1 MB, free: 9.898 MB / 362.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.ConTest.LoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.LoopAndArcweight.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.398819874972105]