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.00128/0.00128, allocations: 103.7 kB / 16.45 MB, free: 6.5 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.001432/0.001432, allocations: 216 kB / 19.43 MB, free: 3.656 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.458/1.458, allocations: 230.6 MB / 252.8 MB, free: 8.996 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.08317/0.08317, allocations: 16.95 MB / 325.8 MB, free: 3.527 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.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.00194/0.00194, allocations: 71.89 kB / 454.6 MB, free: 4.738 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1136, allocations: 57.58 MB / 0.5002 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.003151/0.1167, allocations: 1.873 MB / 0.502 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003484/0.1202, allocations: 1.929 MB / 0.5039 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.1204, allocations: 11.88 kB / 0.5039 GB, free: 7.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.1207, allocations: 119 kB / 0.504 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.1211, allocations: 131.1 kB / 0.5041 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.123, allocations: 0.8968 MB / 0.505 GB, free: 6.074 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00154/0.1245, allocations: 1.318 MB / 0.5063 GB, free: 4.754 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.1247, allocations: 104.6 kB / 0.5064 GB, free: 4.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006005/0.1253, allocations: 0.5415 MB / 0.5069 GB, free: 4.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000574/0.1259, allocations: 370.2 kB / 0.5073 GB, free: 3.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.1261, allocations: 92 kB / 0.5074 GB, free: 3.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00095/0.127, allocations: 0.5384 MB / 0.5079 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000235/0.1272, allocations: 155.3 kB / 0.5081 GB, free: 2.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000512/0.1278, allocations: 394.3 kB / 0.5084 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.1295, allocations: 1.176 MB / 0.5096 GB, free: 1.398 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.1295, allocations: 0 / 0.5096 GB, free: 1.398 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1295, allocations: 0 / 0.5096 GB, free: 1.398 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.1295, allocations: 0 / 0.5096 GB, free: 1.398 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.2041/0.3336, allocations: 1.292 MB / 0.5108 GB, free: 16.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.3337, allocations: 10.22 kB / 0.5108 GB, free: 16.58 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000349/0.334, allocations: 121.2 kB / 0.511 GB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003691/0.3344, allocations: 95.06 kB / 0.5111 GB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005742/0.335, allocations: 435.7 kB / 0.5115 GB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.3351, allocations: 85.27 kB / 0.5116 GB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.3352, allocations: 77.09 kB / 0.5116 GB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/0.337, allocations: 1.33 MB / 0.5129 GB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.3371, allocations: 1 kB / 0.5129 GB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-05/0.3372, allocations: 38.86 kB / 0.513 GB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-05/0.3372, allocations: 56.77 kB / 0.513 GB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.3386, allocations: 0.9027 MB / 0.5139 GB, free: 16.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002947/0.3415, allocations: 3.309 MB / 0.5171 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.3425, allocations: 0.6564 MB / 0.5178 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008294/0.3434, allocations: 0.5636 MB / 0.5183 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.004e-05/0.3434, allocations: 85.41 kB / 0.5184 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00126/0.3447, allocations: 0.9004 MB / 0.5193 GB, free: 12.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.194e-06/0.3447, allocations: 0 / 0.5193 GB, free: 12.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.003895/0.3486, allocations: 2.539 MB / 0.5218 GB, free: 11.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002648/0.3489, allocations: 0.5599 MB / 0.5223 GB, free: 11.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004969/0.3494, allocations: 424.9 kB / 0.5227 GB, free: 11.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.676e-05/0.3494, allocations: 65.97 kB / 0.5228 GB, free: 11.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.3496, allocations: 274.5 kB / 0.523 GB, free: 10.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.3498, allocations: 197.5 kB / 0.5232 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003279/0.3501, allocations: 232 kB / 0.5234 GB, free: 10.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3502, allocations: 371 kB / 0.5238 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007199/0.3509, allocations: 441.9 kB / 0.5242 GB, free: 10.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000777/0.3517, allocations: 0.8122 MB / 0.525 GB, free: 9.555 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002566/0.3543, allocations: 2.547 MB / 0.5275 GB, free: 7.664 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-05/0.3543, allocations: 2.594 kB / 0.5275 GB, free: 7.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00261/0.3569, allocations: 1.845 MB / 0.5293 GB, free: 6.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.3571, allocations: 337 kB / 0.5296 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.3571, allocations: 12.56 kB / 0.5296 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.347e-05/0.3571, allocations: 19.22 kB / 0.5297 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.3575, allocations: 123.9 kB / 0.5298 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.265e-05/0.3575, allocations: 27.84 kB / 0.5298 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005583/0.3581, allocations: 136.1 kB / 0.5299 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-05/0.3582, allocations: 55.22 kB / 0.53 GB, free: 6.312 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: 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.0009652/0.3592, allocations: 0.7575 MB / 0.5307 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.3593, allocations: 81.25 kB / 0.5308 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003028/0.3623, allocations: 1.962 MB / 0.5327 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.885e-05/0.3624, allocations: 4.703 kB / 0.5327 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.3624, allocations: 2.391 kB / 0.5327 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.3624, allocations: 5.438 kB / 0.5327 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004167/0.3665, allocations: 2.977 MB / 0.5356 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.3666, allocations: 1.375 kB / 0.5356 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.3667, allocations: 24.61 kB / 0.5357 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.3667, allocations: 4.391 kB / 0.5357 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.018e-05/0.3668, allocations: 47.02 kB / 0.5357 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3668, allocations: 1.406 kB / 0.5357 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3668, allocations: 1.812 kB / 0.5357 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003081/0.3699, allocations: 2.33 MB / 0.538 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.382e-05/0.3699, allocations: 135.2 kB / 0.5381 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.3701, allocations: 75.38 kB / 0.5382 GB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/0.3706, allocations: 74.92 kB / 0.5383 GB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004986/0.3711, allocations: 324.6 kB / 0.5386 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.3712, allocations: 48.69 kB / 0.5386 GB, free: 2.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002442/0.3714, allocations: 252.7 kB / 0.5389 GB, free: 1.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3714, allocations: 0 / 0.5389 GB, free: 1.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001102/0.3725, allocations: 338.7 kB / 0.5392 GB, free: 1.875 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: 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.003791/0.3763, allocations: 3.156 MB / 0.5423 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002812/0.3791, allocations: 1.936 MB / 0.5442 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3792, allocations: 1.375 kB / 0.5442 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001582/0.3807, allocations: 1.244 MB / 0.5454 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.3814, allocations: 116.4 kB / 0.5455 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.3925, allocations: 7.875 MB / 0.5532 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005618/0.3931, allocations: 0.9192 MB / 0.5541 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003731/0.3935, allocations: 146.4 kB / 0.5542 GB, free: 6.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.3938, allocations: 187.4 kB / 0.5544 GB, free: 5.867 MB / 398.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3938, allocations: 3.938 kB / 0.5544 GB, free: 5.863 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04495/0.4387, allocations: 17.92 MB / 0.5719 GB, free: 3.984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.064/9.503, allocations: 7.953 kB / 0.5719 GB, free: 3.98 MB / 414.1 MB " [Timeout remaining time 650] (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: 12.323224733117968]