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.001936/0.001936, allocations: 107.8 kB / 16.45 MB, free: 6.453 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.002157/0.002157, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.493/1.493, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.08347/0.08347, allocations: 16.96 MB / 325.8 MB, free: 3.484 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-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.003405/0.003405, allocations: 67.89 kB / 454.6 MB, free: 4.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1286, allocations: 57.59 MB / 0.5002 GB, free: 11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.003411/0.132, allocations: 1.876 MB / 0.502 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00356/0.1356, allocations: 1.933 MB / 0.5039 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002416/0.1358, allocations: 11.94 kB / 0.5039 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003498/0.1362, allocations: 115.1 kB / 0.504 GB, free: 7.059 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003601/0.1365, allocations: 123.1 kB / 0.5041 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.1384, allocations: 0.9008 MB / 0.505 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001564/0.14, allocations: 1.307 MB / 0.5063 GB, free: 4.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/0.1402, allocations: 91.84 kB / 0.5064 GB, free: 4.637 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005832/0.1408, allocations: 0.5298 MB / 0.5069 GB, free: 4.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004419/0.1412, allocations: 334.4 kB / 0.5072 GB, free: 3.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.1414, allocations: 75.94 kB / 0.5073 GB, free: 3.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007638/0.1421, allocations: 0.5228 MB / 0.5078 GB, free: 3.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.1423, allocations: 143.3 kB / 0.5079 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00035/0.1426, allocations: 330.5 kB / 0.5083 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.144, allocations: 1.055 MB / 0.5093 GB, free: 1.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.144, allocations: 0 / 0.5093 GB, free: 1.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.144, allocations: 0 / 0.5093 GB, free: 1.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.144, allocations: 0 / 0.5093 GB, free: 1.656 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.001683/0.1457, allocations: 1.227 MB / 0.5105 GB, free: 324 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.1457, allocations: 8.031 kB / 0.5105 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001526/0.1458, allocations: 114.7 kB / 0.5106 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002923/0.1461, allocations: 88.55 kB / 0.5107 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1878/0.334, allocations: 388.5 kB / 0.5111 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.3341, allocations: 77.7 kB / 0.5111 GB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.3343, allocations: 65.94 kB / 0.5112 GB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.336, allocations: 1.103 MB / 0.5123 GB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.3361, allocations: 3.219 kB / 0.5123 GB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.38e-05/0.3361, allocations: 38.36 kB / 0.5123 GB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.364e-05/0.3362, allocations: 52.02 kB / 0.5124 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.3373, allocations: 0.7211 MB / 0.5131 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002624/0.3399, allocations: 2.98 MB / 0.516 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008613/0.3408, allocations: 0.547 MB / 0.5165 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006635/0.3415, allocations: 460.5 kB / 0.517 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.745e-05/0.3415, allocations: 86.67 kB / 0.517 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/0.3426, allocations: 0.7572 MB / 0.5178 GB, free: 13.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.265e-06/0.3426, allocations: 0 / 0.5178 GB, free: 13.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.003045/0.3456, allocations: 2.114 MB / 0.5198 GB, free: 12.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002211/0.3459, allocations: 0.5374 MB / 0.5204 GB, free: 12.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004014/0.3463, allocations: 383.2 kB / 0.5207 GB, free: 11.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.397e-05/0.3463, allocations: 64.12 kB / 0.5208 GB, free: 11.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.3465, allocations: 248.6 kB / 0.521 GB, free: 11.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.3466, allocations: 191.6 kB / 0.5212 GB, free: 11.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002654/0.3469, allocations: 203.1 kB / 0.5214 GB, free: 11.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.347, allocations: 367.5 kB / 0.5218 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005057/0.3475, allocations: 306.5 kB / 0.522 GB, free: 11.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006295/0.3481, allocations: 0.6428 MB / 0.5227 GB, free: 10.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001904/0.35, allocations: 2.028 MB / 0.5247 GB, free: 8.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.35, allocations: 3.812 kB / 0.5247 GB, free: 8.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001823/0.3519, allocations: 1.469 MB / 0.5261 GB, free: 8.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.352, allocations: 315.6 kB / 0.5264 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.352, allocations: 10.34 kB / 0.5264 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.05e-05/0.352, allocations: 16.41 kB / 0.5264 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.3524, allocations: 116.6 kB / 0.5265 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-05/0.3524, allocations: 22.5 kB / 0.5266 GB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003996/0.3528, allocations: 105.2 kB / 0.5267 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.631e-05/0.3529, allocations: 50.19 kB / 0.5267 GB, free: 7.707 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.0006943/0.3536, allocations: 0.6998 MB / 0.5274 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.3537, allocations: 79.25 kB / 0.5275 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/0.3559, allocations: 1.601 MB / 0.529 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3559, allocations: 7.969 kB / 0.529 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.3559, allocations: 3.75 kB / 0.529 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.3559, allocations: 3.141 kB / 0.529 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/0.3591, allocations: 2.527 MB / 0.5315 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3591, allocations: 0 / 0.5315 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.3593, allocations: 21.48 kB / 0.5315 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.3593, allocations: 7.031 kB / 0.5315 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.221e-05/0.3594, allocations: 39.69 kB / 0.5316 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.3594, allocations: 3.391 kB / 0.5316 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3594, allocations: 4.5 kB / 0.5316 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00268/0.362, allocations: 2.016 MB / 0.5335 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.11e-05/0.3621, allocations: 128.4 kB / 0.5337 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/0.3623, allocations: 73.97 kB / 0.5337 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.3627, allocations: 50.8 kB / 0.5338 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/0.3629, allocations: 77.52 kB / 0.5339 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.498e-05/0.363, allocations: 43.55 kB / 0.5339 GB, free: 4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002148/0.3632, allocations: 230.7 kB / 0.5341 GB, free: 3.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3632, allocations: 1.312 kB / 0.5341 GB, free: 3.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001005/0.3642, allocations: 308.1 kB / 0.5344 GB, free: 3.82 MB / 382.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.00334/0.3675, allocations: 2.818 MB / 0.5372 GB, free: 2.238 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002035/0.3696, allocations: 1.642 MB / 0.5388 GB, free: 1.215 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3696, allocations: 1.156 kB / 0.5388 GB, free: 1.215 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.3707, allocations: 1.075 MB / 0.5398 GB, free: 492 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006141/0.3713, allocations: 114.2 kB / 0.5399 GB, free: 464 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.3815, allocations: 6.887 MB / 0.5467 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.3821, allocations: 0.9 MB / 0.5475 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003441/0.3824, allocations: 130.9 kB / 0.5477 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/0.3827, allocations: 169.5 kB / 0.5478 GB, free: 11.18 MB / 398.1 MB Notification: Performance of SimCode: time 9.41e-07/0.3827, allocations: 4 kB / 0.5478 GB, free: 11.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04233/0.425, allocations: 15.32 MB / 0.5628 GB, free: 13.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.702/9.127, allocations: 0.8438 kB / 0.5628 GB, free: 13.34 MB / 414.1 MB " [Timeout remaining time 651] (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: 11.98578100092709]