Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPD.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.001627/0.001627, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00201/0.00201, allocations: 218.4 kB / 22.25 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.984 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.08288/0.08288, allocations: 16.94 MB / 329.4 MB, free: 2.246 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.TDtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPD",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.002136/0.002136, allocations: 67.89 kB / 459.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1204, allocations: 57.63 MB / 0.5053 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.00356/0.124, allocations: 1.876 MB / 0.5071 GB, free: 6.672 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003765/0.1277, allocations: 1.944 MB / 0.509 GB, free: 4.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002456/0.128, allocations: 11.94 kB / 0.509 GB, free: 4.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.1283, allocations: 111.1 kB / 0.5091 GB, free: 4.602 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003757/0.1287, allocations: 135.1 kB / 0.5093 GB, free: 4.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.1308, allocations: 0.9554 MB / 0.5102 GB, free: 3.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001639/0.1324, allocations: 1.35 MB / 0.5115 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.1326, allocations: 64.3 kB / 0.5116 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006371/0.1332, allocations: 0.5377 MB / 0.5121 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005036/0.1337, allocations: 346.4 kB / 0.5124 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.1339, allocations: 72 kB / 0.5125 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.1349, allocations: 0.6435 MB / 0.5131 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.1351, allocations: 135.3 kB / 0.5132 GB, free: 376 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003614/0.1354, allocations: 338.4 kB / 0.5136 GB, free: 36 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2354/0.3708, allocations: 1.053 MB / 0.5146 GB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3708, allocations: 1.094 kB / 0.5146 GB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3708, allocations: 2.672 kB / 0.5146 GB, free: 11.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.3708, allocations: 0 / 0.5146 GB, free: 11.12 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001463/0.3723, allocations: 1.146 MB / 0.5157 GB, free: 10.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.3723, allocations: 10.31 kB / 0.5157 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001313/0.3725, allocations: 115.3 kB / 0.5158 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003112/0.3728, allocations: 84.14 kB / 0.5159 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005244/0.3733, allocations: 347.7 kB / 0.5163 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.3734, allocations: 110.3 kB / 0.5164 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.3735, allocations: 67.94 kB / 0.5164 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.375, allocations: 1.1 MB / 0.5175 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.375, allocations: 6.328 kB / 0.5175 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.297e-05/0.3751, allocations: 34.2 kB / 0.5175 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-05/0.3752, allocations: 43.83 kB / 0.5176 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.3762, allocations: 0.7241 MB / 0.5183 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002919/0.3791, allocations: 2.871 MB / 0.5211 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000912/0.3801, allocations: 0.5493 MB / 0.5216 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006939/0.3808, allocations: 457.8 kB / 0.5221 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.536e-05/0.3808, allocations: 12.72 kB / 0.5221 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/0.382, allocations: 0.7575 MB / 0.5228 GB, free: 7.926 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.926e-06/0.382, allocations: 0.625 kB / 0.5228 GB, free: 7.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.003095/0.3851, allocations: 2.115 MB / 0.5249 GB, free: 7.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002249/0.3853, allocations: 0.5372 MB / 0.5254 GB, free: 6.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004374/0.3857, allocations: 381.3 kB / 0.5258 GB, free: 6.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.423e-05/0.3858, allocations: 63.73 kB / 0.5258 GB, free: 6.293 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.3859, allocations: 245 kB / 0.5261 GB, free: 6.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.3861, allocations: 193.4 kB / 0.5262 GB, free: 5.961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.3863, allocations: 202.4 kB / 0.5264 GB, free: 5.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3864, allocations: 376.7 kB / 0.5268 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004755/0.3869, allocations: 301 kB / 0.5271 GB, free: 5.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006155/0.3875, allocations: 0.6421 MB / 0.5277 GB, free: 4.906 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002047/0.3896, allocations: 2.028 MB / 0.5297 GB, free: 3.289 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.545e-05/0.3896, allocations: 4.094 kB / 0.5297 GB, free: 3.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002105/0.3917, allocations: 1.47 MB / 0.5311 GB, free: 2.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001462/0.3918, allocations: 320.5 kB / 0.5314 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.3919, allocations: 11.36 kB / 0.5314 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.194e-05/0.3919, allocations: 16.31 kB / 0.5315 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.3922, allocations: 111.8 kB / 0.5316 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.888e-05/0.3923, allocations: 27.17 kB / 0.5316 GB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004345/0.3927, allocations: 103.7 kB / 0.5317 GB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.13e-05/0.3928, allocations: 51.06 kB / 0.5317 GB, free: 2.168 MB / 382.1 MB Warning: Assuming fixed start value for the following 25 variables: 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 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.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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 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: 47 * Number of states: 0 () * Number of discrete variables: 118 ($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.reStart,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 113 * Array equations: 0 * 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.0009567/0.3937, allocations: 0.6979 MB / 0.5324 GB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.3939, allocations: 68.84 kB / 0.5325 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/0.3962, allocations: 1.6 MB / 0.5341 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.3962, allocations: 4.125 kB / 0.5341 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3962, allocations: 4.688 kB / 0.5341 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.3962, allocations: 2.953 kB / 0.5341 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004118/0.4003, allocations: 2.513 MB / 0.5365 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4003, allocations: 1.25 kB / 0.5365 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.4005, allocations: 27.17 kB / 0.5365 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.4005, allocations: 5 kB / 0.5366 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-05/0.4006, allocations: 43.69 kB / 0.5366 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.4006, allocations: 1.344 kB / 0.5366 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4006, allocations: 2.109 kB / 0.5366 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003383/0.4039, allocations: 2.008 MB / 0.5386 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.4041, allocations: 51.84 kB / 0.5386 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/0.4043, allocations: 70.69 kB / 0.5387 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/0.4047, allocations: 56.86 kB / 0.5387 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/0.4049, allocations: 79.42 kB / 0.5388 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.4051, allocations: 44.41 kB / 0.5388 GB, free: 14.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003372/0.4054, allocations: 230.9 kB / 0.5391 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4054, allocations: 0 / 0.5391 GB, free: 14.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001486/0.4069, allocations: 308.4 kB / 0.5394 GB, free: 14.52 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.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,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.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,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.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 23 * Array equations: 0 * 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.004746/0.4116, allocations: 2.83 MB / 0.5421 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002877/0.4145, allocations: 1.641 MB / 0.5437 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4145, allocations: 0 / 0.5437 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.4158, allocations: 1.073 MB / 0.5448 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006407/0.4165, allocations: 105.6 kB / 0.5449 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.4268, allocations: 6.899 MB / 0.5516 GB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006082/0.4274, allocations: 0.8973 MB / 0.5525 GB, free: 6.371 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003292/0.4278, allocations: 131.2 kB / 0.5526 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/0.428, allocations: 170.3 kB / 0.5528 GB, free: 6.234 MB / 398.1 MB Notification: Performance of SimCode: time 8.11e-07/0.428, allocations: 0 / 0.5528 GB, free: 6.234 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04805/0.4761, allocations: 16.06 MB / 0.5685 GB, free: 8.539 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.59, allocations: 0 / 0.5685 GB, free: 8.539 MB / 414.1 MB " [Timeout remaining time 647] (rm -f PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPD.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.TDtoPD_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_TDtoPD.fmu > PNlib_PNlib.Examples.DisTest.TDtoPD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD.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.TDtoPD_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.TDtoPD_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.TDtoPD_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.TDtoPD_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.TDtoPD_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.TDtoPD_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.897710814002494]