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: "" <> buildModelFMU(PNlib.Examples.ConTest.LoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_ConTest_LoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ConTest.LoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_ConTest_LoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01069/0.01069, allocations: 103.1 kB / 15.73 MB, free: 6.051 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.001899/0.001899, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07553/0.07553, allocations: 16.73 MB / 307.3 MB, free: 14.19 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001655, allocations: 60.09 kB / 425.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1435, allocations: 53.47 MB / 479.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.LoopAndArcweight): time 0.005067/0.1487, allocations: 2.712 MB / 482 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004971/0.1537, allocations: 2.266 MB / 484.3 MB, free: 460 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.1548, allocations: 15.94 kB / 484.3 MB, free: 444 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008144/0.1556, allocations: 214.3 kB / 484.5 MB, free: 228 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.157, allocations: 218.3 kB / 484.7 MB, free: 8 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002973/0.16, allocations: 1.036 MB / 485.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004415/0.1644, allocations: 2.637 MB / 488.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007234/0.1652, allocations: 367.3 kB / 488.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001788/0.167, allocations: 0.9816 MB / 489.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001908/0.1689, allocations: 0.7816 MB / 490.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008601/0.1698, allocations: 204 kB / 490.7 MB, free: 9.996 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.1714, allocations: 0.6048 MB / 491.3 MB, free: 9.391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006362/0.172, allocations: 378.7 kB / 491.7 MB, free: 9.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001732/0.1738, allocations: 0.8751 MB / 492.5 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003672/0.1775, allocations: 2.332 MB / 494.9 MB, free: 5.805 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1775, allocations: 0 / 494.9 MB, free: 5.805 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1775, allocations: 0 / 494.9 MB, free: 5.805 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.631e-05/0.1776, allocations: 0 / 494.9 MB, free: 5.805 MB / 366.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.005372/0.1829, allocations: 2.368 MB / 497.2 MB, free: 3.254 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.849e-05/0.183, allocations: 19.83 kB / 497.3 MB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008026/0.1838, allocations: 264.6 kB / 497.5 MB, free: 2.965 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/0.1859, allocations: 354.9 kB / 497.9 MB, free: 2.617 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.1875, allocations: 0.7554 MB / 498.6 MB, free: 1.824 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004462/0.188, allocations: 381.8 kB / 499 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004989/0.1885, allocations: 191.9 kB / 499.2 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006351/0.1949, allocations: 3.051 MB / 0.4905 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.817e-05/0.1949, allocations: 3.938 kB / 0.4905 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002774/0.1952, allocations: 91.95 kB / 0.4906 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002921/0.1955, allocations: 154.4 kB / 0.4907 GB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005205/0.2007, allocations: 2.224 MB / 0.4929 GB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0114/0.2121, allocations: 5.742 MB / 0.4985 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003847/0.216, allocations: 2.925 MB / 0.5013 GB, free: 2.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2719/0.488, allocations: 2.748 MB / 0.504 GB, free: 34.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003857/0.4919, allocations: 5.817 MB / 0.5097 GB, free: 27.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00417/0.4961, allocations: 1.717 MB / 0.5114 GB, free: 27.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 4.839e-06/0.4961, allocations: 0 / 0.5114 GB, free: 27.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.009582/0.5057, allocations: 5.433 MB / 0.5167 GB, free: 25.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006014/0.5064, allocations: 1.072 MB / 0.5177 GB, free: 24.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.5075, allocations: 0.6908 MB / 0.5184 GB, free: 24.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002326/0.5078, allocations: 106.2 kB / 0.5185 GB, free: 24.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004542/0.5082, allocations: 0.5109 MB / 0.519 GB, free: 24.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004412/0.5087, allocations: 393.2 kB / 0.5194 GB, free: 23.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008996/0.5096, allocations: 469.2 kB / 0.5198 GB, free: 23.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5097, allocations: 335.5 kB / 0.5201 GB, free: 23.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/0.5116, allocations: 0.9131 MB / 0.521 GB, free: 23.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002411/0.514, allocations: 1.631 MB / 0.5226 GB, free: 21.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004057/0.5181, allocations: 3.625 MB / 0.5262 GB, free: 18.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.469e-05/0.5181, allocations: 6.719 kB / 0.5262 GB, free: 18.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005479/0.5236, allocations: 3.557 MB / 0.5296 GB, free: 17.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000334/0.524, allocations: 0.7022 MB / 0.5303 GB, free: 16.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002831/0.5268, allocations: 1.948 MB / 0.5322 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.528, allocations: 291.3 kB / 0.5325 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007393/0.5287, allocations: 237 kB / 0.5327 GB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000642/0.5294, allocations: 0.814 MB / 0.5335 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.5306, allocations: 259.1 kB / 0.5338 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/0.5307, allocations: 117.1 kB / 0.5339 GB, free: 14.83 MB / 382.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.001736/0.5325, allocations: 1.473 MB / 0.5353 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003545/0.5328, allocations: 142.1 kB / 0.5355 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005069/0.5379, allocations: 4.365 MB / 0.5397 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.538, allocations: 8 kB / 0.5397 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.538, allocations: 7.938 kB / 0.5397 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.538, allocations: 3.984 kB / 0.5398 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/0.5493, allocations: 6.405 MB / 0.546 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00825/0.5576, allocations: 4.216 MB / 0.5501 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004195/0.5581, allocations: 56.78 kB / 0.5502 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008244/0.5589, allocations: 190.9 kB / 0.5504 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003548/0.5593, allocations: 95.69 kB / 0.5505 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.5604, allocations: 0.7864 MB / 0.5512 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5604, allocations: 0 / 0.5512 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01514/0.5755, allocations: 6.506 MB / 0.5576 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003574/0.576, allocations: 185.1 kB / 0.5577 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005469/0.5765, allocations: 159.8 kB / 0.5579 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.5776, allocations: 147.9 kB / 0.558 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006881/0.5783, allocations: 344.2 kB / 0.5584 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003062/0.5787, allocations: 103.5 kB / 0.5585 GB, free: 6.922 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005611/0.5792, allocations: 382.8 kB / 0.5588 GB, free: 6.547 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5793, allocations: 0 / 0.5588 GB, free: 6.547 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002257/0.5815, allocations: 0.5837 MB / 0.5594 GB, free: 5.973 MB / 398.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.01187/0.5934, allocations: 7.467 MB / 0.5667 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006248/0.5997, allocations: 4.599 MB / 0.5712 GB, free: 9.535 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.5998, allocations: 0 / 0.5712 GB, free: 9.535 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005392/0.6052, allocations: 5.792 MB / 0.5768 GB, free: 3.527 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.6065, allocations: 192.6 kB / 0.577 GB, free: 3.344 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02608/0.6326, allocations: 15.38 MB / 0.592 GB, free: 3.082 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/0.6343, allocations: 1.276 MB / 0.5933 GB, free: 1.777 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000803/0.6351, allocations: 264.5 kB / 0.5935 GB, free: 1.516 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007089/0.6359, allocations: 431.3 kB / 0.594 GB, free: 1.094 MB / 430.1 MB Notification: Performance of SimCode: time 1.823e-06/0.6359, allocations: 0 / 0.594 GB, free: 1.094 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0719/0.7078, allocations: 35.17 MB / 0.6283 GB, free: 13.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.56, allocations: 3.938 kB / 0.6283 GB, free: 13.8 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.ConTest.LoopAndArcweight_res.mat --tempDir=temp_PNlib_PNlib_Examples_ConTest_LoopAndArcweight_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_ConTest_LoopAndArcweight.fmu > 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) "" Variables in the reference:P1.t,P2.t,T1.fire,T1.instantaneousSpeed,T1.maximumSpeed,time Variables in the result:P1.N,P1.animateMarking,P1.color[1],P1.color[2],P1.color[3],P1.enablingPrioIn[1],P1.enablingPrioOut[1],P1.enablingProbIn[1],P1.enablingProbOut[1],P1.enablingType,P1.inTransition[1].active,P1.inTransition[1].arcWeight,P1.inTransition[1].arcWeightint,P1.inTransition[1].decreasingFactor,P1.inTransition[1].disPlace,P1.inTransition[1].disTransition,P1.inTransition[1].emptied,P1.inTransition[1].enable,P1.inTransition[1].enabledByInPlaces,P1.inTransition[1].fire,P1.inTransition[1].instSpeed,P1.inTransition[1].maxSpeed,P1.inTransition[1].maxTokens,P1.inTransition[1].maxTokensint,P1.inTransition[1].prelimSpeed,P1.inTransition[1].speedSum,P1.inTransition[1].t,P1.inTransition[1].tint,P1.levelCon,P1.localSeedIn,P1.localSeedOut,P1.maxMarks,P1.minMarks,P1.nIn,P1.nOut,P1.outTransition[1].active,P1.outTransition[1].arcType,P1.outTransition[1].arcWeight,P1.outTransition[1].arcWeightint,P1.outTransition[1].decreasingFactor,P1.outTransition[1].disPlace,P1.outTransition[1].disTransition,P1.outTransition[1].enable,P1.outTransition[1].fed,P1.outTransition[1].fire,P1.outTransition[1].instSpeed,P1.outTransition[1].maxSpeed,P1.outTransition[1].minTokens,P1.outTransition[1].minTokensint,P1.outTransition[1].normalArc,P1.outTransition[1].prelimSpeed,P1.outTransition[1].speedSum,P1.outTransition[1].t,P1.outTransition[1].testValue,P1.outTransition[1].testValueint,P1.outTransition[1].tint,P1.outTransition[1].tokenInOut,P1.pc_t,P1.reStart,P1.reStartMarks,P1.showCapacity,P1.showPlaceName,P1.showTokenFlow,P1.startMarks,P1.t,P1.t_,P2.N,P2.animateMarking,P2.color[1],P2.color[2],P2.color[3],P2.enablingPrioIn[1],P2.enablingProbIn[1],P2.enablingType,P2.inTransition[1].active,P2.inTransition[1].arcWeight,P2.inTransition[1].arcWeightint,P2.inTransition[1].decreasingFactor,P2.inTransition[1].disPlace,P2.inTransition[1].disTransition,P2.inTransition[1].emptied,P2.inTransition[1].enable,P2.inTransition[1].enabledByInPlaces,P2.inTransition[1].fire,P2.inTransition[1].instSpeed,P2.inTransition[1].maxSpeed,P2.inTransition[1].maxTokens,P2.inTransition[1].maxTokensint,P2.inTransition[1].prelimSpeed,P2.inTransition[1].speedSum,P2.inTransition[1].t,P2.inTransition[1].tint,P2.levelCon,P2.localSeedIn,P2.localSeedOut,P2.maxMarks,P2.minMarks,P2.nIn,P2.nOut,P2.pc_t,P2.reStart,P2.reStartMarks,P2.showCapacity,P2.showPlaceName,P2.showTokenFlow,P2.startMarks,P2.t,P2.t_,T1.actualSpeed,T1.animateSpeed,T1.arcWeightIn[1],T1.arcWeightOut[1],T1.arcWeightOut[2],T1.color[1],T1.color[2],T1.color[3],T1.fire,T1.firingCon,T1.inPlaces[1].active,T1.inPlaces[1].arcType,T1.inPlaces[1].arcWeight,T1.inPlaces[1].arcWeightint,T1.inPlaces[1].decreasingFactor,T1.inPlaces[1].disPlace,T1.inPlaces[1].disTransition,T1.inPlaces[1].enable,T1.inPlaces[1].fed,T1.inPlaces[1].fire,T1.inPlaces[1].instSpeed,T1.inPlaces[1].maxSpeed,T1.inPlaces[1].minTokens,T1.inPlaces[1].minTokensint,T1.inPlaces[1].normalArc,T1.inPlaces[1].prelimSpeed,T1.inPlaces[1].speedSum,T1.inPlaces[1].t,T1.inPlaces[1].testValue,T1.inPlaces[1].testValueint,T1.inPlaces[1].tint,T1.inPlaces[1].tokenInOut,T1.instantaneousSpeed,T1.maximumSpeed,T1.nIn,T1.nOut,T1.outPlaces[1].active,T1.outPlaces[1].arcWeight,T1.outPlaces[1].arcWeightint,T1.outPlaces[1].decreasingFactor,T1.outPlaces[1].disPlace,T1.outPlaces[1].disTransition,T1.outPlaces[1].emptied,T1.outPlaces[1].enable,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].fire,T1.outPlaces[1].instSpeed,T1.outPlaces[1].maxSpeed,T1.outPlaces[1].maxTokens,T1.outPlaces[1].maxTokensint,T1.outPlaces[1].prelimSpeed,T1.outPlaces[1].speedSum,T1.outPlaces[1].t,T1.outPlaces[1].tint,T1.outPlaces[2].active,T1.outPlaces[2].arcWeight,T1.outPlaces[2].arcWeightint,T1.outPlaces[2].decreasingFactor,T1.outPlaces[2].disPlace,T1.outPlaces[2].disTransition,T1.outPlaces[2].emptied,T1.outPlaces[2].enable,T1.outPlaces[2].enabledByInPlaces,T1.outPlaces[2].fire,T1.outPlaces[2].instSpeed,T1.outPlaces[2].maxSpeed,T1.outPlaces[2].maxTokens,T1.outPlaces[2].maxTokensint,T1.outPlaces[2].prelimSpeed,T1.outPlaces[2].speedSum,T1.outPlaces[2].t,T1.outPlaces[2].tint,T1.showTransitionName,der(P1.t_),der(P2.t_),settings.M,settings.N,settings.animateHazardFunc,settings.animateMarking,settings.animatePlace,settings.animatePutFireTime,settings.animateSpeed,settings.animateTIarc,settings.animateTransition,settings.animateWeightTIarc,settings.globalSeed,settings.scale,settings.showCapacity,settings.showPlaceName,settings.showTime,settings.showTokenFlow,settings.showTransitionName,settings.timeFire,time