Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TTtoPD.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.001389/0.001389, allocations: 106.2 kB / 18.84 MB, free: 3.027 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.00171/0.00171, allocations: 209.2 kB / 22.13 MB, free: 5.164 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.503/1.503, allocations: 230.5 MB / 255.8 MB, free: 8.027 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.08442/0.08442, allocations: 16.97 MB / 329.1 MB, free: 2.453 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.TTtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TTtoPD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TTtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TTtoPD",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.003485/0.003485, allocations: 67.89 kB / 459.4 MB, free: 2.449 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1557, allocations: 57.63 MB / 0.5049 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.00508/0.1608, allocations: 1.73 MB / 0.5066 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005607/0.1664, allocations: 1.885 MB / 0.5084 GB, free: 5.086 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005552/0.167, allocations: 7.938 kB / 0.5085 GB, free: 5.078 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006191/0.1676, allocations: 115.1 kB / 0.5086 GB, free: 4.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006747/0.1683, allocations: 139.1 kB / 0.5087 GB, free: 4.828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.1718, allocations: 0.9655 MB / 0.5096 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002954/0.1748, allocations: 1.346 MB / 0.511 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003149/0.1751, allocations: 56.31 kB / 0.511 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.1764, allocations: 0.5455 MB / 0.5115 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.1774, allocations: 350.4 kB / 0.5119 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002693/0.1777, allocations: 75.94 kB / 0.5119 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.1796, allocations: 0.6319 MB / 0.5126 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003237/0.1799, allocations: 139.3 kB / 0.5127 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006666/0.1806, allocations: 282.8 kB / 0.513 GB, free: 456 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2816/0.4622, allocations: 1.055 MB / 0.514 GB, free: 11.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.4622, allocations: 0.7812 kB / 0.514 GB, free: 11.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.4622, allocations: 0 / 0.514 GB, free: 11.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.47e-05/0.4623, allocations: 0 / 0.514 GB, free: 11.1 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.002472/0.4647, allocations: 1.137 MB / 0.5151 GB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.4648, allocations: 10 kB / 0.5151 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/0.4649, allocations: 112.8 kB / 0.5152 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003321/0.4653, allocations: 90.34 kB / 0.5153 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005523/0.4658, allocations: 353.5 kB / 0.5156 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.4659, allocations: 106.4 kB / 0.5157 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.4661, allocations: 68.48 kB / 0.5158 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.4679, allocations: 1.537 MB / 0.5173 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.468, allocations: 6.75 kB / 0.5173 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-05/0.468, allocations: 33.83 kB / 0.5174 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.573e-05/0.4681, allocations: 43.97 kB / 0.5174 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.4694, allocations: 1.034 MB / 0.5184 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/0.4722, allocations: 2.702 MB / 0.521 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.4733, allocations: 0.8626 MB / 0.5219 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008742/0.4742, allocations: 0.7639 MB / 0.5226 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.644e-05/0.4743, allocations: 10.91 kB / 0.5226 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001411/0.4757, allocations: 1.108 MB / 0.5237 GB, free: 6.465 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 2.395e-06/0.4757, allocations: 0 / 0.5237 GB, free: 6.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=71): time 0.003597/0.4793, allocations: 2.861 MB / 0.5265 GB, free: 4.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002093/0.4795, allocations: 0.5323 MB / 0.527 GB, free: 4.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004215/0.4799, allocations: 382.1 kB / 0.5274 GB, free: 4.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.781e-05/0.48, allocations: 65.97 kB / 0.5275 GB, free: 4.129 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.4801, allocations: 249.4 kB / 0.5277 GB, free: 3.934 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.4803, allocations: 185.5 kB / 0.5279 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/0.4805, allocations: 196.9 kB / 0.5281 GB, free: 3.723 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.4806, allocations: 368.4 kB / 0.5284 GB, free: 3.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005749/0.4812, allocations: 0.5894 MB / 0.529 GB, free: 2.961 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007598/0.482, allocations: 1.025 MB / 0.53 GB, free: 1.988 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001986/0.484, allocations: 2.011 MB / 0.532 GB, free: 428 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/0.484, allocations: 3.562 kB / 0.532 GB, free: 428 kB / 382.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002395/0.4864, allocations: 1.756 MB / 0.5337 GB, free: 15.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002424/0.4866, allocations: 310 kB / 0.534 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.4866, allocations: 9.5 kB / 0.534 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-05/0.4867, allocations: 14.78 kB / 0.534 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.487, allocations: 113.1 kB / 0.5341 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.495e-05/0.4871, allocations: 26.22 kB / 0.5341 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005215/0.4876, allocations: 108.1 kB / 0.5342 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.4877, allocations: 50.58 kB / 0.5343 GB, free: 14.96 MB / 398.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: 45 * Number of states: 0 () * Number of discrete variables: 115 ($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.firingTime,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 (118): * Single equations (assignments): 108 * 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.001108/0.4888, allocations: 0.6947 MB / 0.535 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.4889, allocations: 71.44 kB / 0.535 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003198/0.4921, allocations: 1.91 MB / 0.5369 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.4921, allocations: 3.594 kB / 0.5369 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.4922, allocations: 5.734 kB / 0.5369 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.4922, allocations: 2.594 kB / 0.5369 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004081/0.4962, allocations: 2.477 MB / 0.5393 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.4963, allocations: 4.891 kB / 0.5393 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.4964, allocations: 28.19 kB / 0.5394 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.4964, allocations: 2.438 kB / 0.5394 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.305e-05/0.4965, allocations: 44.08 kB / 0.5394 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.4965, allocations: 1.094 kB / 0.5394 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4965, allocations: 1.125 kB / 0.5394 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003596/0.5001, allocations: 2.428 MB / 0.5418 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.088e-05/0.5002, allocations: 47.55 kB / 0.5418 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/0.5004, allocations: 77.2 kB / 0.5419 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.5007, allocations: 53.98 kB / 0.5419 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/0.5009, allocations: 83.97 kB / 0.542 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.451e-05/0.501, allocations: 41.81 kB / 0.5421 GB, free: 10.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002971/0.5013, allocations: 227.4 kB / 0.5423 GB, free: 10.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5013, allocations: 1.156 kB / 0.5423 GB, free: 10.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001159/0.5025, allocations: 305.4 kB / 0.5426 GB, free: 10.55 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: 64 ($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,$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.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 47 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,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 (33): * Single equations (assignments): 21 * 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.004577/0.5071, allocations: 3.231 MB / 0.5457 GB, free: 8.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002994/0.5101, allocations: 2.274 MB / 0.5479 GB, free: 6.988 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5101, allocations: 1.094 kB / 0.5479 GB, free: 6.988 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001654/0.5117, allocations: 1.399 MB / 0.5493 GB, free: 5.945 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006232/0.5123, allocations: 103 kB / 0.5494 GB, free: 5.918 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.523, allocations: 8.301 MB / 0.5575 GB, free: 272 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.5233, allocations: 300.2 kB / 0.5578 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000304/0.5236, allocations: 121.5 kB / 0.5579 GB, free: 148 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/0.5239, allocations: 172.8 kB / 0.5581 GB, free: 24 kB / 398.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5239, allocations: 3.375 kB / 0.5581 GB, free: 24 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04923/0.5731, allocations: 15.49 MB / 0.5732 GB, free: 2.223 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.44, allocations: 6.281 kB / 0.5732 GB, free: 2.223 MB / 414.1 MB " [Timeout remaining time 647] (rm -f PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TTtoPD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TTtoPD_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TTtoPD_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TTtoPD.fmu > PNlib_PNlib.Examples.DisTest.TTtoPD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.299941553035751]