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.00184/0.00184, allocations: 107 kB / 16.41 MB, free: 6.449 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.002338/0.002338, allocations: 189.5 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.418/2.418, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1434/0.1434, allocations: 16.73 MB / 307.9 MB, free: 14.22 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002437/0.002437, allocations: 67.89 kB / 427 MB, free: 10.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1563, allocations: 53.47 MB / 480.5 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.005412/0.1618, allocations: 1.859 MB / 482.3 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005919/0.1678, allocations: 1.917 MB / 484.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006504/0.1685, allocations: 7.938 kB / 484.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006111/0.1691, allocations: 107.1 kB / 484.4 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007142/0.17, allocations: 115.1 kB / 484.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003619/0.1736, allocations: 0.8965 MB / 485.4 MB, free: 148 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002768/0.1764, allocations: 1.424 MB / 486.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004931/0.1769, allocations: 135.8 kB / 486.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.1782, allocations: 0.5259 MB / 487.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008112/0.179, allocations: 310.5 kB / 487.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002721/0.1793, allocations: 76 kB / 487.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.1809, allocations: 0.4915 MB / 488.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003374/0.1813, allocations: 127.5 kB / 488.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007687/0.1821, allocations: 350.4 kB / 488.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.1844, allocations: 1.04 MB / 489.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1844, allocations: 0 / 489.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1844, allocations: 0 / 489.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.744e-05/0.1845, allocations: 0 / 489.8 MB, free: 11.67 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.003053/0.1875, allocations: 1.216 MB / 491.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.237e-05/0.1876, allocations: 11.89 kB / 491.1 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005965/0.1882, allocations: 80.19 kB / 491.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009654/0.1892, allocations: 407 kB / 491.5 MB, free: 9.816 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.1894, allocations: 70.7 kB / 491.6 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.1896, allocations: 75.92 kB / 491.7 MB, free: 9.668 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003129/0.1928, allocations: 1.101 MB / 492.8 MB, free: 8.496 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.1928, allocations: 0 / 492.8 MB, free: 8.496 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.193, allocations: 35.98 kB / 492.8 MB, free: 8.461 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001408/0.1931, allocations: 48.95 kB / 492.9 MB, free: 8.414 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/0.1955, allocations: 0.7298 MB / 493.6 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005839/0.2013, allocations: 2.998 MB / 496.6 MB, free: 4.547 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002643/0.204, allocations: 1.388 MB / 498 MB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/0.2062, allocations: 1.248 MB / 499.2 MB, free: 1.887 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/0.2064, allocations: 85.14 kB / 499.3 MB, free: 1.785 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00207/0.2085, allocations: 0.7824 MB / 0.4884 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 4.439e-06/0.2085, allocations: 0 / 0.4884 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.005684/0.2142, allocations: 2.204 MB / 0.4905 GB, free: 14.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004439/0.2147, allocations: 0.5152 MB / 0.491 GB, free: 14.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006908/0.2154, allocations: 368 kB / 0.4914 GB, free: 13.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001589/0.2156, allocations: 65.69 kB / 0.4914 GB, free: 13.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.2159, allocations: 232.7 kB / 0.4917 GB, free: 13.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003502/0.2163, allocations: 185.8 kB / 0.4918 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004892/0.2168, allocations: 198.6 kB / 0.492 GB, free: 13.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.2171, allocations: 374.8 kB / 0.4924 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00092/0.218, allocations: 298.1 kB / 0.4927 GB, free: 12.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.2192, allocations: 0.64 MB / 0.4933 GB, free: 11.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004172/0.2234, allocations: 2.031 MB / 0.4953 GB, free: 9.258 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.997e-05/0.2235, allocations: 4 kB / 0.4953 GB, free: 9.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003669/0.2272, allocations: 1.46 MB / 0.4967 GB, free: 7.727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002952/0.2275, allocations: 317 kB / 0.497 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.248e-05/0.2276, allocations: 12 kB / 0.497 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.778e-05/0.2276, allocations: 16 kB / 0.497 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007328/0.2284, allocations: 111.7 kB / 0.4972 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.473e-05/0.2285, allocations: 27.86 kB / 0.4972 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008137/0.2293, allocations: 103 kB / 0.4973 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.2295, allocations: 48 kB / 0.4973 GB, free: 7.043 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.001509/0.231, allocations: 0.7006 MB / 0.498 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003201/0.2313, allocations: 71.42 kB / 0.4981 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004787/0.2361, allocations: 1.661 MB / 0.4997 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.2362, allocations: 7.938 kB / 0.4997 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/0.2362, allocations: 7.938 kB / 0.4997 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.2363, allocations: 3.984 kB / 0.4997 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006488/0.2428, allocations: 2.596 MB / 0.5023 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.2428, allocations: 4 kB / 0.5023 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.2431, allocations: 27.98 kB / 0.5023 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/0.2431, allocations: 7.875 kB / 0.5023 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/0.2433, allocations: 39.98 kB / 0.5023 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.2433, allocations: 0 / 0.5023 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.2433, allocations: 4 kB / 0.5023 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3278/0.5711, allocations: 2.059 MB / 0.5043 GB, free: 34.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.5713, allocations: 130.9 kB / 0.5045 GB, free: 34.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003721/0.5717, allocations: 69.05 kB / 0.5045 GB, free: 34.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006699/0.5724, allocations: 53.41 kB / 0.5046 GB, free: 34.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000327/0.5728, allocations: 83.22 kB / 0.5047 GB, free: 34.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/0.5729, allocations: 42.42 kB / 0.5047 GB, free: 34.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004065/0.5734, allocations: 222.3 kB / 0.5049 GB, free: 34.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5734, allocations: 0.875 kB / 0.5049 GB, free: 34.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001837/0.5752, allocations: 305.4 kB / 0.5052 GB, free: 34.75 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.001138/0.5764, allocations: 365.1 kB / 0.5056 GB, free: 34.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003516/0.5799, allocations: 1.741 MB / 0.5073 GB, free: 34.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.58, allocations: 0 / 0.5073 GB, free: 34.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003518/0.5835, allocations: 2.797 MB / 0.51 GB, free: 32.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.5846, allocations: 114.4 kB / 0.5101 GB, free: 32.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004833/0.5894, allocations: 1.535 MB / 0.5116 GB, free: 31.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005826/0.5901, allocations: 0.8931 MB / 0.5125 GB, free: 30.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/0.5903, allocations: 47.36 kB / 0.5125 GB, free: 30.8 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5904, allocations: 0 / 0.5125 GB, free: 30.8 MB / 382.1 MB Notification: Performance of Templates: time 0.03088/0.6213, allocations: 10.6 MB / 0.5229 GB, free: 27.74 MB / 382.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches