Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTT.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.001851/0.001851, allocations: 106.4 kB / 18.94 MB, free: 2.957 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.001794/0.001794, allocations: 219 kB / 22.25 MB, free: 5.133 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.441/1.441, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.08365/0.08365, allocations: 16.94 MB / 329.4 MB, free: 2.375 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.DisTest.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",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.002078/0.002078, allocations: 67.91 kB / 459.8 MB, free: 2.293 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1158, allocations: 57.63 MB / 0.5053 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.003387/0.1192, allocations: 1.87 MB / 0.5071 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003794/0.123, allocations: 1.99 MB / 0.509 GB, free: 4.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.1232, allocations: 7.938 kB / 0.5091 GB, free: 4.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.1236, allocations: 115 kB / 0.5092 GB, free: 4.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000357/0.124, allocations: 139.1 kB / 0.5093 GB, free: 4.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.126, allocations: 0.9709 MB / 0.5102 GB, free: 3.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.1275, allocations: 1.357 MB / 0.5116 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.1277, allocations: 61.16 kB / 0.5116 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006242/0.1283, allocations: 0.5532 MB / 0.5122 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005825/0.1289, allocations: 390.2 kB / 0.5125 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.129, allocations: 88 kB / 0.5126 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009602/0.13, allocations: 0.6553 MB / 0.5133 GB, free: 388 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.1301, allocations: 147.3 kB / 0.5134 GB, free: 240 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.211/0.3411, allocations: 389.1 kB / 0.5138 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.343, allocations: 1.193 MB / 0.5149 GB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.343, allocations: 0.6875 kB / 0.5149 GB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.343, allocations: 0 / 0.5149 GB, free: 10.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.343, allocations: 0 / 0.5149 GB, free: 10.66 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001807/0.3448, allocations: 1.216 MB / 0.5161 GB, free: 9.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.3448, allocations: 10.34 kB / 0.5161 GB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001616/0.345, allocations: 124.8 kB / 0.5163 GB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003479/0.3454, allocations: 94.02 kB / 0.5164 GB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005778/0.3459, allocations: 382.6 kB / 0.5167 GB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.346, allocations: 115.6 kB / 0.5168 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.3462, allocations: 79.62 kB / 0.5169 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.3478, allocations: 1.311 MB / 0.5182 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.3478, allocations: 5.625 kB / 0.5182 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.733e-05/0.3479, allocations: 35.44 kB / 0.5182 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.891e-05/0.348, allocations: 57.02 kB / 0.5183 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.3495, allocations: 0.8813 MB / 0.5191 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003648/0.3531, allocations: 3.203 MB / 0.5223 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.3543, allocations: 0.6447 MB / 0.5229 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008751/0.3552, allocations: 0.5616 MB / 0.5234 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.843e-05/0.3552, allocations: 11.66 kB / 0.5235 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001404/0.3566, allocations: 0.8952 MB / 0.5243 GB, free: 7.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.464e-06/0.3566, allocations: 0 / 0.5243 GB, free: 7.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.003766/0.3604, allocations: 2.54 MB / 0.5268 GB, free: 6.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002334/0.3606, allocations: 0.5609 MB / 0.5274 GB, free: 5.457 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004892/0.3611, allocations: 422.1 kB / 0.5278 GB, free: 5.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.933e-05/0.3612, allocations: 72.7 kB / 0.5278 GB, free: 5.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.3614, allocations: 262.4 kB / 0.5281 GB, free: 4.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.3615, allocations: 194.3 kB / 0.5283 GB, free: 4.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003052/0.3618, allocations: 222.2 kB / 0.5285 GB, free: 4.754 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.3619, allocations: 378 kB / 0.5288 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006983/0.3626, allocations: 437 kB / 0.5293 GB, free: 4.273 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008436/0.3634, allocations: 0.7933 MB / 0.53 GB, free: 3.668 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002571/0.366, allocations: 2.512 MB / 0.5325 GB, free: 1.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.578e-05/0.366, allocations: 2.75 kB / 0.5325 GB, free: 1.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002505/0.3685, allocations: 1.813 MB / 0.5343 GB, free: 1.004 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.3687, allocations: 335.2 kB / 0.5346 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.3687, allocations: 10.69 kB / 0.5346 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.095e-05/0.3687, allocations: 17.67 kB / 0.5346 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/0.3691, allocations: 120.3 kB / 0.5347 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.686e-05/0.3691, allocations: 22.8 kB / 0.5347 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005537/0.3697, allocations: 136.1 kB / 0.5349 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.684e-05/0.3698, allocations: 53.67 kB / 0.5349 GB, free: 0.5781 MB / 382.1 MB Warning: Assuming fixed start value for the following 25 variables: 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 P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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 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: 50 * Number of states: 0 () * Number of discrete variables: 125 ($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,$whenCondition7,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.firingTime,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.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,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 119 * Array equations: 1 * Algorithm blocks: 10 * 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.0009347/0.3707, allocations: 0.7554 MB / 0.5357 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.3709, allocations: 76.91 kB / 0.5357 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003202/0.3741, allocations: 1.956 MB / 0.5376 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/0.3741, allocations: 5.641 kB / 0.5376 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3741, allocations: 5.094 kB / 0.5376 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3741, allocations: 1.5 kB / 0.5377 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003909/0.378, allocations: 2.72 MB / 0.5403 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.378, allocations: 0 / 0.5403 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.3781, allocations: 29.14 kB / 0.5403 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.3781, allocations: 5.219 kB / 0.5403 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.093e-05/0.3782, allocations: 36.41 kB / 0.5404 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.3782, allocations: 2.75 kB / 0.5404 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3782, allocations: 0 / 0.5404 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003347/0.3816, allocations: 2.33 MB / 0.5427 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.262e-05/0.3817, allocations: 53.33 kB / 0.5427 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.3819, allocations: 72.66 kB / 0.5428 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/0.3824, allocations: 77.27 kB / 0.5428 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005321/0.3829, allocations: 331.3 kB / 0.5432 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.383, allocations: 48.67 kB / 0.5432 GB, free: 12.61 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002828/0.3833, allocations: 252 kB / 0.5434 GB, free: 12.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3833, allocations: 0 / 0.5434 GB, free: 12.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001215/0.3845, allocations: 340.1 kB / 0.5438 GB, free: 12.41 MB / 398.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: 66 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,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,T1.firingTime,T1.fireTime,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 51 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,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],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 22 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * 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.004458/0.389, allocations: 3.141 MB / 0.5468 GB, free: 10.72 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002767/0.3917, allocations: 1.919 MB / 0.5487 GB, free: 9.637 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3917, allocations: 1.094 kB / 0.5487 GB, free: 9.637 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001622/0.3933, allocations: 1.238 MB / 0.5499 GB, free: 8.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006335/0.394, allocations: 107.6 kB / 0.55 GB, free: 8.715 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.4055, allocations: 7.798 MB / 0.5576 GB, free: 3.129 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006566/0.4062, allocations: 0.9152 MB / 0.5585 GB, free: 2.188 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003998/0.4066, allocations: 146.3 kB / 0.5587 GB, free: 2.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/0.4068, allocations: 191.4 kB / 0.5589 GB, free: 1.863 MB / 398.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4068, allocations: 0 / 0.5589 GB, free: 1.863 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05155/0.4584, allocations: 18.66 MB / 0.5771 GB, free: 15.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.57, allocations: 3.938 kB / 0.5771 GB, free: 15.32 MB / 430.1 MB " [Timeout remaining time 646] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTT.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.PDtoTT_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 PNlib_PNlib_Examples_DisTest_PDtoTT.fmu > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.DisTest.PDtoTT_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.PDtoTT_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.PDtoTT_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.PDtoTT_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.PDtoTT_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.PDtoTT_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.77270563399361]