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.001265/0.001265, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001383/0.001383, allocations: 219 kB / 23.03 MB, free: 4.922 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.08214/0.08214, allocations: 16.94 MB / 330.2 MB, free: 2.055 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ConTest.LoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_ConTest_LoopAndArcweight",fmuType="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.001966/0.001966, allocations: 63.91 kB / 460.5 MB, free: 2.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1163, allocations: 57.63 MB / 0.5059 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.LoopAndArcweight): time 0.004693/0.121, allocations: 2.453 MB / 0.5083 GB, free: 5.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00501/0.126, allocations: 2.211 MB / 0.5105 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004038/0.1264, allocations: 15.94 kB / 0.5105 GB, free: 3.715 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005335/0.1269, allocations: 230.2 kB / 0.5107 GB, free: 3.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006844/0.1276, allocations: 266.2 kB / 0.511 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.1299, allocations: 1.113 MB / 0.5121 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.214/0.3439, allocations: 2.537 MB / 0.5145 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003877/0.3443, allocations: 150.1 kB / 0.5147 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.3454, allocations: 1.022 MB / 0.5157 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009034/0.3463, allocations: 0.8804 MB / 0.5165 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002797/0.3465, allocations: 204.4 kB / 0.5167 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.3476, allocations: 0.745 MB / 0.5175 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002903/0.3478, allocations: 395.1 kB / 0.5178 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000654/0.3485, allocations: 0.7278 MB / 0.5186 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00241/0.3509, allocations: 2.365 MB / 0.5209 GB, free: 8.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3509, allocations: 0.7969 kB / 0.5209 GB, free: 8.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.3509, allocations: 1.094 kB / 0.5209 GB, free: 8.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.283e-05/0.351, allocations: 0 / 0.5209 GB, free: 8.906 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.004072/0.355, allocations: 2.62 MB / 0.5234 GB, free: 7.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3551, allocations: 12.41 kB / 0.5234 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.89e-05/0.3551, allocations: 36.47 kB / 0.5235 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003488/0.3555, allocations: 271.1 kB / 0.5237 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.3571, allocations: 364.4 kB / 0.5241 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.3582, allocations: 0.6984 MB / 0.5248 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002901/0.3585, allocations: 0.6099 MB / 0.5254 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002813/0.3587, allocations: 187.6 kB / 0.5255 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004994/0.3637, allocations: 4.148 MB / 0.5296 GB, free: 4.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.3638, allocations: 0 / 0.5296 GB, free: 4.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001946/0.364, allocations: 93.08 kB / 0.5297 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002336/0.3642, allocations: 158.7 kB / 0.5298 GB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003948/0.3681, allocations: 2.963 MB / 0.5327 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007115/0.3753, allocations: 5.201 MB / 0.5378 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003134/0.3784, allocations: 2.165 MB / 0.5399 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002548/0.3809, allocations: 2.009 MB / 0.5419 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001861/0.3828, allocations: 0.6324 MB / 0.5425 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003313/0.3861, allocations: 2.457 MB / 0.5449 GB, free: 11.42 MB / 398.1 MB Notification: Performance of pre-optimization done (n=148): time 2.855e-06/0.3861, allocations: 0 / 0.5449 GB, free: 11.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01063/0.3967, allocations: 7.06 MB / 0.5518 GB, free: 7.051 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007554/0.3975, allocations: 1.059 MB / 0.5528 GB, free: 5.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.3985, allocations: 0.6944 MB / 0.5535 GB, free: 5.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001845/0.3987, allocations: 98.19 kB / 0.5536 GB, free: 5.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004717/0.3992, allocations: 0.5312 MB / 0.5541 GB, free: 4.945 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003908/0.3996, allocations: 416.5 kB / 0.5545 GB, free: 4.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005957/0.4002, allocations: 468.7 kB / 0.555 GB, free: 4.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4003, allocations: 337 kB / 0.5553 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001827/0.4021, allocations: 1.585 MB / 0.5568 GB, free: 2.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00267/0.4048, allocations: 2.51 MB / 0.5593 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004617/0.4094, allocations: 3.663 MB / 0.5629 GB, free: 13.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.516e-05/0.4095, allocations: 8 kB / 0.5629 GB, free: 13.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006386/0.4159, allocations: 4.273 MB / 0.567 GB, free: 8.848 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005349/0.4164, allocations: 0.687 MB / 0.5677 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003766/0.4202, allocations: 2.349 MB / 0.57 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/0.4214, allocations: 287.8 kB / 0.5703 GB, free: 5.273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008204/0.4222, allocations: 237.6 kB / 0.5705 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008926/0.4231, allocations: 0.8159 MB / 0.5713 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.4243, allocations: 266.5 kB / 0.5716 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/0.4245, allocations: 116.7 kB / 0.5717 GB, free: 3.863 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.002276/0.4267, allocations: 1.453 MB / 0.5731 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004372/0.4272, allocations: 155.3 kB / 0.5732 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007822/0.435, allocations: 5.242 MB / 0.5783 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.435, allocations: 8 kB / 0.5784 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.435, allocations: 0 / 0.5784 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.435, allocations: 7.984 kB / 0.5784 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.4459, allocations: 6.952 MB / 0.5852 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007338/0.4533, allocations: 5.122 MB / 0.5902 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.4535, allocations: 51.89 kB / 0.5902 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005582/0.4541, allocations: 195.6 kB / 0.5904 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000228/0.4543, allocations: 92.2 kB / 0.5905 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008028/0.4551, allocations: 0.7904 MB / 0.5913 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4551, allocations: 0 / 0.5913 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01204/0.4671, allocations: 8.298 MB / 0.5994 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.4673, allocations: 103.1 kB / 0.5995 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004208/0.4677, allocations: 159.9 kB / 0.5996 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009288/0.4687, allocations: 148.9 kB / 0.5997 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006222/0.4693, allocations: 342 kB / 0.6001 GB, free: 5.742 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002359/0.4695, allocations: 109.2 kB / 0.6002 GB, free: 5.641 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005109/0.47, allocations: 382.8 kB / 0.6005 GB, free: 5.266 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.47, allocations: 0 / 0.6005 GB, free: 5.266 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001924/0.472, allocations: 0.5928 MB / 0.6011 GB, free: 4.672 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.0134/0.4854, allocations: 9.254 MB / 0.6102 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007274/0.4926, allocations: 5.56 MB / 0.6156 GB, free: 5.039 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.4927, allocations: 0 / 0.6156 GB, free: 5.039 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004347/0.497, allocations: 3.497 MB / 0.619 GB, free: 1.215 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000948/0.4979, allocations: 196.5 kB / 0.6192 GB, free: 1.027 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02637/0.5243, allocations: 19.06 MB / 0.6378 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000836/0.5252, allocations: 0.683 MB / 0.6385 GB, free: 11.74 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006437/0.5258, allocations: 265.5 kB / 0.6387 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005828/0.5264, allocations: 435.3 kB / 0.6391 GB, free: 11.05 MB / 494.1 MB Notification: Performance of SimCode: time 8.31e-07/0.5264, allocations: 0 / 0.6391 GB, free: 11.05 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0745/0.6009, allocations: 35.9 MB / 0.6742 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/15.16, allocations: 14.97 kB / 0.6742 GB, free: 7.184 MB / 0.5137 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: 18.130207423935644]