Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",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.006549/0.006549, allocations: 98.2 kB / 15.73 MB, free: 6.004 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.001211/0.001211, allocations: 193.3 kB / 16.67 MB, free: 5.934 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.572/1.572, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1984/0.1984, allocations: 16.76 MB / 307.3 MB, free: 14.81 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 66.64 kB / 425.9 MB, free: 37.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1027, allocations: 53.47 MB / 479.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.002827/0.1056, allocations: 1.859 MB / 481.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002878/0.1085, allocations: 1.917 MB / 483.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002622/0.1088, allocations: 5.906 kB / 483.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.1091, allocations: 108.5 kB / 483.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003447/0.1095, allocations: 130.2 kB / 483.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.111, allocations: 0.9074 MB / 484.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00107/0.1121, allocations: 1.42 MB / 485.7 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.1123, allocations: 138.6 kB / 485.8 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004168/0.1128, allocations: 0.5258 MB / 486.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003179/0.1131, allocations: 314 kB / 486.7 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.1132, allocations: 75.53 kB / 486.7 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005821/0.1138, allocations: 0.4911 MB / 487.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.114, allocations: 129.1 kB / 487.3 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002735/0.1142, allocations: 337.4 kB / 487.7 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008141/0.1151, allocations: 1.049 MB / 488.7 MB, free: 3.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1151, allocations: 3.984 kB / 488.7 MB, free: 3.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1151, allocations: 0 / 488.7 MB, free: 3.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.1151, allocations: 7.938 kB / 488.7 MB, free: 3.848 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.0012/0.1163, allocations: 1.224 MB / 490 MB, free: 2.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1163, allocations: 15.89 kB / 490 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.1165, allocations: 110.7 kB / 490.1 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000253/0.1167, allocations: 88.5 kB / 490.2 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.1172, allocations: 406.9 kB / 490.6 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.435e-05/0.1173, allocations: 74.7 kB / 490.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.195e-05/0.1174, allocations: 67.98 kB / 490.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.1186, allocations: 1.101 MB / 491.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.1187, allocations: 4 kB / 491.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.148e-05/0.1188, allocations: 31.98 kB / 491.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.926e-05/0.1188, allocations: 44.97 kB / 491.9 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.1199, allocations: 0.7337 MB / 492.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003443/0.1234, allocations: 3.006 MB / 495.6 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.125, allocations: 1.382 MB / 497 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.1264, allocations: 1.248 MB / 498.3 MB, free: 9.926 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.102e-05/0.1265, allocations: 81.11 kB / 498.3 MB, free: 9.828 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001247/0.1278, allocations: 0.7864 MB / 499.1 MB, free: 9.004 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 3.927e-06/0.1278, allocations: 0 / 499.1 MB, free: 9.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.003251/0.131, allocations: 2.201 MB / 0.4896 GB, free: 6.758 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002967/0.1313, allocations: 0.5229 MB / 0.4901 GB, free: 6.137 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/0.1317, allocations: 364.3 kB / 0.4904 GB, free: 5.777 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.61e-05/0.1318, allocations: 69.69 kB / 0.4905 GB, free: 5.703 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.132, allocations: 241.2 kB / 0.4907 GB, free: 5.465 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.1322, allocations: 198.6 kB / 0.4909 GB, free: 5.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.1324, allocations: 198.6 kB / 0.4911 GB, free: 5.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1326, allocations: 370.8 kB / 0.4915 GB, free: 4.699 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004722/0.1331, allocations: 302.1 kB / 0.4917 GB, free: 4.398 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007513/0.1338, allocations: 0.6362 MB / 0.4924 GB, free: 3.617 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002482/0.1363, allocations: 2.039 MB / 0.4944 GB, free: 1.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/0.1363, allocations: 4 kB / 0.4944 GB, free: 1.266 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002132/0.1385, allocations: 1.455 MB / 0.4958 GB, free: 15.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001919/0.1387, allocations: 318.2 kB / 0.4961 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.138e-05/0.1387, allocations: 12 kB / 0.4961 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/0.1388, allocations: 16 kB / 0.4961 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/0.1391, allocations: 115.6 kB / 0.4962 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.437e-05/0.1392, allocations: 23.92 kB / 0.4962 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004399/0.1396, allocations: 99.34 kB / 0.4963 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-05/0.1397, allocations: 48 kB / 0.4964 GB, free: 15.06 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: 46 * 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,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.enableIn.arcWeight[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 (122): * Single equations (assignments): 112 * 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.0008386/0.1405, allocations: 0.7048 MB / 0.4971 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.1407, allocations: 79.66 kB / 0.4972 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/0.1432, allocations: 1.661 MB / 0.4988 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.1432, allocations: 11.92 kB / 0.4988 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1432, allocations: 0 / 0.4988 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1432, allocations: 7.984 kB / 0.4988 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003593/0.1468, allocations: 2.589 MB / 0.5013 GB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.1469, allocations: 4 kB / 0.5013 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.147, allocations: 39.8 kB / 0.5014 GB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.147, allocations: 0 / 0.5014 GB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.411e-05/0.1471, allocations: 35.98 kB / 0.5014 GB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1471, allocations: 0 / 0.5014 GB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1471, allocations: 0 / 0.5014 GB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/0.15, allocations: 2.071 MB / 0.5034 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.1501, allocations: 136.6 kB / 0.5036 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.1503, allocations: 67.98 kB / 0.5036 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003802/0.1507, allocations: 55.95 kB / 0.5037 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.1509, allocations: 79.86 kB / 0.5037 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.521e-05/0.1509, allocations: 43.97 kB / 0.5038 GB, free: 7.199 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000222/0.1512, allocations: 223 kB / 0.504 GB, free: 6.984 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1512, allocations: 4 kB / 0.504 GB, free: 6.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001021/0.1522, allocations: 303.5 kB / 0.5043 GB, free: 6.684 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: 67 ($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.arcWeight[1],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 (37): * Single equations (assignments): 25 * 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.003789/0.156, allocations: 2.876 MB / 0.5071 GB, free: 3.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00221/0.1582, allocations: 1.741 MB / 0.5088 GB, free: 1.883 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.1583, allocations: 0 / 0.5088 GB, free: 1.883 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002327/0.1606, allocations: 2.802 MB / 0.5115 GB, free: 14.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005939/0.1612, allocations: 103.7 kB / 0.5116 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009338/0.1705, allocations: 6.966 MB / 0.5184 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005925/0.1712, allocations: 0.8997 MB / 0.5193 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003293/0.1715, allocations: 132.9 kB / 0.5194 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/0.1718, allocations: 167.4 kB / 0.5196 GB, free: 6.262 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1719, allocations: 0 / 0.5196 GB, free: 6.262 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04095/0.2128, allocations: 15.31 MB / 0.5346 GB, free: 6.961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.412/8.625, allocations: 14.38 kB / 0.5346 GB, free: 6.953 MB / 414.1 MB (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 PNlib_PNlib_Examples_DisTest_TDtoPDfunction.fmu > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches