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.0008332/0.0008332, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009358/0.0009358, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8854/0.8854, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.04765/0.04765, allocations: 12.64 MB / 271.8 MB, free: 0.7266 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: "" <> 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: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 402.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.692e-05, allocations: 6.219 kB / 402.3 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.00289/0.002917, allocations: 1.743 MB / 404 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003459/0.006376, allocations: 1.839 MB / 405.8 MB, free: 7.055 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004113/0.006787, allocations: 7.938 kB / 405.8 MB, free: 7.047 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003939/0.007181, allocations: 119 kB / 406 MB, free: 6.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004021/0.007583, allocations: 143 kB / 406.1 MB, free: 6.789 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.009139, allocations: 0.9532 MB / 407.1 MB, free: 5.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.0103, allocations: 1.345 MB / 408.4 MB, free: 4.492 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.01048, allocations: 73.23 kB / 408.5 MB, free: 4.414 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006661/0.01115, allocations: 0.7604 MB / 409.2 MB, free: 3.652 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004399/0.01159, allocations: 323 kB / 409.5 MB, free: 3.336 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.299e-05/0.01168, allocations: 88 kB / 409.6 MB, free: 3.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000661/0.01234, allocations: 0.6083 MB / 410.2 MB, free: 2.641 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.01249, allocations: 155.3 kB / 410.4 MB, free: 2.488 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002382/0.01273, allocations: 291.3 kB / 410.7 MB, free: 2.203 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.01397, allocations: 1.348 MB / 412 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01397, allocations: 0 / 412 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.01397, allocations: 0 / 412 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.01399, allocations: 4 kB / 412 MB, free: 0.8477 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001431/0.01542, allocations: 1.202 MB / 413.2 MB, free: 15.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.01546, allocations: 12.03 kB / 413.2 MB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/0.01557, allocations: 122.7 kB / 413.4 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002385/0.01581, allocations: 96.44 kB / 413.5 MB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/0.01626, allocations: 368.8 kB / 413.8 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.725e-05/0.01636, allocations: 120.8 kB / 413.9 MB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-05/0.01644, allocations: 72 kB / 414 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.01802, allocations: 1.792 MB / 415.8 MB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.01803, allocations: 11.94 kB / 415.8 MB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.883e-05/0.01809, allocations: 39.97 kB / 415.8 MB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.025e-05/0.01816, allocations: 52.95 kB / 415.9 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.01933, allocations: 1.243 MB / 417.1 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002585/0.02192, allocations: 3.001 MB / 420.1 MB, free: 8.277 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009384/0.02285, allocations: 0.9993 MB / 421.1 MB, free: 7.211 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007405/0.0236, allocations: 0.9138 MB / 422.1 MB, free: 6.234 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.961e-05/0.02364, allocations: 11.98 kB / 422.1 MB, free: 6.223 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/0.02475, allocations: 1.263 MB / 423.3 MB, free: 4.867 MB / 394.7 MB Notification: Performance of pre-optimization done (n=75): time 2.535e-06/0.02476, allocations: 0 / 423.3 MB, free: 4.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=75): time 0.002866/0.02762, allocations: 3.346 MB / 426.7 MB, free: 1.371 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002189/0.02784, allocations: 0.556 MB / 427.2 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.02818, allocations: 433.2 kB / 427.7 MB, free: 292 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.362e-05/0.02826, allocations: 69.69 kB / 427.7 MB, free: 216 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.02841, allocations: 265.1 kB / 428 MB, free: 15.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.02854, allocations: 198.7 kB / 428.2 MB, free: 15.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.02875, allocations: 230.5 kB / 428.4 MB, free: 15.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.02887, allocations: 378.5 kB / 428.8 MB, free: 15.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005837/0.02945, allocations: 0.7529 MB / 429.5 MB, free: 14.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007477/0.0302, allocations: 1.231 MB / 430.8 MB, free: 12.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001918/0.03212, allocations: 2.552 MB / 433.3 MB, free: 9.953 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-05/0.03213, allocations: 4 kB / 433.3 MB, free: 9.949 MB / 410.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001775/0.03391, allocations: 2.175 MB / 435.5 MB, free: 7.645 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.03404, allocations: 333 kB / 435.8 MB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.03406, allocations: 20.75 kB / 435.8 MB, free: 7.238 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.03408, allocations: 16 kB / 435.8 MB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.03429, allocations: 127.7 kB / 436 MB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/0.03431, allocations: 27.92 kB / 436 MB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.03462, allocations: 123.3 kB / 436.1 MB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.134e-05/0.03468, allocations: 60 kB / 436.2 MB, free: 6.891 MB / 410.7 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.0007027/0.03538, allocations: 0.7624 MB / 436.9 MB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.03549, allocations: 75.67 kB / 437 MB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/0.03758, allocations: 2.332 MB / 439.3 MB, free: 3.574 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.0376, allocations: 4 kB / 439.3 MB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.0376, allocations: 0 / 439.3 MB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.03761, allocations: 11.98 kB / 439.4 MB, free: 3.559 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003171/0.04078, allocations: 3.155 MB / 442.5 MB, free: 280 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.04079, allocations: 0 / 442.5 MB, free: 280 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.449e-05/0.04086, allocations: 31.92 kB / 442.5 MB, free: 248 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.04087, allocations: 0 / 442.5 MB, free: 248 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.237e-05/0.04093, allocations: 43.97 kB / 442.6 MB, free: 204 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.04093, allocations: 0 / 442.6 MB, free: 204 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.04094, allocations: 3.938 kB / 442.6 MB, free: 200 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1632/0.2041, allocations: 2.793 MB / 445.4 MB, free: 79.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-05/0.2042, allocations: 55.41 kB / 445.4 MB, free: 79.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.2043, allocations: 75.89 kB / 445.5 MB, free: 79.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.2045, allocations: 74.45 kB / 445.6 MB, free: 79.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003291/0.2048, allocations: 329.6 kB / 445.9 MB, free: 79.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.759e-05/0.2049, allocations: 46.02 kB / 446 MB, free: 79.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001593/0.2051, allocations: 248.5 kB / 446.2 MB, free: 79.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2051, allocations: 3.125 kB / 446.2 MB, free: 79.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006845/0.2058, allocations: 344.9 kB / 446.5 MB, free: 79.33 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.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.002506/0.2083, allocations: 3.629 MB / 450.2 MB, free: 77.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.2099, allocations: 2.615 MB / 452.8 MB, free: 75.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2099, allocations: 0 / 452.8 MB, free: 75.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008656/0.2108, allocations: 1.585 MB / 454.4 MB, free: 74.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.2112, allocations: 108.8 kB / 454.5 MB, free: 74.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006538/0.2177, allocations: 9.561 MB / 464 MB, free: 68.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.2179, allocations: 325.5 kB / 464.3 MB, free: 68.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002438/0.2181, allocations: 145.4 kB / 464.5 MB, free: 68.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.2183, allocations: 189.2 kB / 464.7 MB, free: 68.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.383e-06/0.2183, allocations: 0 / 464.7 MB, free: 68.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.2459, allocations: 19.49 MB / 484.2 MB, free: 64.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.3/7.546, allocations: 13.56 kB / 484.2 MB, free: 64.86 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/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: 9.464529267512262]