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.001342/0.001342, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001449/0.001449, allocations: 215.8 kB / 22.26 MB, free: 5.082 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.08375/0.08375, allocations: 16.93 MB / 329.4 MB, free: 2.305 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: "" <> 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"}) [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.0022/0.0022, allocations: 63.91 kB / 459.8 MB, free: 2.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1047, allocations: 57.63 MB / 0.5053 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.LoopAndArcweight): time 0.004168/0.1088, allocations: 2.75 MB / 0.5079 GB, free: 5.852 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0044/0.1132, allocations: 2.289 MB / 0.5102 GB, free: 3.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005408/0.1138, allocations: 15.88 kB / 0.5102 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006043/0.1144, allocations: 226.2 kB / 0.5104 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008679/0.1152, allocations: 266.2 kB / 0.5107 GB, free: 3.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00249/0.1177, allocations: 1.103 MB / 0.5117 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1948/0.3125, allocations: 2.539 MB / 0.5142 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003837/0.3129, allocations: 154.2 kB / 0.5144 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.314, allocations: 1.012 MB / 0.5154 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009791/0.315, allocations: 0.8915 MB / 0.5162 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002488/0.3152, allocations: 205.2 kB / 0.5164 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009897/0.3162, allocations: 0.7421 MB / 0.5171 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002955/0.3165, allocations: 395.9 kB / 0.5175 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007181/0.3172, allocations: 0.8657 MB / 0.5184 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002494/0.3197, allocations: 2.351 MB / 0.5207 GB, free: 8.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3197, allocations: 1.25 kB / 0.5207 GB, free: 8.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3197, allocations: 0 / 0.5207 GB, free: 8.805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.65e-05/0.3198, allocations: 0.6562 kB / 0.5207 GB, free: 8.805 MB / 382.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.003141/0.3229, allocations: 2.644 MB / 0.5232 GB, free: 7.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3229, allocations: 9.344 kB / 0.5233 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003183/0.3233, allocations: 275.1 kB / 0.5235 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/0.3248, allocations: 365.6 kB / 0.5239 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.326, allocations: 0.7018 MB / 0.5246 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003062/0.3263, allocations: 0.6118 MB / 0.5251 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/0.3265, allocations: 188.9 kB / 0.5253 GB, free: 6.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0051/0.3316, allocations: 3.05 MB / 0.5283 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.058e-05/0.3317, allocations: 3.875 kB / 0.5283 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002056/0.3319, allocations: 89.31 kB / 0.5284 GB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002707/0.3322, allocations: 161.7 kB / 0.5286 GB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004011/0.3362, allocations: 2.217 MB / 0.5307 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008346/0.3445, allocations: 5.668 MB / 0.5363 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00265/0.3472, allocations: 1.441 MB / 0.5377 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001799/0.349, allocations: 1.261 MB / 0.5389 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001894/0.3509, allocations: 0.6368 MB / 0.5395 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002613/0.3535, allocations: 1.719 MB / 0.5412 GB, free: 14.67 MB / 398.1 MB Notification: Performance of pre-optimization done (n=148): time 2.515e-06/0.3535, allocations: 0 / 0.5412 GB, free: 14.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.009237/0.3627, allocations: 5.373 MB / 0.5464 GB, free: 11.85 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007574/0.3635, allocations: 1.069 MB / 0.5475 GB, free: 10.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.3645, allocations: 0.6905 MB / 0.5482 GB, free: 10.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001986/0.3647, allocations: 105.5 kB / 0.5483 GB, free: 10.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005032/0.3652, allocations: 0.5253 MB / 0.5488 GB, free: 9.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000436/0.3656, allocations: 414.8 kB / 0.5492 GB, free: 9.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007101/0.3663, allocations: 471.9 kB / 0.5496 GB, free: 9.195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3665, allocations: 327.8 kB / 0.5499 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.3681, allocations: 0.9127 MB / 0.5508 GB, free: 8.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.37, allocations: 1.635 MB / 0.5524 GB, free: 7.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004038/0.3741, allocations: 3.627 MB / 0.556 GB, free: 4.047 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.939e-05/0.3741, allocations: 4.594 kB / 0.556 GB, free: 4.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005457/0.3795, allocations: 3.569 MB / 0.5594 GB, free: 1.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005305/0.3801, allocations: 0.6988 MB / 0.5601 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004889/0.385, allocations: 1.953 MB / 0.562 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/0.3868, allocations: 297.9 kB / 0.5623 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.3879, allocations: 227 kB / 0.5625 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.3891, allocations: 0.8223 MB / 0.5633 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.391, allocations: 258.5 kB / 0.5636 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003235/0.3913, allocations: 116 kB / 0.5637 GB, free: 12.58 MB / 414.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.003188/0.3945, allocations: 1.468 MB / 0.5651 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006824/0.3952, allocations: 151.3 kB / 0.5653 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/0.4061, allocations: 4.371 MB / 0.5695 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.089e-05/0.4062, allocations: 12 kB / 0.5696 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.4062, allocations: 0 / 0.5696 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.4062, allocations: 3.984 kB / 0.5696 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/0.4219, allocations: 6.384 MB / 0.5758 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01021/0.4321, allocations: 4.227 MB / 0.5799 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000385/0.4325, allocations: 55.22 kB / 0.58 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000801/0.4333, allocations: 192.4 kB / 0.5802 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003348/0.4336, allocations: 93.61 kB / 0.5802 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.4348, allocations: 0.7912 MB / 0.581 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4348, allocations: 32 / 0.581 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/0.4503, allocations: 6.527 MB / 0.5874 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/0.4505, allocations: 108.2 kB / 0.5875 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006765/0.4512, allocations: 155.9 kB / 0.5876 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/0.4527, allocations: 147.9 kB / 0.5878 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006842/0.4534, allocations: 347.7 kB / 0.5881 GB, free: 3.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000259/0.4536, allocations: 101.8 kB / 0.5882 GB, free: 2.992 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005569/0.4542, allocations: 382.8 kB / 0.5886 GB, free: 2.617 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4542, allocations: 0 / 0.5886 GB, free: 2.617 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00215/0.4563, allocations: 0.5928 MB / 0.5892 GB, free: 2.023 MB / 430.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.01239/0.4687, allocations: 7.471 MB / 0.5965 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006164/0.4749, allocations: 4.102 MB / 0.6005 GB, free: 6.133 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.4749, allocations: 4.062 kB / 0.6005 GB, free: 6.129 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00391/0.4788, allocations: 2.753 MB / 0.6032 GB, free: 3.152 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.4799, allocations: 194.3 kB / 0.6033 GB, free: 2.969 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02725/0.5071, allocations: 15.47 MB / 0.6184 GB, free: 2.602 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/0.5083, allocations: 1.276 MB / 0.6197 GB, free: 1.297 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006712/0.509, allocations: 260.4 kB / 0.6199 GB, free: 1.039 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006576/0.5097, allocations: 427.3 kB / 0.6203 GB, free: 0.625 MB / 462.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5097, allocations: 0 / 0.6203 GB, free: 0.625 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08227/0.5919, allocations: 36.07 MB / 0.6556 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/15.13, allocations: 7.641 kB / 0.6556 GB, free: 12.43 MB / 0.4981 GB " [Timeout remaining time 645] (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 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_ConTest_LoopAndArcweight.fmu > PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe 2>&1) [Timeout 52.5] 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: 17.943946067010984]