Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPD.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.TDtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPD",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.007651/0.007651, allocations: 100.8 kB / 15.73 MB, free: 6.051 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.001545/0.001545, allocations: 192.8 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07844/0.07844, allocations: 16.72 MB / 307.3 MB, free: 14.25 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 59.91 kB / 425.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1097, allocations: 53.48 MB / 479.3 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.003214/0.113, allocations: 1.855 MB / 481.2 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003616/0.1167, allocations: 1.917 MB / 483.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003775/0.1171, allocations: 11.94 kB / 483.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004232/0.1175, allocations: 107.1 kB / 483.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005365/0.1181, allocations: 139 kB / 483.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.1202, allocations: 0.8891 MB / 484.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001746/0.1219, allocations: 1.42 MB / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003004/0.1222, allocations: 143.8 kB / 485.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008001/0.123, allocations: 0.526 MB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005527/0.1236, allocations: 310.4 kB / 486.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.1238, allocations: 76 kB / 486.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007909/0.1246, allocations: 0.4916 MB / 487.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.1248, allocations: 131.5 kB / 487.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004487/0.1253, allocations: 338.4 kB / 487.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.1267, allocations: 1.043 MB / 488.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1268, allocations: 4 kB / 488.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1268, allocations: 3.938 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.257e-05/0.1268, allocations: 0 / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002312/0.1291, allocations: 1.23 MB / 489.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.1292, allocations: 11.89 kB / 489.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000245/0.1294, allocations: 110.7 kB / 490 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003642/0.1298, allocations: 84.55 kB / 490.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006365/0.1305, allocations: 406.9 kB / 490.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.1306, allocations: 86.67 kB / 490.6 MB, free: 9.992 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.1307, allocations: 60 kB / 490.7 MB, free: 9.934 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.1327, allocations: 1.101 MB / 491.8 MB, free: 8.762 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.1327, allocations: 4 kB / 491.8 MB, free: 8.758 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.431e-05/0.1328, allocations: 32 kB / 491.8 MB, free: 8.727 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.503e-05/0.1329, allocations: 44.97 kB / 491.8 MB, free: 8.684 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.1342, allocations: 0.722 MB / 492.6 MB, free: 7.961 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003967/0.1382, allocations: 2.994 MB / 495.6 MB, free: 4.824 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.1396, allocations: 1.271 MB / 496.8 MB, free: 3.535 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/0.1409, allocations: 1.167 MB / 498 MB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-05/0.141, allocations: 81.34 kB / 498.1 MB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001227/0.1422, allocations: 0.7516 MB / 498.8 MB, free: 1.477 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.856e-06/0.1422, allocations: 0 / 498.8 MB, free: 1.477 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.003245/0.1455, allocations: 2.122 MB / 0.4892 GB, free: 15.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003127/0.1458, allocations: 0.5364 MB / 0.4897 GB, free: 14.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004258/0.1462, allocations: 376.3 kB / 0.4901 GB, free: 14.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.34e-05/0.1463, allocations: 61.69 kB / 0.4902 GB, free: 14.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.1465, allocations: 249.1 kB / 0.4904 GB, free: 13.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.1467, allocations: 194.6 kB / 0.4906 GB, free: 13.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/0.147, allocations: 198.6 kB / 0.4908 GB, free: 13.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1472, allocations: 374.8 kB / 0.4911 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005028/0.1477, allocations: 298.1 kB / 0.4914 GB, free: 12.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007175/0.1484, allocations: 0.6448 MB / 0.492 GB, free: 12.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002325/0.1508, allocations: 2.035 MB / 0.494 GB, free: 9.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.921e-05/0.1508, allocations: 4 kB / 0.494 GB, free: 9.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002086/0.1529, allocations: 1.456 MB / 0.4955 GB, free: 8.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001904/0.1531, allocations: 317 kB / 0.4958 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.457e-05/0.1531, allocations: 12 kB / 0.4958 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.254e-05/0.1532, allocations: 19.94 kB / 0.4958 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.1535, allocations: 107.8 kB / 0.4959 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.853e-05/0.1536, allocations: 27.86 kB / 0.4959 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000444/0.154, allocations: 99.75 kB / 0.496 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-05/0.1541, allocations: 60 kB / 0.4961 GB, free: 7.559 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: 47 * Number of states: 0 () * Number of discrete variables: 118 ($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.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,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 (123): * Single equations (assignments): 113 * 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.0009344/0.1551, allocations: 0.7108 MB / 0.4968 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.1553, allocations: 75.66 kB / 0.4968 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.1577, allocations: 1.594 MB / 0.4984 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.1577, allocations: 7.938 kB / 0.4984 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1578, allocations: 0 / 0.4984 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.1578, allocations: 4 kB / 0.4984 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003709/0.1615, allocations: 2.519 MB / 0.5009 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.1615, allocations: 15.88 kB / 0.5009 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.1616, allocations: 23.98 kB / 0.5009 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.1617, allocations: 0 / 0.5009 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.037e-05/0.1617, allocations: 35.98 kB / 0.5009 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.1618, allocations: 4 kB / 0.5009 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1618, allocations: 0 / 0.5009 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002797/0.1646, allocations: 2.011 MB / 0.5029 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.1647, allocations: 128.6 kB / 0.503 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/0.1649, allocations: 71.97 kB / 0.5031 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/0.1653, allocations: 47.97 kB / 0.5031 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2274/0.3927, allocations: 75.62 kB / 0.5032 GB, free: 34.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002338/0.3929, allocations: 40.73 kB / 0.5033 GB, free: 34.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003251/0.3933, allocations: 229.2 kB / 0.5035 GB, free: 34.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3933, allocations: 3.312 kB / 0.5035 GB, free: 34.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001284/0.3946, allocations: 309.6 kB / 0.5038 GB, free: 34.8 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.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,T1.active,$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.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,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 (35): * Single equations (assignments): 23 * 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.003919/0.3985, allocations: 2.813 MB / 0.5065 GB, free: 33.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002251/0.4008, allocations: 1.711 MB / 0.5082 GB, free: 33.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.4008, allocations: 1.438 kB / 0.5082 GB, free: 33.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00191/0.4027, allocations: 2.712 MB / 0.5108 GB, free: 31.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006191/0.4033, allocations: 107.1 kB / 0.5109 GB, free: 31.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008693/0.412, allocations: 6.888 MB / 0.5177 GB, free: 27.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.4125, allocations: 0.8937 MB / 0.5185 GB, free: 26.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003608/0.4129, allocations: 131.5 kB / 0.5187 GB, free: 26.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.4131, allocations: 174.8 kB / 0.5188 GB, free: 26.36 MB / 382.1 MB Notification: Performance of SimCode: time 1.363e-06/0.4131, allocations: 0 / 0.5188 GB, free: 26.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03563/0.4487, allocations: 15.26 MB / 0.5337 GB, free: 18.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.377/8.826, allocations: 7.922 kB / 0.5337 GB, free: 18.52 MB / 382.1 MB (rm -f PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPD.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.TDtoPD_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_TDtoPD.fmu > PNlib_PNlib.Examples.DisTest.TDtoPD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches