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.001889/0.001889, allocations: 108.7 kB / 16.46 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.002273/0.002273, allocations: 216.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.523/1.523, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.08423/0.08423, allocations: 16.95 MB / 325.8 MB, free: 3.496 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.002105/0.002105, allocations: 71.88 kB / 454.6 MB, free: 4.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1058, allocations: 57.58 MB / 0.5002 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.00333/0.1091, allocations: 1.866 MB / 0.502 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003897/0.113, allocations: 1.975 MB / 0.5039 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002413/0.1133, allocations: 7.938 kB / 0.5039 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003961/0.1137, allocations: 115.1 kB / 0.5041 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003564/0.114, allocations: 131.1 kB / 0.5042 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.1159, allocations: 0.9111 MB / 0.5051 GB, free: 6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001661/0.1176, allocations: 1.311 MB / 0.5063 GB, free: 4.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002226/0.1178, allocations: 83.84 kB / 0.5064 GB, free: 4.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006343/0.1184, allocations: 0.5299 MB / 0.5069 GB, free: 4.074 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004697/0.1189, allocations: 334.4 kB / 0.5073 GB, free: 3.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.119, allocations: 72 kB / 0.5073 GB, free: 3.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008339/0.1199, allocations: 0.5305 MB / 0.5079 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.12, allocations: 135.3 kB / 0.508 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003811/0.1204, allocations: 330.5 kB / 0.5083 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.1218, allocations: 1.055 MB / 0.5093 GB, free: 1.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1218, allocations: 4 kB / 0.5093 GB, free: 1.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1218, allocations: 0 / 0.5093 GB, free: 1.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.1218, allocations: 0 / 0.5093 GB, free: 1.625 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.001729/0.1235, allocations: 1.222 MB / 0.5105 GB, free: 300 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1236, allocations: 12.03 kB / 0.5105 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001523/0.1237, allocations: 114.7 kB / 0.5106 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003013/0.124, allocations: 88.5 kB / 0.5107 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1925/0.3165, allocations: 391.3 kB / 0.5111 GB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.3166, allocations: 70.75 kB / 0.5112 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.3168, allocations: 67.53 kB / 0.5112 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.3184, allocations: 1.096 MB / 0.5123 GB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.3184, allocations: 9.125 kB / 0.5123 GB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-05/0.3185, allocations: 31.75 kB / 0.5123 GB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.247e-05/0.3186, allocations: 51.88 kB / 0.5124 GB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.3196, allocations: 0.7102 MB / 0.5131 GB, free: 16.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.3222, allocations: 2.978 MB / 0.516 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008645/0.323, allocations: 0.537 MB / 0.5165 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006439/0.3237, allocations: 454.2 kB / 0.517 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.988e-05/0.3237, allocations: 90.98 kB / 0.517 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001107/0.3248, allocations: 0.763 MB / 0.5178 GB, free: 13.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 3.246e-06/0.3248, allocations: 2.203 kB / 0.5178 GB, free: 13.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=71): time 0.003073/0.3279, allocations: 2.101 MB / 0.5198 GB, free: 12.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001917/0.3281, allocations: 0.5349 MB / 0.5204 GB, free: 12.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.3285, allocations: 380.8 kB / 0.5207 GB, free: 11.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.905e-05/0.3286, allocations: 66.44 kB / 0.5208 GB, free: 11.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.3287, allocations: 247.8 kB / 0.521 GB, free: 11.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.3288, allocations: 179.5 kB / 0.5212 GB, free: 11.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.3291, allocations: 200.5 kB / 0.5214 GB, free: 11.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.768e-05/0.3292, allocations: 368.4 kB / 0.5217 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004867/0.3296, allocations: 298.6 kB / 0.522 GB, free: 11.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006042/0.3302, allocations: 0.6212 MB / 0.5226 GB, free: 10.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/0.3321, allocations: 2.005 MB / 0.5246 GB, free: 8.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.3322, allocations: 1.188 kB / 0.5246 GB, free: 8.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001825/0.334, allocations: 1.441 MB / 0.526 GB, free: 8.191 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.3341, allocations: 315.3 kB / 0.5263 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.3341, allocations: 14.34 kB / 0.5263 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.878e-05/0.3342, allocations: 18.56 kB / 0.5263 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/0.3345, allocations: 105.5 kB / 0.5264 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-05/0.3345, allocations: 19.84 kB / 0.5264 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004132/0.3349, allocations: 111.3 kB / 0.5266 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-05/0.335, allocations: 49.25 kB / 0.5266 GB, free: 7.766 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: 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.000749/0.3358, allocations: 0.6949 MB / 0.5273 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.3359, allocations: 72.09 kB / 0.5273 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00226/0.3382, allocations: 1.597 MB / 0.5289 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.3382, allocations: 10.75 kB / 0.5289 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3382, allocations: 0 / 0.5289 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.3382, allocations: 5.859 kB / 0.5289 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002896/0.3411, allocations: 2.319 MB / 0.5312 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3411, allocations: 1.062 kB / 0.5312 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.3412, allocations: 21.5 kB / 0.5312 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3412, allocations: 1.938 kB / 0.5312 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.16e-05/0.3413, allocations: 37.11 kB / 0.5312 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3413, allocations: 5.031 kB / 0.5313 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3413, allocations: 5.578 kB / 0.5313 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002726/0.344, allocations: 2.006 MB / 0.5332 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.3441, allocations: 125.2 kB / 0.5333 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.3443, allocations: 69.88 kB / 0.5334 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/0.3446, allocations: 52.73 kB / 0.5335 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/0.3448, allocations: 82.28 kB / 0.5335 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.952e-05/0.3449, allocations: 42.31 kB / 0.5336 GB, free: 4.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002216/0.3451, allocations: 227.6 kB / 0.5338 GB, free: 4.039 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3452, allocations: 0 / 0.5338 GB, free: 4.039 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009835/0.3461, allocations: 310.7 kB / 0.5341 GB, free: 3.98 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: 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.003439/0.3496, allocations: 2.819 MB / 0.5368 GB, free: 2.402 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002011/0.3516, allocations: 1.62 MB / 0.5384 GB, free: 1.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3516, allocations: 1.219 kB / 0.5384 GB, free: 1.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.3527, allocations: 1.084 MB / 0.5395 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006213/0.3533, allocations: 103.5 kB / 0.5396 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.3634, allocations: 6.71 MB / 0.5461 GB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006278/0.364, allocations: 0.8907 MB / 0.547 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003538/0.3644, allocations: 127.4 kB / 0.5471 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003235/0.3647, allocations: 168.9 kB / 0.5473 GB, free: 11.49 MB / 398.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3647, allocations: 0 / 0.5473 GB, free: 11.49 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04507/0.4098, allocations: 15.21 MB / 0.5621 GB, free: 14.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.743/9.153, allocations: 0.625 kB / 0.5621 GB, free: 14.05 MB / 414.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.TTtoPD_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_TTtoPD.fmu > PNlib_PNlib.Examples.DisTest.TTtoPD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv","/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] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.96718807797879]