Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEtest.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.0008005/0.0008005, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008381/0.0008381, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8708/0.8708, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.04861/0.04861, allocations: 12.66 MB / 271.8 MB, free: 0.7031 MB / 250.7 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.DisTest.TEtest,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEtest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TEtest,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEtest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 402.2 MB, free: 9.477 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.739e-06/1.086e-05, allocations: 2.281 kB / 402.2 MB, free: 9.473 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEtest): time 0.002287/0.002297, allocations: 2.577 MB / 404.8 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003073/0.00537, allocations: 2.658 MB / 407.5 MB, free: 4.223 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002494/0.005619, allocations: 19.88 kB / 407.5 MB, free: 4.203 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006765/0.006296, allocations: 246 kB / 407.7 MB, free: 3.961 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003552/0.006651, allocations: 333.6 kB / 408.1 MB, free: 3.633 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.007929, allocations: 1.399 MB / 409.5 MB, free: 2.23 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.1349/0.1429, allocations: 2.857 MB / 412.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004208/0.1433, allocations: 213.5 kB / 412.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/0.1448, allocations: 1.646 MB / 414.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.146, allocations: 0.9479 MB / 415.1 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005514/0.1466, allocations: 280 kB / 415.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.1478, allocations: 1.102 MB / 416.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002867/0.1481, allocations: 452.4 kB / 416.9 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007701/0.1488, allocations: 0.8553 MB / 417.8 MB, free: 15.08 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003246/0.1521, allocations: 3.602 MB / 421.4 MB, free: 13.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1521, allocations: 0 / 421.4 MB, free: 13.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1521, allocations: 0.5625 kB / 421.4 MB, free: 13.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.045e-05/0.1521, allocations: 2.125 kB / 421.4 MB, free: 13.77 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 482 * Number of variables: 482 Notification: Performance of Generate backend data structure: time 0.002717/0.1548, allocations: 2.687 MB / 424.1 MB, free: 11.87 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.1549, allocations: 8.656 kB / 424.1 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003038/0.1552, allocations: 317.9 kB / 424.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005126/0.1557, allocations: 258.6 kB / 424.7 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009415/0.1566, allocations: 0.856 MB / 425.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.1568, allocations: 387.5 kB / 425.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000249/0.157, allocations: 234 kB / 426.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004203/0.1613, allocations: 5.48 MB / 431.6 MB, free: 7.711 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.1613, allocations: 5.094 kB / 431.6 MB, free: 7.711 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001916/0.1615, allocations: 117.8 kB / 431.7 MB, free: 7.652 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001992/0.1617, allocations: 197.2 kB / 431.9 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003239/0.1649, allocations: 3.767 MB / 435.7 MB, free: 5.324 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005817/0.1707, allocations: 7.636 MB / 443.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002684/0.1734, allocations: 2.951 MB / 446.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002417/0.1758, allocations: 2.789 MB / 449.1 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.318e-05/0.1759, allocations: 17 kB / 449.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003176/0.1791, allocations: 3.744 MB / 452.8 MB, free: 6.055 MB / 346.7 MB Notification: Performance of pre-optimization done (n=194): time 2.605e-06/0.1791, allocations: 0 / 452.8 MB, free: 6.055 MB / 346.7 MB Notification: Performance of matching and sorting (n=194): time 0.008855/0.1879, allocations: 10.33 MB / 463.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005253/0.1885, allocations: 1.392 MB / 464.5 MB, free: 9.738 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007282/0.1892, allocations: 0.9367 MB / 465.5 MB, free: 8.789 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.1893, allocations: 125.7 kB / 465.6 MB, free: 8.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/0.1897, allocations: 0.6188 MB / 466.2 MB, free: 8.031 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/0.19, allocations: 0.512 MB / 466.7 MB, free: 7.516 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005329/0.1905, allocations: 0.5938 MB / 467.3 MB, free: 6.914 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.133e-05/0.1906, allocations: 345.9 kB / 467.7 MB, free: 6.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.192, allocations: 1.857 MB / 469.5 MB, free: 4.574 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.194, allocations: 3.231 MB / 472.7 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004936/0.1989, allocations: 6.622 MB / 479.4 MB, free: 9.363 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-05/0.199, allocations: 8 kB / 479.4 MB, free: 9.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=378) (initialization): time 0.004969/0.2039, allocations: 5.392 MB / 484.8 MB, free: 3.859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003019/0.2042, allocations: 0.7237 MB / 485.5 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.763e-05/0.2043, allocations: 28 kB / 485.5 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.219e-05/0.2043, allocations: 44 kB / 485.6 MB, free: 2.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005001/0.2048, allocations: 321.9 kB / 485.9 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.662e-05/0.2049, allocations: 64.31 kB / 485.9 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008028/0.2057, allocations: 342 kB / 486.3 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.2058, allocations: 147.3 kB / 486.4 MB, free: 2.086 MB / 378.7 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 P2.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P2.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P2.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" 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.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.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.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 P2.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P2.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer T2.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T2.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer T2.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real T1.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: 127 * Number of states: 0 () * Number of discrete variables: 304 ($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.P2.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,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],P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],$PRE.P2.enableOut.remTAout[1],$PRE.P2.enableOut.Index,P2.enableOut.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,$whenCondition16,$PRE.P2.reStart,$whenCondition9,$PRE.P2.tokeninout,P2.outTransition[1].tokenInOut,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.P2.firingSumOut.firingSum,$PRE.P2.firingSumIn.firingSum,P2.tokeninout,$whenCondition7,$whenCondition8,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition14,$whenCondition15,T2.eventIndex,$PRE.T2.eventIndex,$whenCondition4,T1.eventIndex,$PRE.T1.eventIndex,$whenCondition3,P2.outTransition[1].normalArc,P2.outTransition[1].testValueint,P2.outTransition[1].arcType,P2.outTransition[1].disPlace,T2.inPlaces[1].disTransition,P2.inTransition[1].disPlace,T1.outPlaces[1].disTransition,P2.reStart,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,P2.enableIn.disTransition[1],P1.enableIn.disTransition[1],$PRE.P2.enableIn.arcWeightSum,$PRE.P2.enableIn.TEin[1],$PRE.P2.enableOut.arcWeightSum,$PRE.P2.enableOut.TEout[1],$PRE.T2.firingTime,$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],T1.activation.arcWeightIntOut[1],T2.activation.arcWeightIntIn[1],P1.enableIn.arcWeight[1],T2.activation.normalArc[1],T2.activation.testValueInt[1],T2.activation.arcType[1],T2.activation.disPlaceIn[1],P2.enableOut.disTransition[1],T1.activation.disPlaceOut[1],T2.activation.disPlaceOut[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.enableIn.TAein[1],P2.enableIn.arcWeight[1],P2.enableOut.arcWeightSum,P2.enableOut.TEout[1],P2.enableOut.TEout_[1],P2.enableOut.TAout[1],P2.enableOut.arcWeight[1],P2.firingSumOut.firingSum,P2.firingSumOut.arcWeight[1],P2.firingSumOut.fire[1],P2.firingSumIn.firingSum,P2.firingSumIn.arcWeight[1],P2.firingSumIn.fire[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedIn.vec[1],P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.delayPassedOut.vec[1],P2.activeConOut.anychange,P2.activeConOut.vec[1],P2.activeOut[1],$PRE.P2.activeOut[1],P2.inTransition[1].enabledByInPlaces,P2.t,$PRE.P2.t,T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.minTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.tIntOut[1],T2.activation.tIntIn[1],T2.eventPassed,$PRE.T2.eventPassed,T2.firingTime,T2.outPlaces[1].enabledByInPlaces,T2.active,T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.eventPassed,$PRE.T1.eventPassed,T1.firingTime,T1.active,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,$whenCondition5,$whenCondition2,$whenCondition1,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,P2.outTransition[1].fed,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 (340): * Single equations (assignments): 314 * Array equations: 4 * Algorithm blocks: 22 * 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.001756/0.2076, allocations: 1.718 MB / 488.1 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/0.2078, allocations: 199.1 kB / 488.3 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007282/0.2151, allocations: 8.141 MB / 496.5 MB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.734e-05/0.2152, allocations: 27.98 kB / 496.5 MB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2152, allocations: 0 / 496.5 MB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.2152, allocations: 4.484 kB / 496.5 MB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009887/0.2251, allocations: 10.3 MB / 0.4949 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2251, allocations: 0 / 0.4949 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.2252, allocations: 83.77 kB / 0.495 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.2252, allocations: 4 kB / 0.495 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000165/0.2254, allocations: 111.9 kB / 0.4951 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.2254, allocations: 8 kB / 0.4951 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2254, allocations: 0 / 0.4951 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0076/0.233, allocations: 8.322 MB / 0.5033 GB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.2331, allocations: 142.7 kB / 0.5034 GB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003452/0.2335, allocations: 176 kB / 0.5036 GB, free: 3.996 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006477/0.2341, allocations: 215.8 kB / 0.5038 GB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009473/0.2351, allocations: 0.7502 MB / 0.5045 GB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000202/0.2353, allocations: 127.9 kB / 0.5046 GB, free: 2.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004427/0.2357, allocations: 0.4951 MB / 0.5051 GB, free: 2.414 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2357, allocations: 4 kB / 0.5051 GB, free: 2.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002158/0.2379, allocations: 0.8152 MB / 0.5059 GB, free: 1.594 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 166 (T1.active,T2.active,$whenCondition15,$whenCondition14,$whenCondition16,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition1,$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,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.eventPassed,T1.ani,T1.eventIndex,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active,T2.outPlaces[1].enabledByInPlaces,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntIn[1],T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.minTokensInt[1],T2.activation.maxTokensInt[1],T2.activation.active,P2.t,P2.inTransition[1].enabledByInPlaces,P2.outTransition[1].tokenInOut,P2.tokeninout,P2.activeOut[1],P2.activeConOut.vec[1],P2.activeConOut.anychange,P2.delayPassedOut.vec[1],P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.fire[1],P2.firingSumOut.arcWeight[1],P2.firingSumOut.firingSum,P2.enableOut.arcWeight[1],P2.enableOut.TAout[1],P2.enableOut.TEout_[1],P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.TEout[1],P2.enableOut.remTAout[1],P2.enableOut.cumEnablingProb[1],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,P2.enableIn.arcWeight[1],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) * Number of discrete states: 115 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P2.tokeninout,P1.tokeninout,P2.t,P2.activeOut[1],P1.t,P1.activeOut[1],P2.activeConOut.anychange,i,P2.activeConOut.vec[i],T2.eventIndex,$whenCondition4,T2.activation.active,T2.eventPassed,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.TEout_[1],P2.enableOut.valid,P2.enableOut.benefitLimit,P2.enableOut.benefitMax,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.endWhile,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.cumEnablingProb[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],P2.enableOut.Index,$whenCondition5,P2.enableOut.arcWeightSum,P2.enableOut.TEout[1],T1.eventIndex,$whenCondition3,T1.activation.active,T1.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,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,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,$whenCondition1,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,$whenCondition6,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 72 * Array equations: 4 * Algorithm blocks: 18 * Record equations: 0 * When equations: 8 * 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.008689/0.2466, allocations: 9.43 MB / 0.5151 GB, free: 7.934 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005454/0.252, allocations: 6.791 MB / 0.5217 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.252, allocations: 0 / 0.5217 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003269/0.2553, allocations: 4.329 MB / 0.526 GB, free: 11.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007701/0.2561, allocations: 280.7 kB / 0.5262 GB, free: 11.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02132/0.2774, allocations: 23.28 MB / 0.549 GB, free: 2.613 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006154/0.278, allocations: 0.8168 MB / 0.5498 GB, free: 1.758 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006469/0.2786, allocations: 438.4 kB / 0.5502 GB, free: 1.324 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004571/0.2791, allocations: 0.5277 MB / 0.5507 GB, free: 0.793 MB / 458.7 MB Notification: Performance of SimCode: time 1.693e-06/0.2791, allocations: 3.938 kB / 0.5507 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1991/0.4782, allocations: 48.72 MB / 0.5983 GB, free: 164.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.303/8.781, allocations: 1.281 kB / 0.5983 GB, free: 164.8 MB / 490.7 MB " [Timeout remaining time 651] (rm -f PNlib_PNlib.Examples.DisTest.TEtest.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEtest.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEtest.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEtest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TEtest_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TEtest_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TEtest.fmu > PNlib_PNlib.Examples.DisTest.TEtest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEtest_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEtest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEtest.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: 10.536638849414885]