Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TESTest.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.00158/0.00158, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001878/0.001878, allocations: 209.4 kB / 22.25 MB, free: 5.125 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 7.977 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.08178/0.08178, allocations: 16.94 MB / 329.4 MB, free: 2.266 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.ExtTest.TESTest,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TESTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ExtTest.TESTest,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TESTest",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.002039/0.002039, allocations: 63.91 kB / 459.8 MB, free: 2.289 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1171, allocations: 57.63 MB / 0.5053 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TESTest): time 0.004564/0.1216, allocations: 2.952 MB / 0.5081 GB, free: 5.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008386/0.13, allocations: 4.608 MB / 0.5126 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006946/0.1307, allocations: 19.88 kB / 0.5127 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000969/0.1317, allocations: 246 kB / 0.5129 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009295/0.1326, allocations: 294 kB / 0.5132 GB, free: 444 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2263/0.3589, allocations: 1.763 MB / 0.5149 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005023/0.364, allocations: 2.864 MB / 0.5177 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005631/0.3645, allocations: 151.8 kB / 0.5178 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002421/0.367, allocations: 1.172 MB / 0.519 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002385/0.3693, allocations: 0.9353 MB / 0.5199 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009538/0.3703, allocations: 216.9 kB / 0.5201 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003049/0.3733, allocations: 1.139 MB / 0.5212 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007828/0.3741, allocations: 376 kB / 0.5216 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001725/0.3758, allocations: 0.9203 MB / 0.5225 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00477/0.3806, allocations: 2.671 MB / 0.5251 GB, free: 7.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3806, allocations: 3.312 kB / 0.5251 GB, free: 7.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3806, allocations: 0 / 0.5251 GB, free: 7.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.606e-05/0.3807, allocations: 0 / 0.5251 GB, free: 7.168 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: 403 * Number of variables: 403 Notification: Performance of Generate backend data structure: time 0.004279/0.385, allocations: 2.539 MB / 0.5276 GB, free: 5.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.385, allocations: 8.938 kB / 0.5276 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000385/0.3854, allocations: 262.3 kB / 0.5278 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000746/0.3862, allocations: 234.4 kB / 0.5281 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.3875, allocations: 0.7398 MB / 0.5288 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/0.3877, allocations: 296 kB / 0.5291 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003085/0.388, allocations: 192.3 kB / 0.5292 GB, free: 4.406 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006075/0.3941, allocations: 3.212 MB / 0.5324 GB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.386e-05/0.3941, allocations: 6.188 kB / 0.5324 GB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000281/0.3944, allocations: 99.64 kB / 0.5325 GB, free: 3.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000348/0.3948, allocations: 149.5 kB / 0.5326 GB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004067/0.3988, allocations: 2.209 MB / 0.5348 GB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01139/0.4102, allocations: 7.103 MB / 0.5417 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003637/0.4139, allocations: 1.59 MB / 0.5433 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002714/0.4166, allocations: 1.438 MB / 0.5447 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.375e-05/0.4167, allocations: 10.78 kB / 0.5447 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003598/0.4203, allocations: 2.179 MB / 0.5468 GB, free: 9.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=180): time 4.779e-06/0.4203, allocations: 1.172 kB / 0.5468 GB, free: 9.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.01055/0.4308, allocations: 6.397 MB / 0.5531 GB, free: 6.469 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009527/0.4318, allocations: 1.335 MB / 0.5544 GB, free: 5.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/0.4332, allocations: 0.8214 MB / 0.5552 GB, free: 4.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002785/0.4335, allocations: 125.4 kB / 0.5553 GB, free: 4.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006567/0.4341, allocations: 0.5327 MB / 0.5558 GB, free: 3.977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006027/0.4347, allocations: 467.3 kB / 0.5562 GB, free: 3.617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009372/0.4357, allocations: 0.5172 MB / 0.5568 GB, free: 3.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.4359, allocations: 343.6 kB / 0.5571 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/0.4375, allocations: 0.9215 MB / 0.558 GB, free: 2.426 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002439/0.44, allocations: 1.77 MB / 0.5597 GB, free: 316 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007732/0.4477, allocations: 5.735 MB / 0.5653 GB, free: 9.922 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.873e-05/0.4477, allocations: 11.94 kB / 0.5653 GB, free: 9.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.006582/0.4543, allocations: 4.013 MB / 0.5692 GB, free: 5.895 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006208/0.4549, allocations: 0.7624 MB / 0.57 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-05/0.455, allocations: 24 kB / 0.57 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.624e-05/0.4551, allocations: 36 kB / 0.57 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009133/0.456, allocations: 276.1 kB / 0.5703 GB, free: 4.691 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.348e-05/0.4561, allocations: 53.81 kB / 0.5704 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.4574, allocations: 306 kB / 0.5706 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002684/0.4577, allocations: 124 kB / 0.5708 GB, free: 4.23 MB / 414.1 MB Warning: Assuming fixed start value for the following 50 variables: P2.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P2.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P2.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" 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 P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" 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.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" 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 ) \"priority Index\" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real T2.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T2.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P2.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P2.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P2.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P2.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P2.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P2.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" 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 T1.TimeOver:DISCRETE(fixed = true ) type: Boolean T2.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 109 * Number of states: 0 () * Number of discrete variables: 286 ($PRE.P2.enableIn.valid,P2.enableIn.valid,$PRE.P2.enableIn.benefitLimit,P2.enableIn.benefitLimit,$PRE.P2.enableIn.benefitMax,P2.enableIn.benefitMax,$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.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$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.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$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.reStart,$whenCondition15,$PRE.P2.reStart,$whenCondition12,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.P2.firingSumOut.firingSum,$PRE.P2.firingSumIn.firingSum,P2.tokeninout,$whenCondition10,$whenCondition11,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition13,$whenCondition14,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.tokenChange.vec[1],$PRE.P1.tokeninout,T2.eventIndex,$PRE.T2.eventIndex,$whenCondition5,P2.firingSumOut.firingSum,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$PRE.P2.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$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,P2.enableOut.arcWeightSum,$PRE.P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,$whenCondition1,T1.firingCon,T1.outPlaces[1].disTransition,P2.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P2.reStart,P1.reStart,P2.enableIn.disTransition[1],P1.enableIn.disTransition[1],$PRE.T1.r128,$PRE.T1.state128[4],$PRE.T1.state128[3],$PRE.T1.state128[2],$PRE.T1.state128[1],$PRE.T1.TimeOver,$PRE.T1.putEvent,$PRE.T1.putFireTime,$PRE.T2.firingTime,$PRE.P2.enableIn.arcWeightSum,$PRE.P2.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],T2.enabledByInPlaces,P1.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],P2.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T2.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.eventPassed,$PRE.T1.eventPassed,T1.r128,T1.state128[4],T1.state128[3],T1.state128[2],T1.state128[1],T1.outPlaces[1].enabledByInPlaces,T1.active,T1.TimeOver,T1.putEvent,T1.putFireTime,T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.tIntOut[1],T2.eventPassed,$PRE.T2.eventPassed,T2.firingTime,T2.active,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.enableIn.TAein[1],P2.firingSumIn.firingSum,P2.firingSumIn.arcWeight[1],P2.firingSumIn.fire[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedIn.vec[1],P2.t,$PRE.P2.t,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition7,$whenCondition8,$whenCondition9,P2.inTransition[1].emptied,P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (302): * Single equations (assignments): 276 * Array equations: 2 * Algorithm blocks: 24 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002721/0.4604, allocations: 1.614 MB / 0.5723 GB, free: 2.547 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006582/0.461, allocations: 179.2 kB / 0.5725 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009313/0.4704, allocations: 5.24 MB / 0.5776 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.618e-05/0.4704, allocations: 16.19 kB / 0.5776 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.4704, allocations: 8 kB / 0.5777 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.4704, allocations: 11.97 kB / 0.5777 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01368/0.4841, allocations: 7.401 MB / 0.5849 GB, free: 5.465 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.4841, allocations: 0 / 0.5849 GB, free: 5.465 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/0.4844, allocations: 63.89 kB / 0.585 GB, free: 5.402 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.4844, allocations: 0 / 0.585 GB, free: 5.402 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002909/0.4847, allocations: 98.38 kB / 0.585 GB, free: 5.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/0.4847, allocations: 0 / 0.585 GB, free: 5.309 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4847, allocations: 8 kB / 0.5851 GB, free: 5.301 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009693/0.4944, allocations: 5.712 MB / 0.5906 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/0.4947, allocations: 130.8 kB / 0.5908 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000625/0.4953, allocations: 168 kB / 0.5909 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.4965, allocations: 167.9 kB / 0.5911 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001015/0.4975, allocations: 470.5 kB / 0.5915 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003519/0.4979, allocations: 123.5 kB / 0.5916 GB, free: 14.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007894/0.4987, allocations: 471 kB / 0.5921 GB, free: 13.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4987, allocations: 0 / 0.5921 GB, free: 13.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002714/0.5014, allocations: 0.7178 MB / 0.5928 GB, free: 13.25 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 158 ($whenCondition1,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,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.enableOut.benefitMax,P2.enableOut.valid,P2.enableOut.benefitLimit,T2.active,$whenCondition14,$whenCondition13,$whenCondition15,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,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.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.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableIn.TAein[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.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.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,P2.t,P2.tokeninout,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.enableIn.TAein[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.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.enableIn.benefitMax,P2.enableIn.valid,P2.enableIn.benefitLimit,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active,T1.putFireTime,T1.putEvent,T1.TimeOver,T1.active,T1.outPlaces[1].enabledByInPlaces,T1.state128[1],T1.state128[2],T1.state128[3],T1.state128[4],T1.r128,T1.fireTime,T1.eventPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active,T1.tokenChange.vec[1],T1.tokenChange.anytrue,T1.tokenChange.numtrue) * Number of discrete states: 117 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P1.tokeninout,P2.t,P1.t,P1.activeOut[1],T1.putFireTime,T1.putEvent,T1.state128[4],T1.state128[3],T1.state128[2],T1.state128[1],T1.r128,$whenCondition6,T1.TimeOver,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.activation.active,T1.eventPassed,T2.eventIndex,$whenCondition5,T2.activation.active,T2.eventPassed,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,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,$whenCondition3,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,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,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P2.enableIn.TEin_[1],P2.enableIn.valid,P2.enableIn.benefitLimit,P2.enableIn.benefitMax,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,$whenCondition4,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P2.enableOut.benefitLimit,P2.enableOut.valid,P2.enableOut.benefitMax,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,$whenCondition1,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 58 * Array equations: 2 * Algorithm blocks: 19 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01262/0.514, allocations: 6.781 MB / 0.5994 GB, free: 6.352 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007149/0.5211, allocations: 4.527 MB / 0.6038 GB, free: 1.539 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.5212, allocations: 4.75 kB / 0.6038 GB, free: 1.535 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004593/0.5257, allocations: 3.003 MB / 0.6068 GB, free: 14.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.5273, allocations: 251.5 kB / 0.607 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03092/0.5583, allocations: 16.88 MB / 0.6235 GB, free: 12.14 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/0.5601, allocations: 1.282 MB / 0.6247 GB, free: 10.83 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001566/0.5616, allocations: 357.2 kB / 0.6251 GB, free: 10.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/0.5627, allocations: 471.3 kB / 0.6255 GB, free: 10.02 MB / 478.1 MB Notification: Performance of SimCode: time 1.292e-06/0.5627, allocations: 0 / 0.6255 GB, free: 10.02 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.104/0.6668, allocations: 40.83 MB / 0.6654 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.86, allocations: 9.734 kB / 0.6654 GB, free: 1.113 MB / 0.4981 GB " [Timeout remaining time 646] (rm -f PNlib_PNlib.Examples.ExtTest.TESTest.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TESTest.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TESTest.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.TESTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.ExtTest.TESTest_res.mat --tempDir=temp_PNlib_PNlib_Examples_ExtTest_TESTest_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_ExtTest_TESTest.fmu > PNlib_PNlib.Examples.ExtTest.TESTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.ExtTest.TESTest_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TESTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.TESTest.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: 16.792167908977717]