Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.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.001395/0.001395, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001732/0.001732, allocations: 212.8 kB / 22.25 MB, free: 5.258 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.785 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.09957/0.09957, allocations: 16.94 MB / 329.4 MB, free: 2.082 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.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",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.002211/0.002211, allocations: 63.91 kB / 459.7 MB, free: 2.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0994/0.1016, allocations: 57.63 MB / 0.5052 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.003242/0.1049, allocations: 1.729 MB / 0.5069 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00369/0.1085, allocations: 1.855 MB / 0.5087 GB, free: 4.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000292/0.1088, allocations: 7.938 kB / 0.5087 GB, free: 4.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.1092, allocations: 115 kB / 0.5088 GB, free: 4.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004474/0.1097, allocations: 135.1 kB / 0.5089 GB, free: 4.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.1118, allocations: 0.9475 MB / 0.5099 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001659/0.1134, allocations: 1.35 MB / 0.5112 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.1136, allocations: 72.33 kB / 0.5113 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006351/0.1142, allocations: 0.5416 MB / 0.5118 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005596/0.1148, allocations: 366.2 kB / 0.5121 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.1149, allocations: 92 kB / 0.5122 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.116, allocations: 0.6046 MB / 0.5128 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.1162, allocations: 151.3 kB / 0.513 GB, free: 460 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004384/0.1166, allocations: 334.7 kB / 0.5133 GB, free: 124 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2116/0.3282, allocations: 1.191 MB / 0.5144 GB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3283, allocations: 0 / 0.5144 GB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3283, allocations: 1.219 kB / 0.5144 GB, free: 11.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.56e-05/0.3283, allocations: 0 / 0.5144 GB, free: 11.06 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001733/0.33, allocations: 1.207 MB / 0.5156 GB, free: 10.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3301, allocations: 9 kB / 0.5156 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001464/0.3302, allocations: 128 kB / 0.5157 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003018/0.3305, allocations: 94.12 kB / 0.5158 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005777/0.3311, allocations: 369.5 kB / 0.5162 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.745e-05/0.3312, allocations: 116.6 kB / 0.5163 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.3313, allocations: 76.78 kB / 0.5164 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.3332, allocations: 1.794 MB / 0.5181 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.3332, allocations: 5.062 kB / 0.5181 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-05/0.3333, allocations: 36.98 kB / 0.5182 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.434e-05/0.3334, allocations: 58.03 kB / 0.5182 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.3351, allocations: 1.238 MB / 0.5194 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003311/0.3384, allocations: 3.009 MB / 0.5224 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.3397, allocations: 0.9993 MB / 0.5233 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.3408, allocations: 0.9117 MB / 0.5242 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.793e-05/0.3408, allocations: 11.62 kB / 0.5242 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001612/0.3424, allocations: 1.26 MB / 0.5255 GB, free: 5.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.595e-06/0.3424, allocations: 1.094 kB / 0.5255 GB, free: 5.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.004683/0.3471, allocations: 3.349 MB / 0.5287 GB, free: 3.996 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002415/0.3473, allocations: 0.5595 MB / 0.5293 GB, free: 3.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/0.3478, allocations: 433.1 kB / 0.5297 GB, free: 3.184 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.691e-05/0.3479, allocations: 70.62 kB / 0.5298 GB, free: 3.133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.3481, allocations: 267.9 kB / 0.53 GB, free: 2.922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.3482, allocations: 199.3 kB / 0.5302 GB, free: 2.785 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003099/0.3485, allocations: 232.1 kB / 0.5304 GB, free: 2.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.3487, allocations: 378.8 kB / 0.5308 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007593/0.3494, allocations: 0.7471 MB / 0.5315 GB, free: 1.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009663/0.3504, allocations: 1.229 MB / 0.5327 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003235/0.3536, allocations: 2.554 MB / 0.5352 GB, free: 14.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.93e-05/0.3536, allocations: 3.094 kB / 0.5352 GB, free: 14.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003211/0.3568, allocations: 2.183 MB / 0.5374 GB, free: 13.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002625/0.3571, allocations: 329.7 kB / 0.5377 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/0.3571, allocations: 12.22 kB / 0.5377 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.634e-05/0.3572, allocations: 17.06 kB / 0.5377 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.3576, allocations: 125.1 kB / 0.5378 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.89e-05/0.3576, allocations: 27.91 kB / 0.5378 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006115/0.3582, allocations: 139.3 kB / 0.538 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.3583, allocations: 60.47 kB / 0.538 GB, free: 13.32 MB / 398.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: 52 * Number of states: 0 () * Number of discrete variables: 128 ($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,T1.inPlaces[1].tokenInOut,$PRE.P1.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.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,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 (135): * Single equations (assignments): 124 * 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.001055/0.3594, allocations: 0.7523 MB / 0.5388 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.3595, allocations: 76.44 kB / 0.5388 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003492/0.363, allocations: 2.327 MB / 0.5411 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.363, allocations: 5.906 kB / 0.5411 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.363, allocations: 1.094 kB / 0.5411 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.363, allocations: 5.625 kB / 0.5411 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004784/0.3678, allocations: 3.167 MB / 0.5442 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3678, allocations: 4 kB / 0.5442 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.3679, allocations: 28.73 kB / 0.5443 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.368, allocations: 1.375 kB / 0.5443 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.827e-05/0.3681, allocations: 40.59 kB / 0.5443 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3681, allocations: 1.625 kB / 0.5443 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3681, allocations: 3.938 kB / 0.5443 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003805/0.3719, allocations: 2.794 MB / 0.547 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.372, allocations: 58.94 kB / 0.5471 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/0.3722, allocations: 72.11 kB / 0.5472 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004712/0.3727, allocations: 72.78 kB / 0.5472 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000529/0.3732, allocations: 337.6 kB / 0.5475 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.3733, allocations: 50.42 kB / 0.5476 GB, free: 8.363 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00028/0.3736, allocations: 251.8 kB / 0.5478 GB, free: 8.234 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3736, allocations: 0 / 0.5478 GB, free: 8.234 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001162/0.3747, allocations: 335.8 kB / 0.5482 GB, free: 8.184 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: 68 ($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,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.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.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,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 (37): * Single equations (assignments): 24 * 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.004924/0.3797, allocations: 3.61 MB / 0.5517 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00342/0.3831, allocations: 2.611 MB / 0.5542 GB, free: 4.242 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3831, allocations: 3.938 kB / 0.5542 GB, free: 4.242 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001838/0.3849, allocations: 1.583 MB / 0.5558 GB, free: 2.969 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006464/0.3856, allocations: 119.8 kB / 0.5559 GB, free: 2.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/0.3994, allocations: 9.564 MB / 0.5652 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.3998, allocations: 312.6 kB / 0.5655 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004289/0.4002, allocations: 151.8 kB / 0.5657 GB, free: 9.801 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/0.4006, allocations: 191.4 kB / 0.5659 GB, free: 9.613 MB / 414.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4006, allocations: 0 / 0.5659 GB, free: 9.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05411/0.4547, allocations: 19.46 MB / 0.5849 GB, free: 6.336 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.54, allocations: 3.984 kB / 0.5849 GB, free: 6.332 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.PDtoTD_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_PDtoTD.fmu > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD.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.PDtoTD_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.PDtoTD_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.PDtoTD_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.PDtoTD_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.PDtoTD_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.PDtoTD_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.299870118964463]