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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007083/0.007083, allocations: 102.8 kB / 15.74 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 197.7 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1785/0.1785, allocations: 16.76 MB / 307.3 MB, free: 14.91 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001479, allocations: 65.75 kB / 425.9 MB, free: 37.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08344/0.08494, allocations: 53.48 MB / 479.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.002466/0.08744, allocations: 1.847 MB / 481.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002924/0.09039, allocations: 1.925 MB / 483.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002568/0.09067, allocations: 11.41 kB / 483.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.09095, allocations: 111.9 kB / 483.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.09131, allocations: 130.1 kB / 483.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.09288, allocations: 0.9043 MB / 484.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001294/0.09419, allocations: 1.427 MB / 485.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.09442, allocations: 166 kB / 485.9 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004222/0.09485, allocations: 0.5321 MB / 486.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/0.09522, allocations: 343 kB / 486.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.09535, allocations: 87.62 kB / 486.8 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006851/0.09604, allocations: 0.5183 MB / 487.3 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.0962, allocations: 138.1 kB / 487.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003306/0.09654, allocations: 396.8 kB / 487.9 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009898/0.09754, allocations: 1.18 MB / 489 MB, free: 3.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.09755, allocations: 0 / 489 MB, free: 3.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.09756, allocations: 0 / 489 MB, free: 3.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.487e-06/0.09757, allocations: 3.938 kB / 489 MB, free: 3.578 MB / 350.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.001328/0.09891, allocations: 1.293 MB / 490.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.09895, allocations: 11.89 kB / 490.3 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/0.09908, allocations: 122.7 kB / 490.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002736/0.09936, allocations: 96.5 kB / 490.6 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.09981, allocations: 438.7 kB / 491 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-05/0.09989, allocations: 79 kB / 491.1 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.341e-05/0.09999, allocations: 83.97 kB / 491.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.1015, allocations: 1.323 MB / 492.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.1016, allocations: 3.938 kB / 492.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.744e-05/0.1017, allocations: 39.92 kB / 492.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/0.1018, allocations: 60.94 kB / 492.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.1033, allocations: 0.9015 MB / 493.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003554/0.1068, allocations: 3.303 MB / 496.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.1085, allocations: 1.462 MB / 498.2 MB, free: 9.969 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.1098, allocations: 1.362 MB / 499.6 MB, free: 8.602 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.11, allocations: 81.11 kB / 499.7 MB, free: 8.504 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001285/0.1113, allocations: 0.9033 MB / 0.4889 GB, free: 7.566 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.445e-06/0.1113, allocations: 0 / 0.4889 GB, free: 7.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.003788/0.1151, allocations: 2.535 MB / 0.4913 GB, free: 4.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003274/0.1154, allocations: 0.5639 MB / 0.4919 GB, free: 4.312 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004495/0.1159, allocations: 425.3 kB / 0.4923 GB, free: 3.891 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.613e-05/0.116, allocations: 69.69 kB / 0.4924 GB, free: 3.816 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.1162, allocations: 272.9 kB / 0.4926 GB, free: 3.547 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.1164, allocations: 202.5 kB / 0.4928 GB, free: 3.348 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002979/0.1167, allocations: 226.6 kB / 0.493 GB, free: 3.117 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1168, allocations: 378.7 kB / 0.4934 GB, free: 2.738 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006698/0.1175, allocations: 438 kB / 0.4938 GB, free: 2.312 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009155/0.1184, allocations: 0.8215 MB / 0.4946 GB, free: 1.324 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002759/0.1212, allocations: 2.529 MB / 0.4971 GB, free: 14.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/0.1212, allocations: 4 kB / 0.4971 GB, free: 14.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002523/0.1238, allocations: 1.842 MB / 0.4989 GB, free: 12.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002003/0.124, allocations: 337.9 kB / 0.4992 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/0.124, allocations: 16 kB / 0.4992 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.308e-05/0.1241, allocations: 16 kB / 0.4992 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/0.1244, allocations: 131.6 kB / 0.4994 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.571e-05/0.1245, allocations: 27.92 kB / 0.4994 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005215/0.125, allocations: 135.2 kB / 0.4995 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.1251, allocations: 59.98 kB / 0.4996 GB, free: 11.77 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.0009367/0.1261, allocations: 0.7454 MB / 0.5003 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.1262, allocations: 75.67 kB / 0.5004 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002789/0.129, allocations: 1.948 MB / 0.5023 GB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.129, allocations: 8 kB / 0.5023 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1291, allocations: 0 / 0.5023 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.547e-06/0.1291, allocations: 11.92 kB / 0.5023 GB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004203/0.1333, allocations: 2.964 MB / 0.5052 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.1333, allocations: 7.984 kB / 0.5052 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.1334, allocations: 27.92 kB / 0.5052 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.994e-06/0.1334, allocations: 4 kB / 0.5052 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.1336, allocations: 39.92 kB / 0.5053 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.1336, allocations: 8 kB / 0.5053 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1336, allocations: 0 / 0.5053 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00316/0.1367, allocations: 2.327 MB / 0.5075 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.1369, allocations: 132.6 kB / 0.5077 GB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.1371, allocations: 79.92 kB / 0.5077 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004634/0.1375, allocations: 79.91 kB / 0.5078 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005304/0.1381, allocations: 331.5 kB / 0.5081 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.1382, allocations: 43.97 kB / 0.5082 GB, free: 2.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002543/0.1385, allocations: 251.2 kB / 0.5084 GB, free: 2.414 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1385, allocations: 0 / 0.5084 GB, free: 2.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001042/0.1395, allocations: 339.5 kB / 0.5087 GB, free: 2.082 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.004247/0.1438, allocations: 3.146 MB / 0.5118 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00264/0.1464, allocations: 2.064 MB / 0.5138 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.1464, allocations: 1.875 kB / 0.5138 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002457/0.1489, allocations: 3.054 MB / 0.5168 GB, free: 9.527 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006074/0.1495, allocations: 111.3 kB / 0.5169 GB, free: 9.422 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.16, allocations: 7.877 MB / 0.5246 GB, free: 1.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.1605, allocations: 0.923 MB / 0.5255 GB, free: 120 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003634/0.1609, allocations: 152.6 kB / 0.5257 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.1612, allocations: 187.4 kB / 0.5258 GB, free: 15.78 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1612, allocations: 0 / 0.5258 GB, free: 15.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03826/0.1994, allocations: 17.86 MB / 0.5433 GB, free: 13.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.622/8.821, allocations: 14.8 kB / 0.5433 GB, free: 13.93 MB / 430.1 MB (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) 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) Reference file matches