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.007226/0.007225, allocations: 96.16 kB / 15.73 MB, free: 6.043 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.00119/0.00119, allocations: 195.2 kB / 16.67 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2057/0.2057, allocations: 16.75 MB / 307.3 MB, free: 14.83 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 66.73 kB / 425.9 MB, free: 37.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09888/0.1002, allocations: 53.48 MB / 479.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.00257/0.1028, allocations: 1.85 MB / 481.2 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002886/0.1057, allocations: 1.958 MB / 483.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002621/0.106, allocations: 9.656 kB / 483.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003157/0.1063, allocations: 110.5 kB / 483.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000333/0.1066, allocations: 134.5 kB / 483.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.1083, allocations: 0.9159 MB / 484.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.1097, allocations: 1.423 MB / 485.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.11, allocations: 160.5 kB / 485.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005682/0.1106, allocations: 0.5301 MB / 486.4 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004378/0.1111, allocations: 350.5 kB / 486.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.1112, allocations: 91.66 kB / 486.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008132/0.112, allocations: 0.5131 MB / 487.4 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.1122, allocations: 131.5 kB / 487.5 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003343/0.1125, allocations: 398.3 kB / 487.9 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.1139, allocations: 1.18 MB / 489.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1139, allocations: 0 / 489.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1139, allocations: 3.938 kB / 489.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.1139, allocations: 0 / 489.1 MB, free: 3.535 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.001463/0.1154, allocations: 1.297 MB / 490.4 MB, free: 2.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.1154, allocations: 11.89 kB / 490.4 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/0.1156, allocations: 122.7 kB / 490.5 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002765/0.1159, allocations: 100.5 kB / 490.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004504/0.1163, allocations: 427.9 kB / 491 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.916e-05/0.1164, allocations: 86.98 kB / 491.1 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.1165, allocations: 72 kB / 491.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.1181, allocations: 1.322 MB / 492.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.1182, allocations: 7.938 kB / 492.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.043e-05/0.1183, allocations: 35.98 kB / 492.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.1184, allocations: 52.95 kB / 492.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.1199, allocations: 0.8937 MB / 493.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003859/0.1238, allocations: 3.303 MB / 496.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.1256, allocations: 1.526 MB / 498.3 MB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/0.1271, allocations: 1.354 MB / 499.7 MB, free: 8.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.1272, allocations: 89.33 kB / 499.8 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001412/0.1286, allocations: 0.8928 MB / 0.4889 GB, free: 7.465 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.414e-06/0.1286, allocations: 4 kB / 0.4889 GB, free: 7.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.003979/0.1326, allocations: 2.526 MB / 0.4914 GB, free: 4.883 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003848/0.133, allocations: 0.5598 MB / 0.4919 GB, free: 4.219 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005548/0.1336, allocations: 425.3 kB / 0.4923 GB, free: 3.801 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.1337, allocations: 65.69 kB / 0.4924 GB, free: 3.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/0.134, allocations: 272.9 kB / 0.4927 GB, free: 3.457 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.1342, allocations: 194.7 kB / 0.4929 GB, free: 3.266 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003219/0.1345, allocations: 222.6 kB / 0.4931 GB, free: 3.039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1347, allocations: 378.7 kB / 0.4934 GB, free: 2.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006472/0.1353, allocations: 434 kB / 0.4938 GB, free: 2.238 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008675/0.1362, allocations: 0.7917 MB / 0.4946 GB, free: 1.285 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00283/0.1391, allocations: 2.514 MB / 0.4971 GB, free: 14.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.875e-05/0.1391, allocations: 4 kB / 0.4971 GB, free: 14.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002629/0.1417, allocations: 1.809 MB / 0.4988 GB, free: 12.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002246/0.142, allocations: 337 kB / 0.4992 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.142, allocations: 12.84 kB / 0.4992 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/0.142, allocations: 16 kB / 0.4992 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.1424, allocations: 123.8 kB / 0.4993 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.704e-05/0.1424, allocations: 27.92 kB / 0.4993 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005626/0.143, allocations: 127.2 kB / 0.4995 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.705e-05/0.1431, allocations: 59.97 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.001092/0.1442, allocations: 0.7514 MB / 0.5002 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.1444, allocations: 75.67 kB / 0.5003 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003139/0.1475, allocations: 1.944 MB / 0.5022 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.1476, allocations: 8 kB / 0.5022 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.1476, allocations: 4 kB / 0.5022 GB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.1476, allocations: 7.922 kB / 0.5022 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003948/0.1516, allocations: 2.734 MB / 0.5049 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.1516, allocations: 3.984 kB / 0.5049 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.1517, allocations: 23.92 kB / 0.5049 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.896e-06/0.1517, allocations: 4 kB / 0.5049 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.1519, allocations: 39.98 kB / 0.505 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/0.1519, allocations: 7.938 kB / 0.505 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1519, allocations: 4 kB / 0.505 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00343/0.1553, allocations: 2.314 MB / 0.5072 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.1555, allocations: 136.6 kB / 0.5074 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/0.1557, allocations: 71.98 kB / 0.5074 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004925/0.1562, allocations: 79.86 kB / 0.5075 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006977/0.1569, allocations: 323.7 kB / 0.5078 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/0.1571, allocations: 47.97 kB / 0.5079 GB, free: 2.949 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003199/0.1574, allocations: 247.2 kB / 0.5081 GB, free: 2.711 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1574, allocations: 0 / 0.5081 GB, free: 2.711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001341/0.1587, allocations: 343.5 kB / 0.5084 GB, free: 2.375 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.004896/0.1636, allocations: 3.137 MB / 0.5115 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003017/0.1667, allocations: 2.054 MB / 0.5135 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.1667, allocations: 0 / 0.5135 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003213/0.1699, allocations: 3.051 MB / 0.5165 GB, free: 9.848 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007642/0.1707, allocations: 113.7 kB / 0.5166 GB, free: 9.738 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/0.1839, allocations: 7.791 MB / 0.5242 GB, free: 1.484 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000607/0.1845, allocations: 0.9192 MB / 0.5251 GB, free: 0.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003833/0.1849, allocations: 148.6 kB / 0.5252 GB, free: 404 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/0.1852, allocations: 191.4 kB / 0.5254 GB, free: 212 kB / 398.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1852, allocations: 0 / 0.5254 GB, free: 212 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04696/0.2322, allocations: 17.75 MB / 0.5428 GB, free: 14.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.525/8.757, allocations: 11.22 kB / 0.5428 GB, free: 14.47 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