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.001942/0.001942, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.002339/0.002339, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.638/2.638, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1772/0.1772, allocations: 16.72 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002427/0.002427, allocations: 59.91 kB / 427 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1773, allocations: 53.47 MB / 480.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.006012/0.1834, allocations: 1.865 MB / 482.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006988/0.1904, allocations: 1.913 MB / 484.3 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007979/0.1913, allocations: 15.94 kB / 484.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000791/0.1921, allocations: 111 kB / 484.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009612/0.1932, allocations: 115.1 kB / 484.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003912/0.1971, allocations: 0.9005 MB / 485.4 MB, free: 20 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002725/0.1999, allocations: 1.416 MB / 486.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003779/0.2003, allocations: 143.8 kB / 486.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008514/0.2011, allocations: 0.526 MB / 487.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006167/0.2018, allocations: 310.4 kB / 487.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.2019, allocations: 72 kB / 487.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.2031, allocations: 0.4955 MB / 488.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.2033, allocations: 127.5 kB / 488.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004885/0.2038, allocations: 342.4 kB / 488.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.2056, allocations: 1.036 MB / 489.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.2056, allocations: 0 / 489.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.2056, allocations: 3.938 kB / 489.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.2057, allocations: 0 / 489.8 MB, free: 11.55 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.002419/0.2081, allocations: 1.208 MB / 491 MB, free: 10.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.2082, allocations: 11.89 kB / 491.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005599/0.2087, allocations: 88.17 kB / 491.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009413/0.2097, allocations: 403 kB / 491.5 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.2099, allocations: 74.69 kB / 491.6 MB, free: 9.625 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.2101, allocations: 67.98 kB / 491.7 MB, free: 9.559 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003097/0.2132, allocations: 1.101 MB / 492.8 MB, free: 8.387 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.2133, allocations: 11.91 kB / 492.8 MB, free: 8.375 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.2134, allocations: 32 kB / 492.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001491/0.2136, allocations: 40.97 kB / 492.9 MB, free: 8.305 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/0.2161, allocations: 0.7454 MB / 493.6 MB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006471/0.2226, allocations: 2.99 MB / 496.6 MB, free: 4.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002973/0.2256, allocations: 1.387 MB / 498 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002201/0.2278, allocations: 1.241 MB / 499.2 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/0.228, allocations: 89.11 kB / 499.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002278/0.2303, allocations: 0.7824 MB / 0.4884 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 5.179e-06/0.2304, allocations: 0 / 0.4884 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.006512/0.2369, allocations: 2.205 MB / 0.4905 GB, free: 14.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005624/0.2375, allocations: 0.5113 MB / 0.491 GB, free: 14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008163/0.2383, allocations: 368 kB / 0.4914 GB, free: 13.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001802/0.2386, allocations: 73.69 kB / 0.4914 GB, free: 13.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003674/0.239, allocations: 236.7 kB / 0.4917 GB, free: 13.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003433/0.2393, allocations: 189.7 kB / 0.4919 GB, free: 13.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005033/0.2399, allocations: 198.6 kB / 0.492 GB, free: 12.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002767/0.2402, allocations: 366.8 kB / 0.4924 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009882/0.2412, allocations: 310.1 kB / 0.4927 GB, free: 12.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.2426, allocations: 0.6361 MB / 0.4933 GB, free: 11.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004735/0.2473, allocations: 2.032 MB / 0.4953 GB, free: 9.137 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.238e-05/0.2474, allocations: 0 / 0.4953 GB, free: 9.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.004109/0.2515, allocations: 1.463 MB / 0.4967 GB, free: 7.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003759/0.2519, allocations: 313 kB / 0.497 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.185e-05/0.252, allocations: 12.23 kB / 0.497 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.655e-05/0.2521, allocations: 16 kB / 0.4971 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007244/0.2528, allocations: 115.7 kB / 0.4972 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-05/0.2529, allocations: 31.8 kB / 0.4972 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008824/0.2538, allocations: 103.4 kB / 0.4973 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/0.254, allocations: 52 kB / 0.4973 GB, free: 6.914 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.001747/0.2558, allocations: 0.6925 MB / 0.498 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004153/0.2562, allocations: 67.44 kB / 0.4981 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004929/0.2612, allocations: 1.665 MB / 0.4997 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.2612, allocations: 4 kB / 0.4997 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.2612, allocations: 3.938 kB / 0.4997 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.2613, allocations: 0 / 0.4997 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007136/0.2684, allocations: 2.6 MB / 0.5023 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.2685, allocations: 4 kB / 0.5023 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.2687, allocations: 27.92 kB / 0.5023 GB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-05/0.2688, allocations: 7.938 kB / 0.5023 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/0.2689, allocations: 43.97 kB / 0.5023 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.278e-05/0.269, allocations: 4 kB / 0.5023 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.269, allocations: 3.938 kB / 0.5023 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3484/0.6174, allocations: 2.056 MB / 0.5043 GB, free: 34.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.6176, allocations: 129 kB / 0.5045 GB, free: 34.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005027/0.6182, allocations: 69.56 kB / 0.5045 GB, free: 34.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009283/0.6191, allocations: 52.69 kB / 0.5046 GB, free: 34.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004006/0.6196, allocations: 81.02 kB / 0.5047 GB, free: 34.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002447/0.6198, allocations: 44.84 kB / 0.5047 GB, free: 34.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005342/0.6204, allocations: 225.1 kB / 0.5049 GB, free: 34.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6204, allocations: 1.438 kB / 0.5049 GB, free: 34.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002145/0.6226, allocations: 302.4 kB / 0.5052 GB, free: 34.57 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.001529/0.6241, allocations: 365.2 kB / 0.5056 GB, free: 34.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004261/0.6284, allocations: 1.738 MB / 0.5073 GB, free: 33.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.6285, allocations: 0 / 0.5073 GB, free: 33.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003839/0.6323, allocations: 2.792 MB / 0.51 GB, free: 32.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.6335, allocations: 109 kB / 0.5101 GB, free: 32.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005033/0.6386, allocations: 1.539 MB / 0.5116 GB, free: 31.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006741/0.6393, allocations: 0.8923 MB / 0.5125 GB, free: 30.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/0.6396, allocations: 48.09 kB / 0.5125 GB, free: 30.62 MB / 382.1 MB Notification: Performance of SimCode: time 2.114e-06/0.6397, allocations: 0 / 0.5125 GB, free: 30.62 MB / 382.1 MB Notification: Performance of Templates: time 0.03663/0.6763, allocations: 10.53 MB / 0.5228 GB, free: 27.58 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