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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.ConTest.LoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.LoopAndArcweight") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001744, allocations: 101.7 kB / 16.35 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 188.6 kB / 17.29 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07474/0.07474, allocations: 16.73 MB / 307.9 MB, free: 14.25 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 66.27 kB / 373 MB, free: 48.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08292/0.08416, allocations: 53.46 MB / 426.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.LoopAndArcweight): time 0.003017/0.08722, allocations: 2.718 MB / 429.2 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003041/0.09027, allocations: 2.266 MB / 431.5 MB, free: 6.762 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002753/0.09056, allocations: 15.94 kB / 431.5 MB, free: 6.746 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.09091, allocations: 214.2 kB / 431.7 MB, free: 6.535 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004734/0.0914, allocations: 222.2 kB / 431.9 MB, free: 6.316 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.09292, allocations: 1.031 MB / 433 MB, free: 5.289 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001593/0.09452, allocations: 2.641 MB / 435.6 MB, free: 2.645 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003591/0.09489, allocations: 363.4 kB / 435.9 MB, free: 2.281 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006686/0.09557, allocations: 0.9738 MB / 436.9 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006542/0.09623, allocations: 0.7856 MB / 437.7 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002114/0.09645, allocations: 208 kB / 437.9 MB, free: 320 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007472/0.0972, allocations: 0.6049 MB / 438.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003447/0.09756, allocations: 374.6 kB / 438.9 MB, free: 15.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008096/0.09838, allocations: 0.8751 MB / 439.8 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00202/0.1004, allocations: 2.306 MB / 442.1 MB, free: 12.15 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1004, allocations: 4 kB / 442.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1004, allocations: 0 / 442.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.1005, allocations: 0 / 442.1 MB, free: 12.14 MB / 318.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.002744/0.1032, allocations: 2.367 MB / 444.4 MB, free: 9.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1032, allocations: 11.89 kB / 444.4 MB, free: 9.582 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/0.1048, allocations: 350.9 kB / 444.8 MB, free: 9.238 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.106, allocations: 0.7596 MB / 445.5 MB, free: 8.438 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000311/0.1063, allocations: 393.8 kB / 445.9 MB, free: 7.996 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002634/0.1066, allocations: 187.9 kB / 446.1 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004326/0.1109, allocations: 3.052 MB / 449.2 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/0.111, allocations: 4 kB / 449.2 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/0.1112, allocations: 83.97 kB / 449.3 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002253/0.1114, allocations: 162.4 kB / 449.4 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003439/0.1148, allocations: 2.223 MB / 451.6 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007656/0.1225, allocations: 5.734 MB / 457.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003419/0.126, allocations: 2.926 MB / 460.3 MB, free: 9.332 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002788/0.1288, allocations: 2.753 MB / 463 MB, free: 6.574 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004221/0.133, allocations: 5.817 MB / 468.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002579/0.1356, allocations: 1.716 MB / 470.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=148): time 2.786e-06/0.1356, allocations: 0 / 470.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=148): time 0.008432/0.1441, allocations: 5.437 MB / 476 MB, free: 8.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000598/0.1447, allocations: 1.07 MB / 477.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008731/0.1456, allocations: 0.6853 MB / 477.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001666/0.1457, allocations: 109.6 kB / 477.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/0.1461, allocations: 0.5114 MB / 478.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003449/0.1465, allocations: 395.2 kB / 478.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005738/0.1471, allocations: 467.7 kB / 479.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1472, allocations: 334 kB / 479.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.1486, allocations: 0.9138 MB / 480.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/0.1504, allocations: 1.635 MB / 482.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003629/0.154, allocations: 3.611 MB / 485.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.177e-05/0.1541, allocations: 8 kB / 485.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004973/0.1591, allocations: 3.568 MB / 489.3 MB, free: 9.633 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004044/0.1595, allocations: 0.6949 MB / 490 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003137/0.1626, allocations: 1.956 MB / 491.9 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.1638, allocations: 294.1 kB / 492.2 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006913/0.1645, allocations: 235.5 kB / 492.5 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00078/0.1653, allocations: 0.8214 MB / 493.3 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.1663, allocations: 253.9 kB / 493.5 MB, free: 5.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/0.1666, allocations: 116 kB / 493.6 MB, free: 5.047 MB / 366.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.001948/0.1685, allocations: 1.463 MB / 495.1 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004364/0.169, allocations: 146.8 kB / 495.3 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006382/0.1754, allocations: 4.379 MB / 499.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.1754, allocations: 4 kB / 499.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1754, allocations: 4 kB / 499.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.1754, allocations: 3.984 kB / 499.6 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009374/0.1848, allocations: 6.398 MB / 0.4942 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006086/0.1909, allocations: 4.225 MB / 0.4983 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.1912, allocations: 51.91 kB / 0.4984 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005454/0.1918, allocations: 200.2 kB / 0.4985 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002061/0.192, allocations: 87.94 kB / 0.4986 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007305/0.1927, allocations: 0.7865 MB / 0.4994 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1927, allocations: 0 / 0.4994 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1854/0.3782, allocations: 6.499 MB / 0.5057 GB, free: 82.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.3783, allocations: 180.6 kB / 0.5059 GB, free: 82.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003408/0.3787, allocations: 157.8 kB / 0.5061 GB, free: 82.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008299/0.3795, allocations: 149.3 kB / 0.5062 GB, free: 82.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005311/0.3801, allocations: 337.3 kB / 0.5065 GB, free: 82.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002157/0.3803, allocations: 106.1 kB / 0.5066 GB, free: 82.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003944/0.3807, allocations: 384 kB / 0.507 GB, free: 82.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3807, allocations: 0 / 0.507 GB, free: 82.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001549/0.3822, allocations: 0.5888 MB / 0.5076 GB, free: 82.02 MB / 382.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.0008162/0.3831, allocations: 0.502 MB / 0.5081 GB, free: 81.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005184/0.3883, allocations: 4.606 MB / 0.5126 GB, free: 79.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.3883, allocations: 0.6562 kB / 0.5126 GB, free: 79.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003929/0.3922, allocations: 5.791 MB / 0.5182 GB, free: 75.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007977/0.3931, allocations: 191.7 kB / 0.5184 GB, free: 75.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/0.3978, allocations: 3.438 MB / 0.5218 GB, free: 74.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000637/0.3985, allocations: 1.285 MB / 0.523 GB, free: 72.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004865/0.3989, allocations: 262.8 kB / 0.5233 GB, free: 72.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.3991, allocations: 74.95 kB / 0.5233 GB, free: 72.77 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3991, allocations: 0 / 0.5233 GB, free: 72.77 MB / 382.1 MB Notification: Performance of Templates: time 0.03006/0.4291, allocations: 25.33 MB / 0.5481 GB, free: 47.52 MB / 382.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.LoopAndArcweight.makefile (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 -s gbode -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ConTest.LoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.LoopAndArcweight.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.LoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches