Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",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.006492/0.006492, allocations: 102.7 kB / 15.73 MB, free: 5.992 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.001208/0.001208, allocations: 191.2 kB / 16.67 MB, free: 5.91 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1957/0.1957, allocations: 16.74 MB / 307.3 MB, free: 14.75 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 67.27 kB / 425.9 MB, free: 37.47 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.116, allocations: 53.48 MB / 479.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002625/0.1187, allocations: 1.862 MB / 481.2 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002895/0.1216, allocations: 1.912 MB / 483.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003452/0.122, allocations: 9.438 kB / 483.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.1223, allocations: 110.2 kB / 483.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003425/0.1227, allocations: 137.5 kB / 483.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.1242, allocations: 0.9047 MB / 484.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.1253, allocations: 1.435 MB / 485.7 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.1256, allocations: 156.9 kB / 485.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004113/0.126, allocations: 0.536 MB / 486.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003682/0.1263, allocations: 346.8 kB / 486.7 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.1265, allocations: 87.47 kB / 486.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006325/0.1271, allocations: 0.513 MB / 487.3 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.1273, allocations: 139.5 kB / 487.5 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002908/0.1276, allocations: 398.3 kB / 487.9 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009184/0.1285, allocations: 1.18 MB / 489 MB, free: 3.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1285, allocations: 0 / 489 MB, free: 3.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1285, allocations: 4 kB / 489 MB, free: 3.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.1285, allocations: 0 / 489 MB, free: 3.445 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001328/0.1299, allocations: 1.297 MB / 490.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1299, allocations: 11.89 kB / 490.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001271/0.1301, allocations: 118.7 kB / 490.5 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002687/0.1303, allocations: 96.5 kB / 490.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004658/0.1308, allocations: 442.6 kB / 491 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.548e-05/0.1309, allocations: 87 kB / 491.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.131, allocations: 72 kB / 491.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.1326, allocations: 1.32 MB / 492.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.1327, allocations: 7.938 kB / 492.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.1328, allocations: 39.98 kB / 492.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.1329, allocations: 56.95 kB / 492.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.1345, allocations: 0.9171 MB / 493.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003766/0.1382, allocations: 3.326 MB / 496.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/0.1401, allocations: 1.58 MB / 498.4 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.1415, allocations: 1.448 MB / 499.8 MB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.736e-05/0.1416, allocations: 93.05 kB / 499.9 MB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001344/0.1429, allocations: 0.9195 MB / 0.4891 GB, free: 7.172 MB / 366.1 MB Notification: Performance of pre-optimization done (n=77): time 2.455e-06/0.1429, allocations: 0 / 0.4891 GB, free: 7.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=77): time 0.003821/0.1468, allocations: 2.622 MB / 0.4917 GB, free: 4.496 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00034/0.1471, allocations: 0.5348 MB / 0.4922 GB, free: 3.863 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004398/0.1476, allocations: 409.3 kB / 0.4926 GB, free: 3.457 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.64e-05/0.1477, allocations: 73.69 kB / 0.4927 GB, free: 3.379 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.1479, allocations: 261 kB / 0.4929 GB, free: 3.121 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.1481, allocations: 210.5 kB / 0.4931 GB, free: 2.914 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003044/0.1484, allocations: 226.6 kB / 0.4933 GB, free: 2.684 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.1485, allocations: 374.7 kB / 0.4937 GB, free: 2.309 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007133/0.1493, allocations: 442 kB / 0.4941 GB, free: 1.879 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.1503, allocations: 0.8124 MB / 0.4949 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003135/0.1534, allocations: 2.543 MB / 0.4974 GB, free: 14.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.1535, allocations: 0 / 0.4974 GB, free: 14.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002578/0.156, allocations: 1.826 MB / 0.4992 GB, free: 12.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000264/0.1563, allocations: 343.6 kB / 0.4995 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/0.1563, allocations: 12 kB / 0.4995 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.504e-05/0.1564, allocations: 16 kB / 0.4995 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/0.1568, allocations: 123.7 kB / 0.4996 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.902e-05/0.1568, allocations: 23.92 kB / 0.4997 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005632/0.1574, allocations: 131.3 kB / 0.4998 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.155e-05/0.1575, allocations: 56.12 kB / 0.4998 GB, free: 11.38 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: 51 * Number of states: 0 () * Number of discrete variables: 128 ($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,T1.inPlaces[1].tokenInOut,$PRE.P1.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.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.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableOut.arcWeight[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 (134): * Single equations (assignments): 123 * 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.001026/0.1585, allocations: 0.7696 MB / 0.5006 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.1587, allocations: 79.66 kB / 0.5007 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/0.1617, allocations: 2.018 MB / 0.5026 GB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-05/0.1617, allocations: 7.984 kB / 0.5026 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.1617, allocations: 0 / 0.5026 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1618, allocations: 0 / 0.5026 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004445/0.1662, allocations: 3.046 MB / 0.5056 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.1662, allocations: 4 kB / 0.5056 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.1664, allocations: 27.97 kB / 0.5056 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1664, allocations: 0 / 0.5056 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.88e-05/0.1665, allocations: 39.98 kB / 0.5057 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.365e-06/0.1665, allocations: 3.938 kB / 0.5057 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1665, allocations: 3.938 kB / 0.5057 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003392/0.1699, allocations: 2.383 MB / 0.508 GB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.1701, allocations: 136.6 kB / 0.5081 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/0.1703, allocations: 79.91 kB / 0.5082 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000516/0.1708, allocations: 79.86 kB / 0.5083 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005465/0.1714, allocations: 323.7 kB / 0.5086 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.1715, allocations: 51.91 kB / 0.5087 GB, free: 2.047 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003978/0.1719, allocations: 255.2 kB / 0.5089 GB, free: 1.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1719, allocations: 0 / 0.5089 GB, free: 1.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001328/0.1732, allocations: 331.6 kB / 0.5092 GB, free: 1.477 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: 69 ($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,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,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.arcWeight[1],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.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,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 (39): * Single equations (assignments): 26 * 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.004545/0.1778, allocations: 3.199 MB / 0.5123 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002834/0.1807, allocations: 2.102 MB / 0.5144 GB, free: 11.99 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.1807, allocations: 4.062 kB / 0.5144 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002674/0.1834, allocations: 3.156 MB / 0.5175 GB, free: 8.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006583/0.184, allocations: 108.2 kB / 0.5176 GB, free: 8.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.1948, allocations: 7.966 MB / 0.5254 GB, free: 184 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005352/0.1954, allocations: 0.9192 MB / 0.5263 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003489/0.1958, allocations: 153.1 kB / 0.5264 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.196, allocations: 195.4 kB / 0.5266 GB, free: 14.89 MB / 414.1 MB Notification: Performance of SimCode: time 1.212e-06/0.196, allocations: 0 / 0.5266 GB, free: 14.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03955/0.2356, allocations: 17.9 MB / 0.5441 GB, free: 13.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.673/8.909, allocations: 7.812 kB / 0.5441 GB, free: 13.01 MB / 430.1 MB (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_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_PDtoTDfunction.fmu > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches