Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTT.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.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",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.007502/0.007502, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001368/0.001368, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1921/0.1921, allocations: 16.76 MB / 307.3 MB, free: 14.86 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 61.42 kB / 425.9 MB, free: 37.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1369, allocations: 53.48 MB / 479.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.004779/0.1417, allocations: 1.85 MB / 481.2 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005024/0.1468, allocations: 1.963 MB / 483.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004384/0.1473, allocations: 10.28 kB / 483.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000453/0.1477, allocations: 107.9 kB / 483.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005386/0.1483, allocations: 134.8 kB / 483.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002703/0.151, allocations: 0.9188 MB / 484.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001834/0.1529, allocations: 1.423 MB / 485.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003667/0.1533, allocations: 160.6 kB / 485.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007465/0.154, allocations: 0.5338 MB / 486.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005617/0.1546, allocations: 346.6 kB / 486.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.1548, allocations: 88.53 kB / 486.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009445/0.1557, allocations: 0.5139 MB / 487.4 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002023/0.156, allocations: 136.8 kB / 487.5 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004238/0.1564, allocations: 398.3 kB / 487.9 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.1579, allocations: 1.172 MB / 489.1 MB, free: 3.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1579, allocations: 7.984 kB / 489.1 MB, free: 3.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.1579, allocations: 0 / 489.1 MB, free: 3.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.158, allocations: 3.938 kB / 489.1 MB, free: 3.52 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002064/0.16, allocations: 1.285 MB / 490.4 MB, free: 2.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.1601, allocations: 11.89 kB / 490.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/0.1603, allocations: 126.7 kB / 490.5 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004848/0.1608, allocations: 96.47 kB / 490.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000798/0.1616, allocations: 439.8 kB / 491 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.1618, allocations: 75.02 kB / 491.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.162, allocations: 79.98 kB / 491.2 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002958/0.1649, allocations: 1.323 MB / 492.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.165, allocations: 3.938 kB / 492.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/0.1652, allocations: 39.98 kB / 492.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001842/0.1654, allocations: 52.95 kB / 492.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002803/0.1682, allocations: 0.8858 MB / 493.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007228/0.1755, allocations: 3.307 MB / 496.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003076/0.1786, allocations: 1.53 MB / 498.3 MB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002607/0.1812, allocations: 1.354 MB / 499.7 MB, free: 8.488 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.1813, allocations: 85.34 kB / 499.8 MB, free: 8.387 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002488/0.1838, allocations: 0.8967 MB / 0.4889 GB, free: 7.453 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 3.967e-06/0.1838, allocations: 4 kB / 0.4889 GB, free: 7.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.007271/0.1911, allocations: 2.522 MB / 0.4914 GB, free: 4.875 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005551/0.1917, allocations: 0.5637 MB / 0.4919 GB, free: 4.207 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008501/0.1926, allocations: 417.3 kB / 0.4923 GB, free: 3.797 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001809/0.1928, allocations: 69.69 kB / 0.4924 GB, free: 3.723 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/0.1931, allocations: 272.9 kB / 0.4927 GB, free: 3.449 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003523/0.1935, allocations: 190.7 kB / 0.4929 GB, free: 3.262 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005753/0.1941, allocations: 230.6 kB / 0.4931 GB, free: 3.027 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002478/0.1944, allocations: 374.7 kB / 0.4934 GB, free: 2.652 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.1957, allocations: 434 kB / 0.4938 GB, free: 2.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/0.1975, allocations: 0.7956 MB / 0.4946 GB, free: 1.273 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00479/0.2023, allocations: 2.51 MB / 0.4971 GB, free: 14.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/0.2024, allocations: 4 kB / 0.4971 GB, free: 14.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002554/0.2049, allocations: 1.813 MB / 0.4988 GB, free: 12.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002076/0.2052, allocations: 337.9 kB / 0.4992 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.2052, allocations: 12 kB / 0.4992 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.71e-05/0.2052, allocations: 20 kB / 0.4992 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.2056, allocations: 119.7 kB / 0.4993 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.954e-05/0.2057, allocations: 23.92 kB / 0.4993 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/0.2062, allocations: 131.4 kB / 0.4995 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.594e-05/0.2063, allocations: 52 kB / 0.4995 GB, free: 11.81 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: 50 * Number of states: 0 () * Number of discrete variables: 125 ($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,$PRE.P1.tokeninout,P1.outTransition[1].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.firingTime,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 (130): * Single equations (assignments): 119 * 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.0009268/0.2073, allocations: 0.764 MB / 0.5003 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.2075, allocations: 75.67 kB / 0.5003 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003032/0.2105, allocations: 1.947 MB / 0.5022 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.2106, allocations: 8 kB / 0.5022 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.2106, allocations: 0 / 0.5022 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.2106, allocations: 3.938 kB / 0.5022 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003817/0.2144, allocations: 2.738 MB / 0.5049 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2144, allocations: 0 / 0.5049 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.2145, allocations: 27.92 kB / 0.5049 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.2146, allocations: 0 / 0.5049 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.969e-05/0.2147, allocations: 39.97 kB / 0.505 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.358e-06/0.2147, allocations: 7.938 kB / 0.505 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2147, allocations: 8 kB / 0.505 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003328/0.218, allocations: 2.318 MB / 0.5073 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.2181, allocations: 128.6 kB / 0.5074 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002228/0.2184, allocations: 75.97 kB / 0.5075 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005111/0.2189, allocations: 83.88 kB / 0.5075 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005456/0.2194, allocations: 323.7 kB / 0.5078 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/0.2196, allocations: 43.97 kB / 0.5079 GB, free: 2.938 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002763/0.2198, allocations: 255.2 kB / 0.5081 GB, free: 2.691 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2199, allocations: 0 / 0.5081 GB, free: 2.691 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001095/0.221, allocations: 339.5 kB / 0.5085 GB, free: 2.359 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: 66 ($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,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,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.firingTime,T1.fireTime,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 51 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,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 (35): * Single equations (assignments): 22 * 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.004601/0.2256, allocations: 3.126 MB / 0.5115 GB, free: 15.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002721/0.2283, allocations: 2.061 MB / 0.5135 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2283, allocations: 0 / 0.5135 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002705/0.231, allocations: 3.052 MB / 0.5165 GB, free: 9.832 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006354/0.2317, allocations: 108.6 kB / 0.5166 GB, free: 9.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.2432, allocations: 7.803 MB / 0.5242 GB, free: 1.465 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006752/0.2439, allocations: 0.9192 MB / 0.5251 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004021/0.2443, allocations: 136.6 kB / 0.5252 GB, free: 396 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/0.2446, allocations: 191.4 kB / 0.5254 GB, free: 204 kB / 398.1 MB Notification: Performance of SimCode: time 1.092e-06/0.2446, allocations: 4 kB / 0.5254 GB, free: 200 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04289/0.2875, allocations: 17.74 MB / 0.5428 GB, free: 14.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.832/9.12, allocations: 17.66 kB / 0.5428 GB, free: 14.46 MB / 430.1 MB (rm -f PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTT.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.PDtoTT_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_PDtoTT.fmu > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches