Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.DisTest.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") translateModel(PNlib.Examples.DisTest.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001007, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 197.4 kB / 16.54 MB, free: 6.672 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.229/1.229, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1596/0.1596, allocations: 16.76 MB / 307.1 MB, free: 14.93 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.91 kB / 371.6 MB, free: 3.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2645, allocations: 53.45 MB / 425.1 MB, free: 39.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.002855/0.2674, allocations: 1.859 MB / 426.9 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002728/0.2702, allocations: 1.957 MB / 428.9 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.2704, allocations: 6.688 kB / 428.9 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002945/0.2707, allocations: 111.6 kB / 429 MB, free: 38.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.271, allocations: 114 kB / 429.1 MB, free: 38.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.2725, allocations: 0.9082 MB / 430 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009592/0.2735, allocations: 1.425 MB / 431.5 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.2737, allocations: 167.2 kB / 431.6 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003668/0.2741, allocations: 0.5339 MB / 432.2 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003482/0.2745, allocations: 339.2 kB / 432.5 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.2746, allocations: 89.88 kB / 432.6 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000551/0.2751, allocations: 0.507 MB / 433.1 MB, free: 36.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.2753, allocations: 146.1 kB / 433.2 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002947/0.2756, allocations: 394 kB / 433.6 MB, free: 36.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008262/0.2764, allocations: 1.138 MB / 434.7 MB, free: 35.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2764, allocations: 0 / 434.7 MB, free: 35.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2764, allocations: 0 / 434.7 MB, free: 35.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.2765, allocations: 3.938 kB / 434.8 MB, free: 35.58 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001334/0.2778, allocations: 1.278 MB / 436 MB, free: 34.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2778, allocations: 16.33 kB / 436 MB, free: 34.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002838/0.2781, allocations: 89.81 kB / 436.1 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.2786, allocations: 434.4 kB / 436.6 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.004e-05/0.2787, allocations: 82.84 kB / 436.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.2788, allocations: 80.64 kB / 436.7 MB, free: 34.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.2803, allocations: 1.323 MB / 438 MB, free: 33.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.2804, allocations: 0 / 438 MB, free: 33.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.312e-05/0.2805, allocations: 37.14 kB / 438.1 MB, free: 33.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.855e-05/0.2806, allocations: 53.48 kB / 438.1 MB, free: 33.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.2817, allocations: 0.8808 MB / 439 MB, free: 33.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002723/0.2844, allocations: 3.324 MB / 442.3 MB, free: 30.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.2856, allocations: 1.523 MB / 443.9 MB, free: 29.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009575/0.2866, allocations: 1.357 MB / 445.2 MB, free: 28.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.126e-05/0.2867, allocations: 84.66 kB / 445.3 MB, free: 28.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.2877, allocations: 0.8976 MB / 446.2 MB, free: 28.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.264e-06/0.2877, allocations: 0 / 446.2 MB, free: 28.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.003047/0.2908, allocations: 2.521 MB / 448.7 MB, free: 27.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002129/0.291, allocations: 0.5638 MB / 449.3 MB, free: 26.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/0.2914, allocations: 422.1 kB / 449.7 MB, free: 26.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.565e-05/0.2915, allocations: 67.05 kB / 449.8 MB, free: 26.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.2916, allocations: 261.5 kB / 450 MB, free: 26.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.2918, allocations: 180 kB / 450.2 MB, free: 26.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002365/0.292, allocations: 234.9 kB / 450.4 MB, free: 26.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.219e-05/0.2921, allocations: 373.9 kB / 450.8 MB, free: 25.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005288/0.2926, allocations: 439.5 kB / 451.2 MB, free: 25.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006528/0.2933, allocations: 0.7871 MB / 452 MB, free: 24.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/0.2954, allocations: 2.512 MB / 454.5 MB, free: 23.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/0.2954, allocations: 3.281 kB / 454.5 MB, free: 23.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001972/0.2974, allocations: 1.804 MB / 456.3 MB, free: 22.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000127/0.2976, allocations: 334.7 kB / 456.6 MB, free: 21.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.2976, allocations: 16.62 kB / 456.7 MB, free: 21.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.2976, allocations: 15.81 kB / 456.7 MB, free: 21.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.2979, allocations: 122.2 kB / 456.8 MB, free: 21.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.049e-05/0.298, allocations: 22.97 kB / 456.8 MB, free: 21.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/0.2984, allocations: 132.4 kB / 456.9 MB, free: 21.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.645e-05/0.2985, allocations: 58.47 kB / 457 MB, free: 21.74 MB / 350.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer T1.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 125 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.firingTime,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 119 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008911/0.2994, allocations: 0.7537 MB / 457.8 MB, free: 21.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.2996, allocations: 76.64 kB / 457.8 MB, free: 21.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002609/0.3022, allocations: 1.952 MB / 459.8 MB, free: 20.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/0.3022, allocations: 4.375 kB / 459.8 MB, free: 20.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3022, allocations: 0.9688 kB / 459.8 MB, free: 20.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.3023, allocations: 2.266 kB / 459.8 MB, free: 20.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003361/0.3056, allocations: 2.738 MB / 462.5 MB, free: 18.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3056, allocations: 0 / 462.5 MB, free: 18.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.3058, allocations: 25.34 kB / 462.6 MB, free: 18.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.3058, allocations: 6.438 kB / 462.6 MB, free: 18.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.094e-05/0.3059, allocations: 39.34 kB / 462.6 MB, free: 18.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.3059, allocations: 6.5 kB / 462.6 MB, free: 18.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3059, allocations: 3.938 kB / 462.6 MB, free: 18.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/0.3087, allocations: 2.314 MB / 464.9 MB, free: 17.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.3088, allocations: 127.3 kB / 465 MB, free: 17.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/0.309, allocations: 78.83 kB / 465.1 MB, free: 17.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004641/0.3095, allocations: 74.72 kB / 465.2 MB, free: 17.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004747/0.3099, allocations: 326 kB / 465.5 MB, free: 17.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.774e-05/0.31, allocations: 46 kB / 465.6 MB, free: 17.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002369/0.3103, allocations: 249.6 kB / 465.8 MB, free: 17.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3103, allocations: 4 kB / 465.8 MB, free: 17.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001056/0.3114, allocations: 332.8 kB / 466.1 MB, free: 17.39 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 66 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.firingTime,T1.fireTime,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 51 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 22 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006707/0.312, allocations: 387.8 kB / 466.5 MB, free: 17.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002581/0.3146, allocations: 2.113 MB / 468.6 MB, free: 16.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3146, allocations: 0 / 468.6 MB, free: 16.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002063/0.3167, allocations: 3.061 MB / 471.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006102/0.3173, allocations: 107 kB / 471.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.3198, allocations: 1.538 MB / 473.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.3202, allocations: 0.9162 MB / 474.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003866/0.3206, allocations: 150.3 kB / 474.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.924e-05/0.3207, allocations: 48.52 kB / 474.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3207, allocations: 5.125 kB / 474.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Templates: time 0.01917/0.3399, allocations: 13.18 MB / 487.6 MB, free: 5.023 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTT.makefile (rm -f PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTT.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches