Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.001907/0.001907, allocations: 102.9 kB / 16.45 MB, free: 6.449 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.002365/0.002365, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.481/1.481, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.08166/0.08166, 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.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",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.001968/0.001968, allocations: 67.89 kB / 454.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1051, allocations: 57.58 MB / 0.5002 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.003383/0.1085, allocations: 1.884 MB / 0.502 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003663/0.1121, allocations: 1.933 MB / 0.5039 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002922/0.1124, allocations: 7.938 kB / 0.5039 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003708/0.1128, allocations: 115.1 kB / 0.504 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000405/0.1132, allocations: 139 kB / 0.5042 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.1153, allocations: 0.893 MB / 0.505 GB, free: 6.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001486/0.1168, allocations: 1.322 MB / 0.5063 GB, free: 4.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.117, allocations: 98.08 kB / 0.5064 GB, free: 4.629 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005771/0.1175, allocations: 0.5376 MB / 0.5069 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005228/0.1181, allocations: 374.2 kB / 0.5073 GB, free: 3.723 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.1182, allocations: 88 kB / 0.5074 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008976/0.1191, allocations: 0.5462 MB / 0.5079 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.1193, allocations: 151.3 kB / 0.5081 GB, free: 2.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004693/0.1198, allocations: 390.3 kB / 0.5084 GB, free: 2.559 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.1212, allocations: 1.188 MB / 0.5096 GB, free: 1.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1212, allocations: 0 / 0.5096 GB, free: 1.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1212, allocations: 0 / 0.5096 GB, free: 1.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.1212, allocations: 0 / 0.5096 GB, free: 1.367 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.2204/0.3416, allocations: 1.288 MB / 0.5108 GB, free: 16.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3417, allocations: 11.47 kB / 0.5109 GB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003032/0.342, allocations: 120.3 kB / 0.511 GB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003863/0.3423, allocations: 95.48 kB / 0.5111 GB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005917/0.3429, allocations: 434 kB / 0.5115 GB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.3431, allocations: 87.41 kB / 0.5116 GB, free: 16.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.3432, allocations: 78.58 kB / 0.5116 GB, free: 16.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.345, allocations: 1.326 MB / 0.5129 GB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.345, allocations: 2.156 kB / 0.5129 GB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.97e-05/0.3451, allocations: 40.27 kB / 0.513 GB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.016e-05/0.3452, allocations: 58.36 kB / 0.513 GB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.3466, allocations: 0.9077 MB / 0.5139 GB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003145/0.3497, allocations: 3.325 MB / 0.5172 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.3509, allocations: 0.7149 MB / 0.5179 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009728/0.3519, allocations: 0.5965 MB / 0.5184 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.443e-05/0.352, allocations: 90.48 kB / 0.5185 GB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001407/0.3534, allocations: 0.9204 MB / 0.5194 GB, free: 12.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=77): time 2.314e-06/0.3534, allocations: 0 / 0.5194 GB, free: 12.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=77): time 0.003825/0.3572, allocations: 2.625 MB / 0.522 GB, free: 11.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002279/0.3575, allocations: 0.5383 MB / 0.5225 GB, free: 11.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004746/0.3579, allocations: 413.7 kB / 0.5229 GB, free: 11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.769e-05/0.358, allocations: 70.67 kB / 0.523 GB, free: 10.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.3582, allocations: 264.3 kB / 0.5232 GB, free: 10.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.3583, allocations: 199.8 kB / 0.5234 GB, free: 10.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000289/0.3586, allocations: 232.6 kB / 0.5236 GB, free: 10.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.755e-05/0.3587, allocations: 376.6 kB / 0.524 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006564/0.3593, allocations: 438.5 kB / 0.5244 GB, free: 10.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008225/0.3602, allocations: 0.8036 MB / 0.5252 GB, free: 9.426 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00261/0.3628, allocations: 2.556 MB / 0.5277 GB, free: 7.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/0.3628, allocations: 2.906 kB / 0.5277 GB, free: 7.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002301/0.3651, allocations: 1.834 MB / 0.5295 GB, free: 6.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.3652, allocations: 338.1 kB / 0.5298 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.3652, allocations: 12.03 kB / 0.5298 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.362e-05/0.3653, allocations: 15.5 kB / 0.5298 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/0.3657, allocations: 132.1 kB / 0.53 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.633e-05/0.3657, allocations: 26.22 kB / 0.53 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005506/0.3662, allocations: 131.8 kB / 0.5301 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.3663, allocations: 53.92 kB / 0.5302 GB, free: 6.191 MB / 382.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: 51 * 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.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.enableOut.arcWeight[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 (134): * Single equations (assignments): 123 * 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.001088/0.3674, allocations: 0.7469 MB / 0.5309 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.3676, allocations: 81.84 kB / 0.531 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003315/0.371, allocations: 2.034 MB / 0.533 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/0.371, allocations: 5.203 kB / 0.533 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.371, allocations: 0.75 kB / 0.533 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.371, allocations: 8.25 kB / 0.533 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004576/0.3756, allocations: 3.044 MB / 0.536 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.3756, allocations: 1.031 kB / 0.536 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.3757, allocations: 29.64 kB / 0.536 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.3757, allocations: 1.469 kB / 0.536 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.3758, allocations: 42.91 kB / 0.536 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.3758, allocations: 2.438 kB / 0.536 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3758, allocations: 0.75 kB / 0.536 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00327/0.3791, allocations: 2.392 MB / 0.5384 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.912e-05/0.3792, allocations: 137.7 kB / 0.5385 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/0.3794, allocations: 76.06 kB / 0.5386 GB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004792/0.3799, allocations: 74.08 kB / 0.5386 GB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005049/0.3804, allocations: 326.8 kB / 0.5389 GB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.3805, allocations: 45.53 kB / 0.539 GB, free: 1.859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000299/0.3808, allocations: 247 kB / 0.5392 GB, free: 1.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3808, allocations: 0 / 0.5392 GB, free: 1.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001267/0.3821, allocations: 343.4 kB / 0.5396 GB, free: 1.668 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: 69 ($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.arcWeight[1],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 (39): * Single equations (assignments): 26 * 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.004079/0.3861, allocations: 3.222 MB / 0.5427 GB, free: 15.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002881/0.389, allocations: 1.957 MB / 0.5446 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.389, allocations: 1.469 kB / 0.5446 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001649/0.3907, allocations: 1.265 MB / 0.5459 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006472/0.3913, allocations: 111.2 kB / 0.546 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.4033, allocations: 7.97 MB / 0.5537 GB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006136/0.404, allocations: 0.9192 MB / 0.5546 GB, free: 5.516 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003733/0.4043, allocations: 142 kB / 0.5548 GB, free: 5.375 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.4046, allocations: 191.4 kB / 0.555 GB, free: 5.188 MB / 398.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4046, allocations: 4 kB / 0.555 GB, free: 5.184 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04555/0.4502, allocations: 17.98 MB / 0.5725 GB, free: 3.254 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.046/9.496, allocations: 9.266 kB / 0.5725 GB, free: 3.25 MB / 414.1 MB " [Timeout remaining time 650] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 PNlib_PNlib_Examples_DisTest_PDtoTDfunction.fmu > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.36565936729312]