Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TTtoPD.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.TTtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TTtoPD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TTtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TTtoPD",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.008087/0.008087, allocations: 96.31 kB / 15.73 MB, free: 6.039 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.001532/0.001532, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.432/1.432, 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.1917/0.1917, allocations: 16.75 MB / 307.3 MB, free: 14.91 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 72.17 kB / 425.9 MB, free: 37.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1056, allocations: 53.47 MB / 479.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.002614/0.1083, allocations: 1.861 MB / 481.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002872/0.1112, allocations: 1.946 MB / 483.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002886/0.1115, allocations: 9.344 kB / 483.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003429/0.1118, allocations: 109.1 kB / 483.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003612/0.1122, allocations: 137.5 kB / 483.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.1144, allocations: 0.9075 MB / 484.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001486/0.1159, allocations: 1.424 MB / 485.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002752/0.1161, allocations: 140.6 kB / 485.9 MB, free: 5.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006/0.1168, allocations: 0.526 MB / 486.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004025/0.1172, allocations: 313.3 kB / 486.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.1173, allocations: 71.69 kB / 486.8 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006637/0.1179, allocations: 499.6 kB / 487.3 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.1181, allocations: 132.9 kB / 487.4 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002784/0.1184, allocations: 341.7 kB / 487.7 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008863/0.1193, allocations: 1.043 MB / 488.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1193, allocations: 0 / 488.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1193, allocations: 0 / 488.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.1193, allocations: 0 / 488.8 MB, free: 3.797 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001433/0.1208, allocations: 1.226 MB / 490 MB, free: 2.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/0.1208, allocations: 11.89 kB / 490 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/0.121, allocations: 118.6 kB / 490.1 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002922/0.1213, allocations: 88.55 kB / 490.2 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.1217, allocations: 404.1 kB / 490.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.164e-05/0.1218, allocations: 74.69 kB / 490.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.706e-05/0.1219, allocations: 67.98 kB / 490.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.1232, allocations: 1.093 MB / 491.8 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.1233, allocations: 3.938 kB / 491.8 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.566e-05/0.1234, allocations: 35.97 kB / 491.9 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.858e-05/0.1234, allocations: 44.97 kB / 491.9 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.1245, allocations: 0.7103 MB / 492.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003748/0.1283, allocations: 2.986 MB / 495.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.1297, allocations: 1.259 MB / 496.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/0.1309, allocations: 1.158 MB / 498 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-05/0.131, allocations: 89.09 kB / 498.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001147/0.1322, allocations: 0.7643 MB / 498.9 MB, free: 9.219 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 2.014e-06/0.1322, allocations: 0 / 498.9 MB, free: 9.219 MB / 366.1 MB Notification: Performance of matching and sorting (n=71): time 0.003116/0.1353, allocations: 2.098 MB / 0.4892 GB, free: 7.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003774/0.1357, allocations: 0.5403 MB / 0.4898 GB, free: 6.426 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005052/0.1362, allocations: 372.3 kB / 0.4901 GB, free: 6.055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.837e-05/0.1363, allocations: 69.69 kB / 0.4902 GB, free: 5.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.1365, allocations: 253.1 kB / 0.4904 GB, free: 5.727 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/0.1367, allocations: 178.7 kB / 0.4906 GB, free: 5.551 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/0.137, allocations: 198.6 kB / 0.4908 GB, free: 5.352 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.1372, allocations: 366.8 kB / 0.4911 GB, free: 4.984 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004578/0.1376, allocations: 294.1 kB / 0.4914 GB, free: 4.695 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006726/0.1383, allocations: 0.6275 MB / 0.492 GB, free: 3.918 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/0.1409, allocations: 1.998 MB / 0.494 GB, free: 1.621 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.1409, allocations: 4 kB / 0.494 GB, free: 1.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00192/0.1428, allocations: 1.432 MB / 0.4954 GB, free: 120 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001842/0.143, allocations: 317 kB / 0.4957 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.143, allocations: 8.25 kB / 0.4957 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.131e-05/0.1431, allocations: 19.94 kB / 0.4957 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/0.1434, allocations: 115.7 kB / 0.4958 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.446e-05/0.1434, allocations: 23.92 kB / 0.4959 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.1438, allocations: 107.3 kB / 0.496 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.397e-05/0.1439, allocations: 48 kB / 0.496 GB, free: 15.43 MB / 382.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.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.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 P1.enableIn.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.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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 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: 45 * Number of states: 0 () * Number of discrete variables: 115 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,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],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.firingTime,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 108 * Array equations: 0 * 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.0008344/0.1448, allocations: 0.6878 MB / 0.4967 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.1449, allocations: 67.72 kB / 0.4967 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/0.1472, allocations: 1.601 MB / 0.4983 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.1472, allocations: 7.938 kB / 0.4983 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1472, allocations: 0 / 0.4983 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1472, allocations: 0 / 0.4983 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003261/0.1505, allocations: 2.323 MB / 0.5006 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.1505, allocations: 0 / 0.5006 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.1507, allocations: 27.86 kB / 0.5006 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.1507, allocations: 8 kB / 0.5006 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.247e-05/0.1507, allocations: 39.98 kB / 0.5007 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1508, allocations: 0 / 0.5007 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1508, allocations: 0 / 0.5007 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002761/0.1535, allocations: 2.006 MB / 0.5026 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.1536, allocations: 128.6 kB / 0.5027 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/0.1538, allocations: 71.97 kB / 0.5028 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004326/0.1543, allocations: 51.97 kB / 0.5029 GB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/0.1545, allocations: 83.86 kB / 0.5029 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.715e-05/0.1546, allocations: 43.97 kB / 0.503 GB, free: 8.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003427/0.1549, allocations: 227 kB / 0.5032 GB, free: 7.789 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1549, allocations: 0 / 0.5032 GB, free: 7.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001156/0.1561, allocations: 303.6 kB / 0.5035 GB, free: 7.492 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: 64 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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.firingTime,T1.fireTime,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 47 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 21 * Array equations: 0 * 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.00386/0.16, allocations: 2.809 MB / 0.5062 GB, free: 4.621 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002786/0.1628, allocations: 1.694 MB / 0.5079 GB, free: 2.801 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1628, allocations: 0 / 0.5079 GB, free: 2.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002983/0.1658, allocations: 2.706 MB / 0.5105 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006148/0.1664, allocations: 104.6 kB / 0.5106 GB, free: 15.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008606/0.175, allocations: 6.718 MB / 0.5172 GB, free: 8.754 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.1755, allocations: 0.8994 MB / 0.5181 GB, free: 7.824 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003208/0.1759, allocations: 128.5 kB / 0.5182 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.1761, allocations: 171.4 kB / 0.5183 GB, free: 7.527 MB / 398.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1761, allocations: 0 / 0.5183 GB, free: 7.527 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05033/0.2264, allocations: 15.15 MB / 0.5331 GB, free: 8.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.724/8.95, allocations: 15.14 kB / 0.5332 GB, free: 8.383 MB / 414.1 MB (rm -f PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TTtoPD.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.TTtoPD_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_TTtoPD.fmu > PNlib_PNlib.Examples.DisTest.TTtoPD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches