Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEnoInput.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.TEnoInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TEnoInput") translateModel(PNlib.Examples.DisTest.TEnoInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TEnoInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 105.8 kB / 16.41 MB, free: 6.496 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.001931/0.001931, allocations: 189.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.598/2.598, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1343/0.1343, allocations: 16.73 MB / 307.9 MB, free: 14.21 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 59.91 kB / 427 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1681, allocations: 53.47 MB / 480.5 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.004867/0.173, allocations: 1.866 MB / 482.3 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005479/0.1786, allocations: 1.963 MB / 484.3 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00055/0.1791, allocations: 11.94 kB / 484.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007493/0.1799, allocations: 115.1 kB / 484.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005513/0.1805, allocations: 115 kB / 484.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0032/0.1837, allocations: 0.9106 MB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002755/0.1865, allocations: 1.428 MB / 486.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004708/0.187, allocations: 135.8 kB / 487 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.1883, allocations: 0.5338 MB / 487.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008486/0.1891, allocations: 314.4 kB / 487.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002724/0.1894, allocations: 72 kB / 487.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.1908, allocations: 0.5227 MB / 488.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.1911, allocations: 135.5 kB / 488.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007059/0.1918, allocations: 338.5 kB / 488.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002472/0.1943, allocations: 1.079 MB / 490 MB, free: 11.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.1944, allocations: 0 / 490 MB, free: 11.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1944, allocations: 0 / 490 MB, free: 11.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.399e-05/0.1944, allocations: 0 / 490 MB, free: 11.41 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.003124/0.1975, allocations: 1.248 MB / 491.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.549e-05/0.1976, allocations: 11.89 kB / 491.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005819/0.1982, allocations: 92.17 kB / 491.3 MB, free: 9.949 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000908/0.1991, allocations: 410.8 kB / 491.7 MB, free: 9.508 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.1993, allocations: 74.69 kB / 491.8 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.1995, allocations: 71.97 kB / 491.9 MB, free: 9.359 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002704/0.2022, allocations: 1.155 MB / 493 MB, free: 8.133 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/0.2023, allocations: 7.922 kB / 493 MB, free: 8.125 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001716/0.2024, allocations: 28 kB / 493.1 MB, free: 8.098 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001513/0.2026, allocations: 56.95 kB / 493.1 MB, free: 8.043 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002002/0.2046, allocations: 0.7533 MB / 493.9 MB, free: 7.289 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005382/0.21, allocations: 3.025 MB / 496.9 MB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002602/0.2127, allocations: 1.298 MB / 498.2 MB, free: 2.809 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/0.2149, allocations: 1.198 MB / 499.4 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.215, allocations: 81.11 kB / 499.5 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002212/0.2173, allocations: 0.8325 MB / 0.4886 GB, free: 0.625 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 5.28e-06/0.2173, allocations: 0 / 0.4886 GB, free: 0.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.006443/0.2238, allocations: 2.268 MB / 0.4908 GB, free: 14.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006061/0.2244, allocations: 0.6156 MB / 0.4914 GB, free: 13.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009959/0.2254, allocations: 380.1 kB / 0.4918 GB, free: 13.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001782/0.2256, allocations: 73.62 kB / 0.4918 GB, free: 13.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000388/0.226, allocations: 244.6 kB / 0.4921 GB, free: 12.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004236/0.2265, allocations: 197.6 kB / 0.4923 GB, free: 12.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005556/0.2271, allocations: 210.5 kB / 0.4925 GB, free: 12.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000255/0.2273, allocations: 370.8 kB / 0.4928 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009268/0.2283, allocations: 326.1 kB / 0.4931 GB, free: 11.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.2298, allocations: 0.6864 MB / 0.4938 GB, free: 10.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004346/0.2342, allocations: 2.123 MB / 0.4959 GB, free: 8.469 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-05/0.2342, allocations: 8 kB / 0.4959 GB, free: 8.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.00405/0.2383, allocations: 1.559 MB / 0.4974 GB, free: 6.828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003114/0.2386, allocations: 341.5 kB / 0.4977 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-05/0.2387, allocations: 16.08 kB / 0.4977 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.043e-05/0.2388, allocations: 27.88 kB / 0.4978 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006319/0.2394, allocations: 115.7 kB / 0.4979 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.234e-05/0.2395, allocations: 23.88 kB / 0.4979 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009091/0.2404, allocations: 114.9 kB / 0.498 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.2406, allocations: 56 kB / 0.4981 GB, free: 6.082 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 T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T2.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 T2.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: 49 * Number of states: 0 () * Number of discrete variables: 121 ($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,$whenCondition8,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition6,$whenCondition7,T2.eventIndex,$PRE.T2.eventIndex,$whenCondition3,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,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T2.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T2.enabledByInPlaces,P1.enableIn.arcWeight[1],T2.activation.disPlaceOut[1],T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.tIntOut[1],T2.eventPassed,$PRE.T2.eventPassed,T2.firingTime,T2.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[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,$whenCondition4,$whenCondition5,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 11 * 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.001647/0.2423, allocations: 0.7227 MB / 0.4988 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003474/0.2426, allocations: 75.67 kB / 0.4988 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004746/0.2474, allocations: 1.71 MB / 0.5005 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.969e-05/0.2475, allocations: 19.94 kB / 0.5005 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.2475, allocations: 0 / 0.5005 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.2475, allocations: 3.984 kB / 0.5005 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006744/0.2543, allocations: 2.667 MB / 0.5031 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.2543, allocations: 3.938 kB / 0.5031 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.2545, allocations: 19.98 kB / 0.5032 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/0.2546, allocations: 4 kB / 0.5032 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001699/0.2547, allocations: 43.97 kB / 0.5032 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.2548, allocations: 0 / 0.5032 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2548, allocations: 4 kB / 0.5032 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3931/0.6479, allocations: 2.119 MB / 0.5053 GB, free: 35.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002437/0.6482, allocations: 135.6 kB / 0.5054 GB, free: 35.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004446/0.6487, allocations: 67.88 kB / 0.5055 GB, free: 35.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007952/0.6495, allocations: 59.14 kB / 0.5055 GB, free: 35.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003927/0.6499, allocations: 84.81 kB / 0.5056 GB, free: 35.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002276/0.6502, allocations: 44.92 kB / 0.5057 GB, free: 35.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005484/0.6507, allocations: 232.2 kB / 0.5059 GB, free: 35.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6508, allocations: 0 / 0.5059 GB, free: 35.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002378/0.6531, allocations: 321.5 kB / 0.5062 GB, free: 35.07 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: 68 ($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,T2.active,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,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.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,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active) * Number of discrete states: 50 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.eventIndex,$whenCondition3,T2.activation.active,T2.eventPassed,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): 23 * Array equations: 1 * Algorithm blocks: 9 * 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.00166/0.6548, allocations: 378.8 kB / 0.5065 GB, free: 34.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004521/0.6594, allocations: 1.836 MB / 0.5083 GB, free: 34.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.6594, allocations: 1.906 kB / 0.5083 GB, free: 34.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003954/0.6634, allocations: 2.813 MB / 0.5111 GB, free: 31.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.6647, allocations: 107.9 kB / 0.5112 GB, free: 31.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005234/0.67, allocations: 1.534 MB / 0.5127 GB, free: 31.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007163/0.6708, allocations: 0.9057 MB / 0.5136 GB, free: 30.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003331/0.6711, allocations: 53.08 kB / 0.5136 GB, free: 30.45 MB / 382.1 MB Notification: Performance of SimCode: time 2.505e-06/0.6711, allocations: 0 / 0.5136 GB, free: 30.45 MB / 382.1 MB Notification: Performance of Templates: time 0.03723/0.7084, allocations: 11.05 MB / 0.5244 GB, free: 26.98 MB / 382.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.TEnoInput.makefile (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEnoInput.sim & ./PNlib_PNlib.Examples.DisTest.TEnoInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TEnoInput.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches