Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004657/0.004657, allocations: 95.92 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.001281/0.001281, allocations: 198.9 kB / 16.68 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1865/0.1865, allocations: 16.77 MB / 307.3 MB, free: 14.89 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 65.95 kB / 425.9 MB, free: 37.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1058, allocations: 53.48 MB / 479.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.002674/0.1085, allocations: 1.854 MB / 481.2 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003104/0.1117, allocations: 1.958 MB / 483.2 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002916/0.112, allocations: 6.125 kB / 483.2 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.1123, allocations: 114.2 kB / 483.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.1126, allocations: 115.6 kB / 483.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.1143, allocations: 0.9054 MB / 484.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001186/0.1155, allocations: 1.432 MB / 485.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.1157, allocations: 160.7 kB / 485.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004551/0.1162, allocations: 0.5239 MB / 486.4 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003937/0.1166, allocations: 356.1 kB / 486.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.1167, allocations: 92.09 kB / 486.9 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000676/0.1174, allocations: 0.5091 MB / 487.4 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.1176, allocations: 131.5 kB / 487.5 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002844/0.1178, allocations: 398.3 kB / 487.9 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009222/0.1188, allocations: 1.18 MB / 489.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1188, allocations: 0 / 489.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1188, allocations: 3.938 kB / 489.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.1188, allocations: 0 / 489.1 MB, free: 3.535 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001382/0.1202, allocations: 1.293 MB / 490.4 MB, free: 2.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.1202, allocations: 19.83 kB / 490.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001226/0.1204, allocations: 122.7 kB / 490.5 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002691/0.1206, allocations: 100.5 kB / 490.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/0.1211, allocations: 427.9 kB / 491 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-05/0.1212, allocations: 86.98 kB / 491.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.294e-05/0.1213, allocations: 71.98 kB / 491.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.1229, allocations: 1.323 MB / 492.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.1229, allocations: 3.938 kB / 492.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.123, allocations: 35.98 kB / 492.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.1231, allocations: 52.95 kB / 492.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.1247, allocations: 0.8937 MB / 493.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00426/0.1289, allocations: 3.303 MB / 496.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.1308, allocations: 1.522 MB / 498.3 MB, free: 9.863 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.1325, allocations: 1.366 MB / 499.7 MB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.579e-05/0.1326, allocations: 81.34 kB / 499.8 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001521/0.1341, allocations: 0.8929 MB / 0.4889 GB, free: 7.465 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 3.005e-06/0.1341, allocations: 0 / 0.4889 GB, free: 7.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.00446/0.1386, allocations: 2.534 MB / 0.4914 GB, free: 4.879 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005211/0.1391, allocations: 0.5559 MB / 0.4919 GB, free: 4.219 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006132/0.1397, allocations: 425.3 kB / 0.4923 GB, free: 3.801 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.1399, allocations: 65.69 kB / 0.4924 GB, free: 3.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000268/0.1401, allocations: 276.9 kB / 0.4927 GB, free: 3.453 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.1404, allocations: 186.7 kB / 0.4928 GB, free: 3.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000341/0.1407, allocations: 226.6 kB / 0.4931 GB, free: 3.039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.1409, allocations: 378.7 kB / 0.4934 GB, free: 2.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007304/0.1417, allocations: 434 kB / 0.4938 GB, free: 2.238 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.1427, allocations: 0.7918 MB / 0.4946 GB, free: 1.285 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003436/0.1462, allocations: 2.518 MB / 0.4971 GB, free: 14.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.891e-05/0.1462, allocations: 4 kB / 0.4971 GB, free: 14.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003127/0.1494, allocations: 1.805 MB / 0.4988 GB, free: 12.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002782/0.1496, allocations: 337 kB / 0.4992 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.1497, allocations: 12.84 kB / 0.4992 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.579e-05/0.1497, allocations: 19.98 kB / 0.4992 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003814/0.1501, allocations: 120 kB / 0.4993 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-05/0.1502, allocations: 23.92 kB / 0.4993 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005616/0.1507, allocations: 135.2 kB / 0.4994 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.1508, allocations: 55.98 kB / 0.4995 GB, free: 11.81 MB / 382.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer T1.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 125 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.firingTime,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 119 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001205/0.152, allocations: 0.7589 MB / 0.5002 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.1522, allocations: 75.67 kB / 0.5003 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003169/0.1554, allocations: 1.943 MB / 0.5022 GB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/0.1554, allocations: 7.984 kB / 0.5022 GB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.1555, allocations: 8 kB / 0.5022 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.1555, allocations: 3.938 kB / 0.5022 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004002/0.1595, allocations: 2.734 MB / 0.5049 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1595, allocations: 0 / 0.5049 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.1596, allocations: 27.92 kB / 0.5049 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.1596, allocations: 4 kB / 0.5049 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.463e-05/0.1597, allocations: 39.97 kB / 0.505 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.1598, allocations: 7.938 kB / 0.505 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.1598, allocations: 7.984 kB / 0.505 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003564/0.1633, allocations: 2.307 MB / 0.5072 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.1635, allocations: 140.5 kB / 0.5074 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002044/0.1637, allocations: 75.97 kB / 0.5074 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004845/0.1642, allocations: 75.88 kB / 0.5075 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000562/0.1648, allocations: 323.7 kB / 0.5078 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.1649, allocations: 51.95 kB / 0.5079 GB, free: 2.941 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002892/0.1652, allocations: 251.2 kB / 0.5081 GB, free: 2.699 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1652, allocations: 0 / 0.5081 GB, free: 2.699 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001071/0.1663, allocations: 335.5 kB / 0.5084 GB, free: 2.371 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 66 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.firingTime,T1.fireTime,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 51 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 22 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004631/0.1709, allocations: 3.124 MB / 0.5115 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002909/0.1738, allocations: 2.061 MB / 0.5135 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.1739, allocations: 4 kB / 0.5135 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003034/0.1769, allocations: 3.051 MB / 0.5165 GB, free: 9.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006545/0.1776, allocations: 109 kB / 0.5166 GB, free: 9.738 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.1901, allocations: 7.806 MB / 0.5242 GB, free: 1.469 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007286/0.1908, allocations: 0.9114 MB / 0.5251 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004311/0.1913, allocations: 140.5 kB / 0.5252 GB, free: 404 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003077/0.1916, allocations: 191.4 kB / 0.5254 GB, free: 212 kB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1916, allocations: 0 / 0.5254 GB, free: 212 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04634/0.238, allocations: 17.74 MB / 0.5427 GB, free: 14.49 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.708/8.946, allocations: 21.34 kB / 0.5428 GB, free: 14.47 MB / 430.1 MB (rm -f PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTT_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTT.fmu > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches