Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEnoInput.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.0009208/0.0009208, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.0009904/0.0009904, allocations: 216.7 kB / 22.25 MB, free: 3.57 MB / 13.93 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.012/1.012, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] 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.05305/0.05305, allocations: 16.95 MB / 329.4 MB, free: 1.078 MB / 250.7 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",fmuType="me_cs",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.001452/0.001452, allocations: 75.89 kB / 460.5 MB, free: 26.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08201/0.08346, allocations: 57.62 MB / 0.506 GB, free: 1.285 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.00224/0.0857, allocations: 1.736 MB / 0.5076 GB, free: 15.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002377/0.08808, allocations: 1.894 MB / 0.5095 GB, free: 13.64 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.08825, allocations: 11.94 kB / 0.5095 GB, free: 13.63 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004722/0.08873, allocations: 123.1 kB / 0.5096 GB, free: 13.51 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.08893, allocations: 139 kB / 0.5098 GB, free: 13.38 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.09009, allocations: 0.9515 MB / 0.5107 GB, free: 12.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009601/0.09105, allocations: 1.342 MB / 0.512 GB, free: 11.08 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.09121, allocations: 64.3 kB / 0.5121 GB, free: 11.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006907/0.0919, allocations: 0.5416 MB / 0.5126 GB, free: 10.47 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003447/0.09224, allocations: 330.3 kB / 0.5129 GB, free: 10.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.558e-05/0.09232, allocations: 72 kB / 0.513 GB, free: 10.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006405/0.09296, allocations: 0.6239 MB / 0.5136 GB, free: 9.449 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.09309, allocations: 147.3 kB / 0.5137 GB, free: 9.305 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.0933, allocations: 282.8 kB / 0.514 GB, free: 9.027 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008856/0.09419, allocations: 1.102 MB / 0.5151 GB, free: 7.922 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.09419, allocations: 0 / 0.5151 GB, free: 7.922 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.09419, allocations: 4 kB / 0.5151 GB, free: 7.918 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.0942, allocations: 0 / 0.5151 GB, free: 7.918 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001261/0.09546, allocations: 1.176 MB / 0.5162 GB, free: 6.641 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.09551, allocations: 12.03 kB / 0.5162 GB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.09561, allocations: 118.7 kB / 0.5163 GB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.09583, allocations: 88.5 kB / 0.5164 GB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000444/0.09627, allocations: 361 kB / 0.5168 GB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.09639, allocations: 104.4 kB / 0.5169 GB, free: 5.926 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.843e-05/0.09648, allocations: 67.98 kB / 0.5169 GB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.09789, allocations: 1.649 MB / 0.5185 GB, free: 4.051 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.09791, allocations: 3.938 kB / 0.5186 GB, free: 4.047 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-05/0.09796, allocations: 31.98 kB / 0.5186 GB, free: 4.016 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-05/0.09803, allocations: 52.95 kB / 0.5186 GB, free: 3.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.0993, allocations: 1.104 MB / 0.5197 GB, free: 2.805 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002285/0.1016, allocations: 2.747 MB / 0.5224 GB, free: 15.94 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008421/0.1024, allocations: 0.9117 MB / 0.5233 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006481/0.1031, allocations: 0.8296 MB / 0.5241 GB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.1031, allocations: 4 kB / 0.5241 GB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009786/0.1041, allocations: 1.234 MB / 0.5253 GB, free: 12.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=79): time 2.334e-06/0.1041, allocations: 0 / 0.5253 GB, free: 12.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=79): time 0.002973/0.1071, allocations: 3.077 MB / 0.5283 GB, free: 9.473 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002517/0.1073, allocations: 0.6156 MB / 0.5289 GB, free: 8.734 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/0.1076, allocations: 392.1 kB / 0.5293 GB, free: 8.348 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/0.1077, allocations: 69.69 kB / 0.5294 GB, free: 8.273 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.1078, allocations: 249.2 kB / 0.5296 GB, free: 8.023 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.1079, allocations: 206.5 kB / 0.5298 GB, free: 7.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.1081, allocations: 214.5 kB / 0.53 GB, free: 7.605 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1082, allocations: 374.8 kB / 0.5303 GB, free: 7.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000473/0.1087, allocations: 0.6414 MB / 0.531 GB, free: 6.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006948/0.1094, allocations: 1.135 MB / 0.5321 GB, free: 5.125 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.1111, allocations: 2.162 MB / 0.5342 GB, free: 2.641 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.1111, allocations: 0 / 0.5342 GB, free: 2.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001555/0.1126, allocations: 1.897 MB / 0.536 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.1128, allocations: 346.7 kB / 0.5364 GB, free: 200 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.1128, allocations: 11.94 kB / 0.5364 GB, free: 188 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/0.1128, allocations: 16 kB / 0.5364 GB, free: 172 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.113, allocations: 119.7 kB / 0.5365 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/0.1131, allocations: 27.86 kB / 0.5365 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.1133, allocations: 115.2 kB / 0.5367 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.946e-05/0.1134, allocations: 52 kB / 0.5367 GB, free: 15.86 MB / 410.7 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 T2.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T2.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 T2.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: 49 * Number of states: 0 () * Number of discrete variables: 121 ($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,$whenCondition8,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition6,$whenCondition7,T2.eventIndex,$PRE.T2.eventIndex,$whenCondition3,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,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T2.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T2.enabledByInPlaces,P1.enableIn.arcWeight[1],T2.activation.disPlaceOut[1],T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.tIntOut[1],T2.eventPassed,$PRE.T2.eventPassed,T2.firingTime,T2.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,$whenCondition4,$whenCondition5,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 11 * 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.0005926/0.114, allocations: 0.7377 MB / 0.5374 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.173e-05/0.1141, allocations: 71.72 kB / 0.5375 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.1159, allocations: 2.066 MB / 0.5395 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.1159, allocations: 12 kB / 0.5395 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1159, allocations: 0 / 0.5395 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.1159, allocations: 3.984 kB / 0.5395 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002613/0.1185, allocations: 2.858 MB / 0.5423 GB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1185, allocations: 4 kB / 0.5423 GB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.337e-05/0.1186, allocations: 19.98 kB / 0.5423 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1186, allocations: 0 / 0.5423 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.417e-05/0.1187, allocations: 39.97 kB / 0.5424 GB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1187, allocations: 4 kB / 0.5424 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1187, allocations: 3.938 kB / 0.5424 GB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/0.1208, allocations: 2.598 MB / 0.5449 GB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.1208, allocations: 51.59 kB / 0.545 GB, free: 6.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.1209, allocations: 71.97 kB / 0.545 GB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.1211, allocations: 47.97 kB / 0.5451 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.1213, allocations: 91.83 kB / 0.5452 GB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.943e-05/0.1213, allocations: 43.98 kB / 0.5452 GB, free: 6.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001675/0.1215, allocations: 231 kB / 0.5454 GB, free: 6.504 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1215, allocations: 7.938 kB / 0.5454 GB, free: 6.496 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008406/0.1223, allocations: 323.5 kB / 0.5458 GB, free: 6.18 MB / 410.7 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.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,T2.active,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,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,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active) * Number of discrete states: 50 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.eventIndex,$whenCondition3,T2.activation.active,T2.eventPassed,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 (37): * Single equations (assignments): 23 * Array equations: 1 * Algorithm blocks: 9 * 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.002774/0.1251, allocations: 3.413 MB / 0.5491 GB, free: 2.648 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1752/0.3003, allocations: 2.448 MB / 0.5515 GB, free: 48.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.3003, allocations: 0 / 0.5515 GB, free: 48.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001741/0.3021, allocations: 1.518 MB / 0.553 GB, free: 47.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005202/0.3026, allocations: 100.7 kB / 0.5531 GB, free: 47.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007049/0.3096, allocations: 8.93 MB / 0.5618 GB, free: 42.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.3099, allocations: 304.5 kB / 0.5621 GB, free: 42.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002884/0.3102, allocations: 140.1 kB / 0.5622 GB, free: 42.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.3103, allocations: 177.3 kB / 0.5624 GB, free: 41.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.282e-06/0.3103, allocations: 0 / 0.5624 GB, free: 41.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08573/0.3961, allocations: 17.52 MB / 0.5795 GB, free: 32.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.417/7.813, allocations: 14.38 kB / 0.5795 GB, free: 32.76 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEnoInput.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TEnoInput_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TEnoInput.fmu) > PNlib_PNlib.Examples.DisTest.TEnoInput.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TEnoInput_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TEnoInput_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TEnoInput_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TEnoInput_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy_res.csv --output-variables P1.t T2.active T2.fire --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../PNlib_PNlib_Examples_DisTest_TEnoInput.fmu) > PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:P1.t,T2.active,T2.fire,time Variables in the result: filterSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy_res.csv: [:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 660] Failed to write the differing variables of /mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 10.754950204864144]