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.001051/0.001051, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001168/0.001168, allocations: 214.6 kB / 22.25 MB, free: 3.574 MB / 13.93 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.9598/0.9598, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.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.06174/0.06174, allocations: 16.95 MB / 329.4 MB, free: 1.102 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PNlib.Examples.ExtTest.TESTest,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TESTest",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ExtTest.TESTest,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TESTest",fmuType="me_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.001383/0.001383, allocations: 67.91 kB / 460.5 MB, free: 27.01 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08683/0.08822, allocations: 57.63 MB / 0.506 GB, free: 1.312 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TESTest): time 0.002566/0.09078, allocations: 2.646 MB / 0.5085 GB, free: 14.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004742/0.09552, allocations: 4.402 MB / 0.5128 GB, free: 10.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004254/0.09595, allocations: 15.88 kB / 0.5128 GB, free: 10.22 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006026/0.09655, allocations: 250 kB / 0.5131 GB, free: 9.973 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003942/0.09695, allocations: 290 kB / 0.5134 GB, free: 9.688 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.09953, allocations: 1.753 MB / 0.5151 GB, free: 7.934 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002552/0.1021, allocations: 2.844 MB / 0.5179 GB, free: 5.086 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002859/0.1024, allocations: 160.1 kB / 0.518 GB, free: 4.914 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.1037, allocations: 1.161 MB / 0.5191 GB, free: 3.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008445/0.1046, allocations: 0.8594 MB / 0.52 GB, free: 2.887 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002084/0.1048, allocations: 220 kB / 0.5202 GB, free: 2.672 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.1059, allocations: 1.057 MB / 0.5212 GB, free: 1.613 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.1061, allocations: 382.4 kB / 0.5216 GB, free: 1.238 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005271/0.1067, allocations: 0.7782 MB / 0.5223 GB, free: 468 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.1085, allocations: 2.679 MB / 0.525 GB, free: 13.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1085, allocations: 0 / 0.525 GB, free: 13.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1085, allocations: 0 / 0.525 GB, free: 13.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.1085, allocations: 0 / 0.525 GB, free: 13.77 MB / 394.7 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.002363/0.1109, allocations: 2.521 MB / 0.5274 GB, free: 11.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1109, allocations: 8.031 kB / 0.5274 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002196/0.1112, allocations: 260.3 kB / 0.5277 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004297/0.1116, allocations: 231.3 kB / 0.5279 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008337/0.1124, allocations: 0.74 MB / 0.5286 GB, free: 9.781 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.1126, allocations: 296.6 kB / 0.5289 GB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.1127, allocations: 184 kB / 0.5291 GB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003613/0.1164, allocations: 4.442 MB / 0.5334 GB, free: 4.449 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.1164, allocations: 7.938 kB / 0.5334 GB, free: 4.441 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/0.1165, allocations: 91.97 kB / 0.5335 GB, free: 4.352 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001371/0.1166, allocations: 149.8 kB / 0.5337 GB, free: 4.203 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/0.1192, allocations: 3.026 MB / 0.5366 GB, free: 1.051 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005245/0.1244, allocations: 6.594 MB / 0.5431 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002107/0.1265, allocations: 2.417 MB / 0.5454 GB, free: 7.703 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002058/0.1286, allocations: 2.242 MB / 0.5476 GB, free: 5.336 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.187e-05/0.1286, allocations: 16.59 kB / 0.5476 GB, free: 5.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002428/0.1311, allocations: 3.086 MB / 0.5506 GB, free: 2.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=180): time 3.106e-06/0.1311, allocations: 3.984 kB / 0.5506 GB, free: 2.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=180): time 0.1815/0.3125, allocations: 8.302 MB / 0.5587 GB, free: 46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004133/0.3129, allocations: 1.325 MB / 0.56 GB, free: 44.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009615/0.3139, allocations: 0.8461 MB / 0.5609 GB, free: 44.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002072/0.3141, allocations: 122.2 kB / 0.561 GB, free: 44.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.3144, allocations: 0.5278 MB / 0.5615 GB, free: 43.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/0.3147, allocations: 477.8 kB / 0.562 GB, free: 43.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005279/0.3153, allocations: 0.5109 MB / 0.5624 GB, free: 43.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.402e-05/0.3153, allocations: 347.3 kB / 0.5628 GB, free: 42.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.3166, allocations: 1.672 MB / 0.5644 GB, free: 41.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/0.3185, allocations: 2.836 MB / 0.5672 GB, free: 39.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004695/0.3232, allocations: 5.779 MB / 0.5728 GB, free: 34.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.447e-05/0.3233, allocations: 6.438 kB / 0.5728 GB, free: 34.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.00454/0.3278, allocations: 4.808 MB / 0.5775 GB, free: 32.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001942/0.328, allocations: 0.7507 MB / 0.5783 GB, free: 31.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.382e-05/0.328, allocations: 24.34 kB / 0.5783 GB, free: 31.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.275e-05/0.3281, allocations: 38 kB / 0.5783 GB, free: 31.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004424/0.3285, allocations: 280.2 kB / 0.5786 GB, free: 31.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.88e-05/0.3285, allocations: 55 kB / 0.5786 GB, free: 31.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007939/0.3293, allocations: 298.3 kB / 0.5789 GB, free: 31.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.3295, allocations: 123.4 kB / 0.579 GB, free: 31.09 MB / 410.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 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.001433/0.3309, allocations: 1.595 MB / 0.5806 GB, free: 29.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/0.3312, allocations: 192.3 kB / 0.5808 GB, free: 29.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004667/0.3358, allocations: 6.195 MB / 0.5868 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-05/0.3359, allocations: 12 kB / 0.5868 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.485e-06/0.3359, allocations: 4 kB / 0.5868 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.3359, allocations: 3.984 kB / 0.5869 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006481/0.3423, allocations: 7.992 MB / 0.5947 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.3424, allocations: 0 / 0.5947 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.3425, allocations: 59.91 kB / 0.5947 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.3425, allocations: 4 kB / 0.5947 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/0.3426, allocations: 99.94 kB / 0.5948 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.3427, allocations: 7.938 kB / 0.5948 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3427, allocations: 0 / 0.5948 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005276/0.3479, allocations: 6.787 MB / 0.6014 GB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002662/0.3482, allocations: 126.9 kB / 0.6016 GB, free: 8.652 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003651/0.3486, allocations: 172.5 kB / 0.6017 GB, free: 8.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004918/0.3491, allocations: 167.8 kB / 0.6019 GB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004912/0.3495, allocations: 476.3 kB / 0.6023 GB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/0.3497, allocations: 115.5 kB / 0.6025 GB, free: 7.754 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003839/0.3501, allocations: 471 kB / 0.6029 GB, free: 7.289 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3501, allocations: 4 kB / 0.6029 GB, free: 7.285 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002176/0.3522, allocations: 0.7178 MB / 0.6036 GB, free: 6.566 MB / 410.7 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.006951/0.3592, allocations: 7.862 MB / 0.6113 GB, free: 14.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005613/0.3648, allocations: 6.135 MB / 0.6173 GB, free: 7.785 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/0.3648, allocations: 4 kB / 0.6173 GB, free: 7.781 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00345/0.3683, allocations: 3.797 MB / 0.621 GB, free: 3.641 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.3693, allocations: 256.8 kB / 0.6212 GB, free: 3.398 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02157/0.3909, allocations: 20.83 MB / 0.6416 GB, free: 12.83 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005418/0.3914, allocations: 0.694 MB / 0.6423 GB, free: 12.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006607/0.3921, allocations: 357.2 kB / 0.6426 GB, free: 11.74 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004319/0.3925, allocations: 475.3 kB / 0.643 GB, free: 11.28 MB / 458.7 MB Notification: Performance of SimCode: time 1.182e-06/0.3925, allocations: 0 / 0.643 GB, free: 11.28 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1167/0.5092, allocations: 41.94 MB / 0.684 GB, free: 1.375 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.486/8.995, allocations: 15.14 kB / 0.684 GB, free: 1.363 MB / 490.7 MB " [Timeout remaining time 651] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.ExtTest.TESTest_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_ExtTest_TESTest_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_ExtTest_TESTest.fmu) > PNlib_PNlib.Examples.ExtTest.TESTest.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ExtTest.TESTest_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TESTest.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.ExtTest.TESTest_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TESTest_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TESTest_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.TESTest_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.ExtTest.TESTest_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_ExtTest_TESTest_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_ExtTest_TESTest_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.ExtTest.TESTest_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ExtTest.TESTest_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TESTest.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:P1.t,P2.t,T1.active,T1.fire,T1.putFireTime,T2.active,T2.fire,time Variables in the result:P1.N,P1.animateMarking,P1.benefitType,P1.color[1],P1.color[2],P1.color[3],P1.enablingBeneIn[1],P1.enablingBeneOut[1],P1.enablingPrioIn[1],P1.enablingPrioOut[1],P1.enablingProbIn[1],P1.enablingProbOut[1],P1.enablingType,P1.inTransition[1].active,P1.inTransition[1].arcWeight,P1.inTransition[1].arcWeightint,P1.inTransition[1].decreasingFactor,P1.inTransition[1].disPlace,P1.inTransition[1].disTransition,P1.inTransition[1].emptied,P1.inTransition[1].enable,P1.inTransition[1].enabledByInPlaces,P1.inTransition[1].fire,P1.inTransition[1].instSpeed,P1.inTransition[1].maxSpeed,P1.inTransition[1].maxTokens,P1.inTransition[1].maxTokensint,P1.inTransition[1].prelimSpeed,P1.inTransition[1].speedSum,P1.inTransition[1].t,P1.inTransition[1].tint,P1.levelCon,P1.localSeedIn,P1.localSeedOut,P1.maxTokens,P1.minTokens,P1.nIn,P1.nOut,P1.outTransition[1].active,P1.outTransition[1].arcType,P1.outTransition[1].arcWeight,P1.outTransition[1].arcWeightint,P1.outTransition[1].decreasingFactor,P1.outTransition[1].disPlace,P1.outTransition[1].disTransition,P1.outTransition[1].enable,P1.outTransition[1].fed,P1.outTransition[1].fire,P1.outTransition[1].instSpeed,P1.outTransition[1].maxSpeed,P1.outTransition[1].minTokens,P1.outTransition[1].minTokensint,P1.outTransition[1].normalArc,P1.outTransition[1].prelimSpeed,P1.outTransition[1].speedSum,P1.outTransition[1].t,P1.outTransition[1].testValue,P1.outTransition[1].testValueint,P1.outTransition[1].tint,P1.outTransition[1].tokenInOut,P1.pd_t,P1.reStart,P1.reStartTokens,P1.showCapacity,P1.showTokenFlow,P1.startTokens,P1.t,P2.N,P2.animateMarking,P2.benefitType,P2.color[1],P2.color[2],P2.color[3],P2.enablingBeneIn[1],P2.enablingPrioIn[1],P2.enablingProbIn[1],P2.enablingType,P2.inTransition[1].active,P2.inTransition[1].arcWeight,P2.inTransition[1].arcWeightint,P2.inTransition[1].decreasingFactor,P2.inTransition[1].disPlace,P2.inTransition[1].disTransition,P2.inTransition[1].emptied,P2.inTransition[1].enable,P2.inTransition[1].enabledByInPlaces,P2.inTransition[1].fire,P2.inTransition[1].instSpeed,P2.inTransition[1].maxSpeed,P2.inTransition[1].maxTokens,P2.inTransition[1].maxTokensint,P2.inTransition[1].prelimSpeed,P2.inTransition[1].speedSum,P2.inTransition[1].t,P2.inTransition[1].tint,P2.levelCon,P2.localSeedIn,P2.localSeedOut,P2.maxTokens,P2.minTokens,P2.nIn,P2.nOut,P2.pd_t,P2.reStart,P2.reStartTokens,P2.showCapacity,P2.showTokenFlow,P2.startTokens,P2.t,T1.E[1],T1.E[2],T1.E[3],T1.E[4],T1.E[5],T1.E[6],T1.P[1],T1.P[2],T1.P[3],T1.P[4],T1.P[5],T1.P[6],T1.TimeOver,T1.a,T1.active,T1.animateHazardFunc,T1.animatePutFireTime,T1.arcWeightIn[1],T1.arcWeightOut[1],T1.b,T1.c,T1.color[1],T1.color[2],T1.color[3],T1.distributionType,T1.fire,T1.firingCon,T1.h,T1.inPlaces[1].active,T1.inPlaces[1].arcType,T1.inPlaces[1].arcWeight,T1.inPlaces[1].arcWeightint,T1.inPlaces[1].decreasingFactor,T1.inPlaces[1].disPlace,T1.inPlaces[1].disTransition,T1.inPlaces[1].enable,T1.inPlaces[1].fed,T1.inPlaces[1].fire,T1.inPlaces[1].instSpeed,T1.inPlaces[1].maxSpeed,T1.inPlaces[1].minTokens,T1.inPlaces[1].minTokensint,T1.inPlaces[1].normalArc,T1.inPlaces[1].prelimSpeed,T1.inPlaces[1].speedSum,T1.inPlaces[1].t,T1.inPlaces[1].testValue,T1.inPlaces[1].testValueint,T1.inPlaces[1].tint,T1.inPlaces[1].tokenInOut,T1.localSeed,T1.mu,T1.nIn,T1.nOut,T1.outPlaces[1].active,T1.outPlaces[1].arcWeight,T1.outPlaces[1].arcWeightint,T1.outPlaces[1].decreasingFactor,T1.outPlaces[1].disPlace,T1.outPlaces[1].disTransition,T1.outPlaces[1].emptied,T1.outPlaces[1].enable,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].fire,T1.outPlaces[1].instSpeed,T1.outPlaces[1].maxSpeed,T1.outPlaces[1].maxTokens,T1.outPlaces[1].maxTokensint,T1.outPlaces[1].prelimSpeed,T1.outPlaces[1].speedSum,T1.outPlaces[1].t,T1.outPlaces[1].tint,T1.putEvent,T1.putFireTime,T1.showTransitionName,T1.sigma,T2.active,T2.arcWeightOut[1],T2.event[1],T2.event[2],T2.event[3],T2.event[4],T2.fire,T2.firingCon,T2.nIn,T2.nOut,T2.outPlaces[1].active,T2.outPlaces[1].arcWeight,T2.outPlaces[1].arcWeightint,T2.outPlaces[1].decreasingFactor,T2.outPlaces[1].disPlace,T2.outPlaces[1].disTransition,T2.outPlaces[1].emptied,T2.outPlaces[1].enable,T2.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].fire,T2.outPlaces[1].instSpeed,T2.outPlaces[1].maxSpeed,T2.outPlaces[1].maxTokens,T2.outPlaces[1].maxTokensint,T2.outPlaces[1].prelimSpeed,T2.outPlaces[1].speedSum,T2.outPlaces[1].t,T2.outPlaces[1].tint,settings.M,settings.N,settings.animateHazardFunc,settings.animateMarking,settings.animatePlace,settings.animatePutFireTime,settings.animateSpeed,settings.animateTIarc,settings.animateTransition,settings.animateWeightTIarc,settings.globalSeed,settings.scale,settings.showCapacity,settings.showPlaceName,settings.showTime,settings.showTokenFlow,settings.showTransitionName,settings.timeFire,time filterSimulationResults("PNlib_PNlib.Examples.ExtTest.TESTest_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.TESTest_OMSimulator-cs-cvode.diff.mat", vars={"T1.putFireTime", "T1.active", "P2.t", "P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TESTest.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.TESTest_OMSimulator-cs-cvode.diff.ref.mat", vars={"T1.putFireTime", "T1.active", "P2.t", "P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f PNlib_PNlib.Examples.ExtTest.TESTest_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TESTest_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TESTest_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.TESTest_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.ExtTest.TESTest_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_ExtTest_TESTest_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_ExtTest_TESTest_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.ExtTest.TESTest_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ExtTest.TESTest_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TESTest.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:P1.t,P2.t,T1.active,T1.fire,T1.putFireTime,T2.active,T2.fire,time Variables in the result:P1.N,P1.animateMarking,P1.benefitType,P1.color[1],P1.color[2],P1.color[3],P1.enablingBeneIn[1],P1.enablingBeneOut[1],P1.enablingPrioIn[1],P1.enablingPrioOut[1],P1.enablingProbIn[1],P1.enablingProbOut[1],P1.enablingType,P1.inTransition[1].active,P1.inTransition[1].arcWeight,P1.inTransition[1].arcWeightint,P1.inTransition[1].decreasingFactor,P1.inTransition[1].disPlace,P1.inTransition[1].disTransition,P1.inTransition[1].emptied,P1.inTransition[1].enable,P1.inTransition[1].enabledByInPlaces,P1.inTransition[1].fire,P1.inTransition[1].instSpeed,P1.inTransition[1].maxSpeed,P1.inTransition[1].maxTokens,P1.inTransition[1].maxTokensint,P1.inTransition[1].prelimSpeed,P1.inTransition[1].speedSum,P1.inTransition[1].t,P1.inTransition[1].tint,P1.levelCon,P1.localSeedIn,P1.localSeedOut,P1.maxTokens,P1.minTokens,P1.nIn,P1.nOut,P1.outTransition[1].active,P1.outTransition[1].arcType,P1.outTransition[1].arcWeight,P1.outTransition[1].arcWeightint,P1.outTransition[1].decreasingFactor,P1.outTransition[1].disPlace,P1.outTransition[1].disTransition,P1.outTransition[1].enable,P1.outTransition[1].fed,P1.outTransition[1].fire,P1.outTransition[1].instSpeed,P1.outTransition[1].maxSpeed,P1.outTransition[1].minTokens,P1.outTransition[1].minTokensint,P1.outTransition[1].normalArc,P1.outTransition[1].prelimSpeed,P1.outTransition[1].speedSum,P1.outTransition[1].t,P1.outTransition[1].testValue,P1.outTransition[1].testValueint,P1.outTransition[1].tint,P1.outTransition[1].tokenInOut,P1.pd_t,P1.reStart,P1.reStartTokens,P1.showCapacity,P1.showTokenFlow,P1.startTokens,P1.t,P2.N,P2.animateMarking,P2.benefitType,P2.color[1],P2.color[2],P2.color[3],P2.enablingBeneIn[1],P2.enablingPrioIn[1],P2.enablingProbIn[1],P2.enablingType,P2.inTransition[1].active,P2.inTransition[1].arcWeight,P2.inTransition[1].arcWeightint,P2.inTransition[1].decreasingFactor,P2.inTransition[1].disPlace,P2.inTransition[1].disTransition,P2.inTransition[1].emptied,P2.inTransition[1].enable,P2.inTransition[1].enabledByInPlaces,P2.inTransition[1].fire,P2.inTransition[1].instSpeed,P2.inTransition[1].maxSpeed,P2.inTransition[1].maxTokens,P2.inTransition[1].maxTokensint,P2.inTransition[1].prelimSpeed,P2.inTransition[1].speedSum,P2.inTransition[1].t,P2.inTransition[1].tint,P2.levelCon,P2.localSeedIn,P2.localSeedOut,P2.maxTokens,P2.minTokens,P2.nIn,P2.nOut,P2.pd_t,P2.reStart,P2.reStartTokens,P2.showCapacity,P2.showTokenFlow,P2.startTokens,P2.t,T1.E[1],T1.E[2],T1.E[3],T1.E[4],T1.E[5],T1.E[6],T1.P[1],T1.P[2],T1.P[3],T1.P[4],T1.P[5],T1.P[6],T1.TimeOver,T1.a,T1.active,T1.animateHazardFunc,T1.animatePutFireTime,T1.arcWeightIn[1],T1.arcWeightOut[1],T1.b,T1.c,T1.color[1],T1.color[2],T1.color[3],T1.distributionType,T1.fire,T1.firingCon,T1.h,T1.inPlaces[1].active,T1.inPlaces[1].arcType,T1.inPlaces[1].arcWeight,T1.inPlaces[1].arcWeightint,T1.inPlaces[1].decreasingFactor,T1.inPlaces[1].disPlace,T1.inPlaces[1].disTransition,T1.inPlaces[1].enable,T1.inPlaces[1].fed,T1.inPlaces[1].fire,T1.inPlaces[1].instSpeed,T1.inPlaces[1].maxSpeed,T1.inPlaces[1].minTokens,T1.inPlaces[1].minTokensint,T1.inPlaces[1].normalArc,T1.inPlaces[1].prelimSpeed,T1.inPlaces[1].speedSum,T1.inPlaces[1].t,T1.inPlaces[1].testValue,T1.inPlaces[1].testValueint,T1.inPlaces[1].tint,T1.inPlaces[1].tokenInOut,T1.localSeed,T1.mu,T1.nIn,T1.nOut,T1.outPlaces[1].active,T1.outPlaces[1].arcWeight,T1.outPlaces[1].arcWeightint,T1.outPlaces[1].decreasingFactor,T1.outPlaces[1].disPlace,T1.outPlaces[1].disTransition,T1.outPlaces[1].emptied,T1.outPlaces[1].enable,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].fire,T1.outPlaces[1].instSpeed,T1.outPlaces[1].maxSpeed,T1.outPlaces[1].maxTokens,T1.outPlaces[1].maxTokensint,T1.outPlaces[1].prelimSpeed,T1.outPlaces[1].speedSum,T1.outPlaces[1].t,T1.outPlaces[1].tint,T1.putEvent,T1.putFireTime,T1.showTransitionName,T1.sigma,T2.active,T2.arcWeightOut[1],T2.event[1],T2.event[2],T2.event[3],T2.event[4],T2.fire,T2.firingCon,T2.nIn,T2.nOut,T2.outPlaces[1].active,T2.outPlaces[1].arcWeight,T2.outPlaces[1].arcWeightint,T2.outPlaces[1].decreasingFactor,T2.outPlaces[1].disPlace,T2.outPlaces[1].disTransition,T2.outPlaces[1].emptied,T2.outPlaces[1].enable,T2.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].fire,T2.outPlaces[1].instSpeed,T2.outPlaces[1].maxSpeed,T2.outPlaces[1].maxTokens,T2.outPlaces[1].maxTokensint,T2.outPlaces[1].prelimSpeed,T2.outPlaces[1].speedSum,T2.outPlaces[1].t,T2.outPlaces[1].tint,settings.M,settings.N,settings.animateHazardFunc,settings.animateMarking,settings.animatePlace,settings.animatePutFireTime,settings.animateSpeed,settings.animateTIarc,settings.animateTransition,settings.animateWeightTIarc,settings.globalSeed,settings.scale,settings.showCapacity,settings.showPlaceName,settings.showTime,settings.showTokenFlow,settings.showTransitionName,settings.timeFire,time filterSimulationResults("PNlib_PNlib.Examples.ExtTest.TESTest_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.TESTest_OMSimulator-cs-euler.diff.mat", vars={"T1.putFireTime", "T1.active", "P2.t", "P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TESTest.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.TESTest_OMSimulator-cs-euler.diff.ref.mat", vars={"T1.putFireTime", "T1.active", "P2.t", "P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f PNlib_PNlib.Examples.ExtTest.TESTest_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TESTest_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TESTest_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.TESTest_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.ExtTest.TESTest_fmpy_res.csv --output-variables P1.t P2.t T1.active T1.fire T1.putFireTime T2.active T2.fire --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../PNlib_PNlib_Examples_ExtTest_TESTest.fmu) > PNlib_PNlib.Examples.ExtTest.TESTest_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ExtTest.TESTest_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TESTest.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.ExtTest.TESTest_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.ExtTest.TESTest_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:P1.t,P2.t,T1.active,T1.fire,T1.putFireTime,T2.active,T2.fire,time Variables in the result: filterSimulationResults("PNlib_PNlib.Examples.ExtTest.TESTest_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.TESTest_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.ExtTest.TESTest_fmpy_res.csv: [:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.ExtTest.TESTest_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.TESTest_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TESTest.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.TESTest_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 660] Failed to write the differing variables of /mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TESTest.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.TESTest_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 12.190686377696693]