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: translateModel(PNlib.Examples.DisTest.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") translateModel(PNlib.Examples.DisTest.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008724/0.008724, allocations: 99.47 kB / 15.73 MB, free: 5.988 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.001626/0.001626, allocations: 191.7 kB / 16.67 MB, free: 5.918 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.495/1.495, 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.2205/0.2205, allocations: 16.75 MB / 307.3 MB, free: 14.82 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 59.38 kB / 426.4 MB, free: 37.44 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09943/0.1006, allocations: 53.47 MB / 479.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.002704/0.1034, allocations: 1.863 MB / 481.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002933/0.1063, allocations: 1.917 MB / 483.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003134/0.1067, allocations: 5.469 kB / 483.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.107, allocations: 113.7 kB / 483.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003177/0.1074, allocations: 105.8 kB / 483.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.1092, allocations: 0.9057 MB / 484.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001458/0.1107, allocations: 1.42 MB / 486.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002536/0.111, allocations: 143.1 kB / 486.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004971/0.1115, allocations: 0.5209 MB / 486.8 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003746/0.1119, allocations: 314.2 kB / 487.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.112, allocations: 71.69 kB / 487.2 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006991/0.1127, allocations: 0.4921 MB / 487.7 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.1128, allocations: 127.5 kB / 487.8 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.1131, allocations: 342.4 kB / 488.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008189/0.1139, allocations: 1.047 MB / 489.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1139, allocations: 0 / 489.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1139, allocations: 3.938 kB / 489.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1139, allocations: 0 / 489.2 MB, free: 3.43 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.001148/0.1151, allocations: 1.223 MB / 490.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1151, allocations: 11.89 kB / 490.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/0.1154, allocations: 88.55 kB / 490.5 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.1158, allocations: 411 kB / 490.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.792e-05/0.1159, allocations: 82.69 kB / 491 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.606e-05/0.116, allocations: 67.97 kB / 491.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.1173, allocations: 1.105 MB / 492.2 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.1173, allocations: 3.938 kB / 492.2 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.396e-05/0.1174, allocations: 31.98 kB / 492.2 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.227e-05/0.1174, allocations: 48.97 kB / 492.2 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.1186, allocations: 0.7298 MB / 493 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003828/0.1225, allocations: 3.002 MB / 496 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.124, allocations: 1.381 MB / 497.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.1254, allocations: 1.244 MB / 498.6 MB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.1256, allocations: 85.09 kB / 498.7 MB, free: 9.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0012/0.1268, allocations: 0.7865 MB / 499.5 MB, free: 8.695 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.364e-06/0.1268, allocations: 0 / 499.5 MB, free: 8.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.003223/0.1301, allocations: 2.212 MB / 0.4899 GB, free: 6.438 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004414/0.1305, allocations: 0.5113 MB / 0.4904 GB, free: 5.828 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000491/0.131, allocations: 368.3 kB / 0.4908 GB, free: 5.465 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.084e-05/0.1311, allocations: 65.69 kB / 0.4908 GB, free: 5.395 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.1313, allocations: 245.2 kB / 0.4911 GB, free: 5.152 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003051/0.1316, allocations: 194.6 kB / 0.4913 GB, free: 4.961 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003457/0.132, allocations: 198.6 kB / 0.4915 GB, free: 4.762 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002681/0.1322, allocations: 374.8 kB / 0.4918 GB, free: 4.387 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004838/0.1327, allocations: 298.1 kB / 0.4921 GB, free: 4.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006981/0.1334, allocations: 0.6401 MB / 0.4927 GB, free: 3.305 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002232/0.1357, allocations: 2.028 MB / 0.4947 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/0.1357, allocations: 7.938 kB / 0.4947 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002318/0.138, allocations: 1.459 MB / 0.4961 GB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.1382, allocations: 320.9 kB / 0.4964 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.1382, allocations: 12 kB / 0.4964 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.1383, allocations: 16 kB / 0.4965 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.1386, allocations: 103.8 kB / 0.4966 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.757e-05/0.1387, allocations: 31.84 kB / 0.4966 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/0.139, allocations: 103.3 kB / 0.4967 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.981e-05/0.1391, allocations: 51.94 kB / 0.4967 GB, free: 14.75 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.0008113/0.1399, allocations: 0.6967 MB / 0.4974 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.1401, allocations: 75.67 kB / 0.4975 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/0.1424, allocations: 1.662 MB / 0.4991 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.1424, allocations: 4 kB / 0.4991 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.1424, allocations: 11.94 kB / 0.4991 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.1424, allocations: 0 / 0.4991 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003757/0.1462, allocations: 2.593 MB / 0.5017 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1462, allocations: 0 / 0.5017 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.1463, allocations: 31.92 kB / 0.5017 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.1463, allocations: 3.938 kB / 0.5017 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.061e-05/0.1464, allocations: 43.91 kB / 0.5017 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.1464, allocations: 0 / 0.5017 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1464, allocations: 4 kB / 0.5017 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002815/0.1493, allocations: 2.06 MB / 0.5038 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-05/0.1494, allocations: 136.6 kB / 0.5039 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/0.1496, allocations: 71.98 kB / 0.504 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.1499, allocations: 55.95 kB / 0.504 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/0.1501, allocations: 83.84 kB / 0.5041 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.273e-05/0.1502, allocations: 47.95 kB / 0.5041 GB, free: 6.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002284/0.1505, allocations: 223.1 kB / 0.5043 GB, free: 6.676 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1505, allocations: 0 / 0.5043 GB, free: 6.676 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001233/0.1517, allocations: 311.5 kB / 0.5046 GB, free: 6.367 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.0009545/0.1527, allocations: 368.1 kB / 0.505 GB, free: 6.016 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002219/0.1549, allocations: 1.731 MB / 0.5067 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.1549, allocations: 8.125 kB / 0.5067 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002896/0.1578, allocations: 2.793 MB / 0.5094 GB, free: 1.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006301/0.1585, allocations: 114.5 kB / 0.5095 GB, free: 1.156 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.1613, allocations: 1.527 MB / 0.511 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/0.1619, allocations: 0.8997 MB / 0.5119 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003812/0.1623, allocations: 128.6 kB / 0.512 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.1624, allocations: 39.44 kB / 0.5121 GB, free: 14.5 MB / 398.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1624, allocations: 4 kB / 0.5121 GB, free: 14.5 MB / 398.1 MB Notification: Performance of Templates: time 0.02054/0.1829, allocations: 11.11 MB / 0.5229 GB, free: 3.332 MB / 398.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.makefile (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 & ./PNlib_PNlib.Examples.DisTest.TDtoPDfunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches