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.0008844/0.0008844, 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.000916/0.000916, allocations: 170.3 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.8881/0.8881, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.04719/0.04719, allocations: 12.65 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.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: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 402.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.058e-05, allocations: 2.281 kB / 402.2 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002111/0.002132, allocations: 1.741 MB / 404 MB, free: 8.902 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.004266, allocations: 1.847 MB / 405.8 MB, free: 7.051 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.004428, allocations: 11.94 kB / 405.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.004695, allocations: 111.1 kB / 406 MB, free: 6.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.004984, allocations: 147 kB / 406.1 MB, free: 6.785 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.006259, allocations: 0.9469 MB / 407 MB, free: 5.836 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00121/0.00747, allocations: 1.349 MB / 408.4 MB, free: 4.484 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.007638, allocations: 73.23 kB / 408.5 MB, free: 4.406 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006609/0.008299, allocations: 0.7604 MB / 409.2 MB, free: 3.645 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004066/0.008705, allocations: 315 kB / 409.5 MB, free: 3.336 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.779e-05/0.008803, allocations: 88 kB / 409.6 MB, free: 3.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006795/0.009482, allocations: 0.6083 MB / 410.2 MB, free: 2.641 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.009662, allocations: 155.2 kB / 410.4 MB, free: 2.488 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002639/0.009926, allocations: 287.4 kB / 410.7 MB, free: 2.207 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.01142, allocations: 1.348 MB / 412 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.01143, allocations: 3.984 kB / 412 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.01143, allocations: 0 / 412 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.852e-05/0.01146, 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.00165/0.01311, allocations: 1.206 MB / 413.2 MB, free: 15.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.01316, allocations: 8.031 kB / 413.2 MB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.01329, allocations: 126.7 kB / 413.4 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000274/0.01356, allocations: 92.52 kB / 413.4 MB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005352/0.0141, allocations: 376.7 kB / 413.8 MB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.01421, allocations: 112.8 kB / 413.9 MB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.103e-05/0.0143, allocations: 75.98 kB / 414 MB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.01589, allocations: 1.801 MB / 415.8 MB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.0159, allocations: 3.938 kB / 415.8 MB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.717e-05/0.01596, allocations: 35.98 kB / 415.8 MB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.657e-05/0.01604, allocations: 56.95 kB / 415.9 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.01732, allocations: 1.262 MB / 417.2 MB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003633/0.02095, allocations: 3.005 MB / 420.2 MB, free: 8.246 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.02223, allocations: 1.065 MB / 421.2 MB, free: 7.113 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007607/0.02299, allocations: 0.9413 MB / 422.2 MB, free: 6.109 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.385e-05/0.02305, allocations: 4 kB / 422.2 MB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00118/0.02423, allocations: 1.316 MB / 423.5 MB, free: 4.695 MB / 394.7 MB Notification: Performance of pre-optimization done (n=77): time 2.645e-06/0.02423, allocations: 0 / 423.5 MB, free: 4.695 MB / 394.7 MB Notification: Performance of matching and sorting (n=77): time 0.003274/0.02751, allocations: 3.436 MB / 426.9 MB, free: 1.109 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002117/0.02772, allocations: 0.5309 MB / 427.5 MB, free: 492 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005359/0.02825, allocations: 421.2 kB / 427.9 MB, free: 68 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.31e-05/0.02834, allocations: 69.73 kB / 427.9 MB, free: 15.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.02849, allocations: 269 kB / 428.2 MB, free: 15.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.02862, allocations: 198.6 kB / 428.4 MB, free: 15.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/0.02883, allocations: 230.5 kB / 428.6 MB, free: 15.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.02894, allocations: 374.7 kB / 429 MB, free: 14.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005462/0.02948, allocations: 0.7607 MB / 429.7 MB, free: 14.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009719/0.03046, allocations: 1.19 MB / 430.9 MB, free: 12.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/0.03241, allocations: 2.57 MB / 433.5 MB, free: 9.762 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-05/0.03242, allocations: 0 / 433.5 MB, free: 9.762 MB / 410.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.001839/0.03426, allocations: 2.17 MB / 435.7 MB, free: 7.461 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.03441, allocations: 333 kB / 436 MB, free: 7.074 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.03442, allocations: 8.25 kB / 436 MB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.88e-05/0.03445, allocations: 20.81 kB / 436 MB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.03468, allocations: 127.7 kB / 436.1 MB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-05/0.0347, allocations: 23.92 kB / 436.2 MB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/0.03502, allocations: 123.3 kB / 436.3 MB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/0.03508, allocations: 63.92 kB / 436.4 MB, free: 6.715 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: 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.0007258/0.03581, allocations: 0.7592 MB / 437.1 MB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.03591, allocations: 75.67 kB / 437.2 MB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/0.03821, allocations: 2.383 MB / 439.6 MB, free: 3.355 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.03823, allocations: 8 kB / 439.6 MB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.03823, allocations: 0 / 439.6 MB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.03824, allocations: 0 / 439.6 MB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1524/0.1906, allocations: 3.238 MB / 442.8 MB, free: 80.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.1906, allocations: 0.7188 kB / 442.8 MB, free: 80.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.1908, allocations: 31.05 kB / 442.8 MB, free: 80.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1908, allocations: 0 / 442.8 MB, free: 80.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002061/0.191, allocations: 45.34 kB / 442.9 MB, free: 80.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.191, allocations: 4.938 kB / 442.9 MB, free: 80.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.191, allocations: 0 / 442.9 MB, free: 80.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.193, allocations: 2.85 MB / 445.7 MB, free: 79.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.958e-05/0.1931, allocations: 60.25 kB / 445.8 MB, free: 79.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.1932, allocations: 75.5 kB / 445.9 MB, free: 79.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.1935, allocations: 72.97 kB / 446 MB, free: 79.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003337/0.1938, allocations: 342.2 kB / 446.3 MB, free: 79.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.186e-05/0.1939, allocations: 45.53 kB / 446.3 MB, free: 79.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00015/0.194, allocations: 243.3 kB / 446.6 MB, free: 79.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.194, allocations: 0 / 446.6 MB, free: 79.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007283/0.1947, allocations: 339.8 kB / 446.9 MB, free: 79.14 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: 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.002555/0.1973, allocations: 3.699 MB / 450.6 MB, free: 77.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.1989, allocations: 2.631 MB / 453.2 MB, free: 75.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1989, allocations: 3.875 kB / 453.2 MB, free: 75.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008686/0.1998, allocations: 1.617 MB / 454.9 MB, free: 74.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.2002, allocations: 114.1 kB / 455 MB, free: 74.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006834/0.2071, allocations: 9.657 MB / 464.6 MB, free: 67.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.2073, allocations: 322 kB / 464.9 MB, free: 67.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002413/0.2075, allocations: 154.1 kB / 465.1 MB, free: 67.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.2077, allocations: 185.3 kB / 465.3 MB, free: 67.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2077, allocations: 0 / 465.3 MB, free: 67.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.2364, allocations: 19.54 MB / 484.8 MB, free: 64.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.447/7.683, allocations: 8.75 kB / 484.8 MB, free: 64.56 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/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: 9.6097356043756]