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.00108/0.00108, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 212.1 kB / 22.25 MB, free: 3.586 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 0.9475/0.9475, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.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.05239/0.05239, allocations: 16.97 MB / 329.4 MB, free: 1.156 MB / 250.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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PNlib.Examples.ConTest.LoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_ConTest_LoopAndArcweight",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ConTest.LoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_ConTest_LoopAndArcweight",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 79.86 kB / 461.3 MB, free: 26.94 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07815/0.08038, allocations: 57.63 MB / 0.5067 GB, free: 1.219 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.LoopAndArcweight): time 0.003086/0.08347, allocations: 2.432 MB / 0.5091 GB, free: 14.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003081/0.08655, allocations: 2.221 MB / 0.5113 GB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004375/0.08698, allocations: 11.94 kB / 0.5113 GB, free: 12.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004159/0.0874, allocations: 234.2 kB / 0.5115 GB, free: 12.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005311/0.08793, allocations: 270.2 kB / 0.5118 GB, free: 12.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.08942, allocations: 1.1 MB / 0.5128 GB, free: 10.95 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001971/0.09139, allocations: 2.524 MB / 0.5153 GB, free: 8.418 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.09162, allocations: 151.9 kB / 0.5154 GB, free: 8.258 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006191/0.09224, allocations: 1.009 MB / 0.5164 GB, free: 7.246 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006839/0.09293, allocations: 0.8284 MB / 0.5172 GB, free: 6.414 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002061/0.09313, allocations: 204 kB / 0.5174 GB, free: 6.215 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007471/0.09388, allocations: 0.7061 MB / 0.5181 GB, free: 5.508 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.09412, allocations: 402.4 kB / 0.5185 GB, free: 5.113 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004576/0.09458, allocations: 0.7236 MB / 0.5192 GB, free: 4.387 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.09611, allocations: 2.359 MB / 0.5215 GB, free: 2.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.09611, allocations: 0 / 0.5215 GB, free: 2.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.09611, allocations: 0 / 0.5215 GB, free: 2.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.09613, allocations: 4 kB / 0.5215 GB, free: 2.016 MB / 378.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.002364/0.09849, allocations: 2.621 MB / 0.5241 GB, free: 15.22 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.09853, allocations: 8.031 kB / 0.5241 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002178/0.09875, allocations: 264.6 kB / 0.5243 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008365/0.09958, allocations: 367.7 kB / 0.5247 GB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007705/0.1004, allocations: 0.691 MB / 0.5254 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002517/0.1006, allocations: 0.6066 MB / 0.526 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.1008, allocations: 195.9 kB / 0.5261 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003468/0.1042, allocations: 4.143 MB / 0.5302 GB, free: 8.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.1043, allocations: 0 / 0.5302 GB, free: 8.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.1044, allocations: 87.97 kB / 0.5303 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001371/0.1045, allocations: 158.4 kB / 0.5304 GB, free: 8.277 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.1071, allocations: 2.97 MB / 0.5333 GB, free: 5.195 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004669/0.1118, allocations: 5.203 MB / 0.5384 GB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/0.1135, allocations: 2.165 MB / 0.5405 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001722/0.1153, allocations: 2.007 MB / 0.5425 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009489/0.1162, allocations: 0.6288 MB / 0.5431 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001819/0.118, allocations: 2.447 MB / 0.5455 GB, free: 8.195 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 1.713e-06/0.118, allocations: 0 / 0.5455 GB, free: 8.195 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.00628/0.1243, allocations: 7.072 MB / 0.5524 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1647/0.289, allocations: 1.056 MB / 0.5534 GB, free: 48.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007245/0.2897, allocations: 0.7138 MB / 0.5541 GB, free: 48.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002401/0.29, allocations: 104.6 kB / 0.5542 GB, free: 48.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.2902, allocations: 0.5233 MB / 0.5547 GB, free: 48.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/0.2905, allocations: 417.5 kB / 0.5551 GB, free: 47.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000396/0.2909, allocations: 469.6 kB / 0.5556 GB, free: 47.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.167e-05/0.2909, allocations: 333.9 kB / 0.5559 GB, free: 47.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.292, allocations: 1.586 MB / 0.5574 GB, free: 46.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.2933, allocations: 2.51 MB / 0.5599 GB, free: 44.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/0.2954, allocations: 3.662 MB / 0.5635 GB, free: 41.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/0.2955, allocations: 6.844 kB / 0.5635 GB, free: 41.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.003301/0.2988, allocations: 4.283 MB / 0.5677 GB, free: 38.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002155/0.299, allocations: 0.6822 MB / 0.5683 GB, free: 38.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002118/0.3011, allocations: 2.343 MB / 0.5706 GB, free: 36.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006963/0.3018, allocations: 286.4 kB / 0.5709 GB, free: 36.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.3022, allocations: 243.5 kB / 0.5711 GB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004532/0.3026, allocations: 0.8181 MB / 0.5719 GB, free: 36.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005412/0.3032, allocations: 264.5 kB / 0.5722 GB, free: 36.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.3033, allocations: 117.1 kB / 0.5723 GB, free: 36.07 MB / 410.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: 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.001173/0.3045, allocations: 1.452 MB / 0.5737 GB, free: 35.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/0.3047, allocations: 150.5 kB / 0.5738 GB, free: 35.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004326/0.309, allocations: 5.249 MB / 0.579 GB, free: 32.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.309, allocations: 11.45 kB / 0.579 GB, free: 32.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3091, allocations: 0 / 0.579 GB, free: 32.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.3091, allocations: 3.531 kB / 0.579 GB, free: 32.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005078/0.3141, allocations: 6.956 MB / 0.5858 GB, free: 26.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00345/0.3176, allocations: 5.123 MB / 0.5908 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.3177, allocations: 47.91 kB / 0.5908 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002709/0.318, allocations: 196.7 kB / 0.591 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.3181, allocations: 83.95 kB / 0.5911 GB, free: 20.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003274/0.3184, allocations: 0.7973 MB / 0.5919 GB, free: 20.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3184, allocations: 0 / 0.5919 GB, free: 20.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005689/0.3241, allocations: 8.296 MB / 0.6 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.3242, allocations: 107.1 kB / 0.6001 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/0.3244, allocations: 152 kB / 0.6002 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004175/0.3248, allocations: 155.9 kB / 0.6004 GB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003348/0.3251, allocations: 343.8 kB / 0.6007 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.3253, allocations: 99.95 kB / 0.6008 GB, free: 10.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002158/0.3255, allocations: 382.8 kB / 0.6012 GB, free: 10.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3255, allocations: 4 kB / 0.6012 GB, free: 10.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008849/0.3264, allocations: 0.6006 MB / 0.6018 GB, free: 9.629 MB / 410.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.006112/0.3325, allocations: 9.247 MB / 0.6108 GB, free: 60 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004067/0.3365, allocations: 5.569 MB / 0.6162 GB, free: 10 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3365, allocations: 0 / 0.6162 GB, free: 10 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00226/0.3388, allocations: 3.486 MB / 0.6196 GB, free: 6.195 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/0.3393, allocations: 198.4 kB / 0.6198 GB, free: 6.012 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/0.3544, allocations: 19.05 MB / 0.6384 GB, free: 1.449 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004937/0.3548, allocations: 0.683 MB / 0.6391 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000369/0.3552, allocations: 261.3 kB / 0.6393 GB, free: 484 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/0.3556, allocations: 435.3 kB / 0.6397 GB, free: 52 kB / 442.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3556, allocations: 3.938 kB / 0.6398 GB, free: 48 kB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09294/0.4485, allocations: 36.11 MB / 0.675 GB, free: 11.93 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.514/8.962, allocations: 11.86 kB / 0.675 GB, free: 11.92 MB / 490.7 MB " [Timeout remaining time 651] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.ConTest.LoopAndArcweight_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_ConTest_LoopAndArcweight_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_ConTest_LoopAndArcweight.fmu) > PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ConTest.LoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.LoopAndArcweight.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.ConTest.LoopAndArcweight_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.LoopAndArcweight_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.LoopAndArcweight_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.LoopAndArcweight_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.ConTest.LoopAndArcweight_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_ConTest_LoopAndArcweight_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_ConTest_LoopAndArcweight_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.ConTest.LoopAndArcweight_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ConTest.LoopAndArcweight_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.LoopAndArcweight.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.ConTest.LoopAndArcweight_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.LoopAndArcweight_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.LoopAndArcweight_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.LoopAndArcweight_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.ConTest.LoopAndArcweight_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_ConTest_LoopAndArcweight_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_ConTest_LoopAndArcweight_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.ConTest.LoopAndArcweight_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ConTest.LoopAndArcweight_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.LoopAndArcweight.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.ConTest.LoopAndArcweight_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.LoopAndArcweight_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.LoopAndArcweight_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.LoopAndArcweight_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.ConTest.LoopAndArcweight_fmpy_res.csv --output-variables P1.t P2.t T1.fire T1.instantaneousSpeed T1.maximumSpeed --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../PNlib_PNlib_Examples_ConTest_LoopAndArcweight.fmu) > PNlib_PNlib.Examples.ConTest.LoopAndArcweight_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ConTest.LoopAndArcweight_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.LoopAndArcweight.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.849435646086931]