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.001297/0.001297, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 164.7 kB / 23.01 MB, free: 4.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.385/1.385, allocations: 177.2 MB / 203.4 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.0761/0.0761, allocations: 12.66 MB / 272.4 MB, free: 4.176 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.ConTest.LoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.LoopAndArcweight") translateModel(PNlib.Examples.ConTest.LoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.LoopAndArcweight") [Timeout 660] "Notification: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 63.91 kB / 403.2 MB, free: 20 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09652/0.09858, allocations: 57.6 MB / 460.8 MB, free: 6.309 MB / 430.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.LoopAndArcweight): time 0.003841/0.1024, allocations: 2.456 MB / 463.3 MB, free: 3.844 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003948/0.1064, allocations: 2.215 MB / 465.5 MB, free: 1.621 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.1066, allocations: 19.88 kB / 465.5 MB, free: 1.602 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004563/0.1071, allocations: 226.2 kB / 465.7 MB, free: 1.379 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006427/0.1077, allocations: 262.2 kB / 466 MB, free: 1.121 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.1097, allocations: 1.103 MB / 467.1 MB, free: 20 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002665/0.1124, allocations: 2.513 MB / 469.6 MB, free: 13.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002887/0.1127, allocations: 152 kB / 469.8 MB, free: 13.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.1137, allocations: 1.009 MB / 470.8 MB, free: 12.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.1148, allocations: 0.8245 MB / 471.6 MB, free: 11.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002989/0.1151, allocations: 204 kB / 471.8 MB, free: 11.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.1162, allocations: 0.7061 MB / 472.5 MB, free: 10.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004079/0.1166, allocations: 406.4 kB / 472.9 MB, free: 10.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008146/0.1174, allocations: 0.7237 MB / 473.6 MB, free: 9.469 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002585/0.12, allocations: 2.348 MB / 476 MB, free: 7.113 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.12, allocations: 4 kB / 476 MB, free: 7.109 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.12, allocations: 3.938 kB / 476 MB, free: 7.105 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.12, allocations: 0 / 476 MB, free: 7.105 MB / 446.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.00345/0.1235, allocations: 2.621 MB / 478.6 MB, free: 4.305 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1235, allocations: 8.031 kB / 478.6 MB, free: 4.297 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.1251, allocations: 363.7 kB / 479 MB, free: 3.941 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.1264, allocations: 0.6912 MB / 479.6 MB, free: 3.223 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004978/0.1269, allocations: 0.6182 MB / 480.3 MB, free: 2.492 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002798/0.1272, allocations: 184 kB / 480.4 MB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1811/0.3084, allocations: 4.14 MB / 484.6 MB, free: 58.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.962e-05/0.3084, allocations: 4.969 kB / 484.6 MB, free: 58.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.3086, allocations: 91.44 kB / 484.7 MB, free: 58.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001921/0.3088, allocations: 157.1 kB / 484.8 MB, free: 58.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003286/0.312, allocations: 2.961 MB / 487.8 MB, free: 57.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005631/0.3177, allocations: 4.965 MB / 492.8 MB, free: 54.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/0.32, allocations: 2.17 MB / 494.9 MB, free: 53.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001856/0.3218, allocations: 2.01 MB / 496.9 MB, free: 51.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001596/0.3234, allocations: 0.626 MB / 497.6 MB, free: 51.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002262/0.3257, allocations: 2.451 MB / 0.4883 GB, free: 50.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=148): time 2.886e-06/0.3257, allocations: 0 / 0.4883 GB, free: 50.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=148): time 0.007824/0.3335, allocations: 7.053 MB / 0.4952 GB, free: 46.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003221/0.3338, allocations: 1.066 MB / 0.4962 GB, free: 45.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005841/0.3344, allocations: 0.6247 MB / 0.4968 GB, free: 45.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.3345, allocations: 103.9 kB / 0.4969 GB, free: 45.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.3348, allocations: 0.5382 MB / 0.4975 GB, free: 44.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.335, allocations: 409.4 kB / 0.4979 GB, free: 44.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004597/0.3355, allocations: 475.7 kB / 0.4983 GB, free: 44.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.313e-05/0.3355, allocations: 332.6 kB / 0.4986 GB, free: 44.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.3368, allocations: 1.584 MB / 0.5002 GB, free: 43.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/0.3384, allocations: 2.512 MB / 0.5026 GB, free: 41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002686/0.3411, allocations: 3.661 MB / 0.5062 GB, free: 38.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/0.3411, allocations: 6.156 kB / 0.5062 GB, free: 38.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004172/0.3453, allocations: 4.272 MB / 0.5104 GB, free: 35.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002322/0.3455, allocations: 0.6763 MB / 0.511 GB, free: 34.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002964/0.3485, allocations: 2.348 MB / 0.5133 GB, free: 33.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.3496, allocations: 290.7 kB / 0.5136 GB, free: 33.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/0.3502, allocations: 234.6 kB / 0.5138 GB, free: 33.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005827/0.3508, allocations: 0.8252 MB / 0.5146 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008856/0.3517, allocations: 250.2 kB / 0.5149 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/0.3519, allocations: 114.6 kB / 0.515 GB, free: 32.81 MB / 446.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.001364/0.3533, allocations: 1.462 MB / 0.5164 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003383/0.3536, allocations: 144.6 kB / 0.5165 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006135/0.3597, allocations: 5.231 MB / 0.5217 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.3598, allocations: 14.84 kB / 0.5217 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3598, allocations: 1.219 kB / 0.5217 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.3598, allocations: 4.469 kB / 0.5217 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008223/0.368, allocations: 6.741 MB / 0.5283 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005967/0.374, allocations: 5.109 MB / 0.5332 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.3742, allocations: 49.88 kB / 0.5333 GB, free: 23.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000524/0.3747, allocations: 195.5 kB / 0.5335 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001899/0.3749, allocations: 87.72 kB / 0.5336 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005633/0.3755, allocations: 0.7974 MB / 0.5343 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3755, allocations: 2.266 kB / 0.5343 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009926/0.3854, allocations: 8.288 MB / 0.5424 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.3856, allocations: 98.92 kB / 0.5425 GB, free: 18.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003521/0.3859, allocations: 156.9 kB / 0.5427 GB, free: 18.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009456/0.3869, allocations: 146.7 kB / 0.5428 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005486/0.3874, allocations: 345.1 kB / 0.5432 GB, free: 18.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002094/0.3876, allocations: 102.1 kB / 0.5433 GB, free: 18.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002926/0.3879, allocations: 311.1 kB / 0.5435 GB, free: 18.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3879, allocations: 0 / 0.5435 GB, free: 18.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001645/0.3896, allocations: 0.6029 MB / 0.5441 GB, free: 17.99 MB / 446.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.0008267/0.3904, allocations: 0.5136 MB / 0.5446 GB, free: 17.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004952/0.3953, allocations: 5.564 MB / 0.5501 GB, free: 11.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3953, allocations: 0 / 0.5501 GB, free: 11.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002899/0.3982, allocations: 3.487 MB / 0.5535 GB, free: 8.516 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006766/0.3989, allocations: 166.6 kB / 0.5536 GB, free: 8.363 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005127/0.404, allocations: 4.22 MB / 0.5578 GB, free: 4.465 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006693/0.4047, allocations: 0.6811 MB / 0.5584 GB, free: 3.938 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005469/0.4053, allocations: 253.8 kB / 0.5587 GB, free: 3.777 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.4054, allocations: 67.59 kB / 0.5587 GB, free: 3.715 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4054, allocations: 0 / 0.5587 GB, free: 3.715 MB / 446.1 MB Notification: Performance of Templates: time 0.04086/0.4463, allocations: 25.29 MB / 0.5834 GB, free: 10.62 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.ConTest.LoopAndArcweight.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.ConTest.LoopAndArcweight.sim & ./PNlib_PNlib.Examples.ConTest.LoopAndArcweight -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe 2>&1) [Timeout 480] diffSimulationResults("PNlib_PNlib.Examples.ConTest.LoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.LoopAndArcweight.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.LoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.333505767048337]