Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.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.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") translateModel(PNlib.Examples.DisTest.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 108 kB / 15.61 MB, free: 152 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.001323/0.001324, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1708/0.1708, allocations: 16.74 MB / 307.1 MB, free: 14.92 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 71.89 kB / 371.6 MB, free: 3.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2476, allocations: 53.45 MB / 425.1 MB, free: 39.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.002532/0.2502, allocations: 1.858 MB / 426.9 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002559/0.2528, allocations: 1.909 MB / 428.8 MB, free: 38.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002101/0.253, allocations: 7.219 kB / 428.9 MB, free: 38.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000296/0.2533, allocations: 118 kB / 429 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.2536, allocations: 115.6 kB / 429.1 MB, free: 38.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.255, allocations: 0.9055 MB / 430 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009847/0.256, allocations: 1.418 MB / 431.4 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.2562, allocations: 164.7 kB / 431.6 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003825/0.2566, allocations: 0.5288 MB / 432.1 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/0.2569, allocations: 349.7 kB / 432.4 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.2571, allocations: 92.41 kB / 432.5 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005908/0.2577, allocations: 0.4973 MB / 433 MB, free: 36.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.2578, allocations: 150.6 kB / 433.2 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002917/0.2581, allocations: 395 kB / 433.6 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008694/0.259, allocations: 1.14 MB / 434.7 MB, free: 35.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.259, allocations: 0 / 434.7 MB, free: 35.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.259, allocations: 0 / 434.7 MB, free: 35.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.259, allocations: 0 / 434.7 MB, free: 35.82 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001274/0.2603, allocations: 1.275 MB / 436 MB, free: 34.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.2603, allocations: 17.02 kB / 436 MB, free: 34.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002784/0.2606, allocations: 94.73 kB / 436.1 MB, free: 34.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.2611, allocations: 436.8 kB / 436.5 MB, free: 34.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.471e-05/0.2611, allocations: 85.33 kB / 436.6 MB, free: 34.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-05/0.2612, allocations: 76.3 kB / 436.7 MB, free: 34.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.2627, allocations: 1.322 MB / 438 MB, free: 33.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.2627, allocations: 6.5 kB / 438 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.263e-05/0.2628, allocations: 39.7 kB / 438 MB, free: 33.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.858e-05/0.2629, allocations: 54.09 kB / 438.1 MB, free: 33.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.2641, allocations: 0.896 MB / 439 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002706/0.2668, allocations: 3.33 MB / 442.3 MB, free: 30.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.2681, allocations: 1.459 MB / 443.8 MB, free: 30.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009789/0.2691, allocations: 1.357 MB / 445.1 MB, free: 29.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.623e-05/0.2691, allocations: 83.67 kB / 445.2 MB, free: 29.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/0.2702, allocations: 0.8958 MB / 446.1 MB, free: 28.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.384e-06/0.2702, allocations: 0 / 446.1 MB, free: 28.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.002958/0.2732, allocations: 2.535 MB / 448.6 MB, free: 27.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001942/0.2734, allocations: 0.5574 MB / 449.2 MB, free: 27.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003694/0.2738, allocations: 424.6 kB / 449.6 MB, free: 26.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.089e-05/0.2739, allocations: 66.94 kB / 449.7 MB, free: 26.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.274, allocations: 271 kB / 449.9 MB, free: 26.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.2741, allocations: 190.6 kB / 450.1 MB, free: 26.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/0.2744, allocations: 236.8 kB / 450.4 MB, free: 26.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.419e-05/0.2745, allocations: 375.3 kB / 450.7 MB, free: 26.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005267/0.275, allocations: 443.4 kB / 451.2 MB, free: 25.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006567/0.2757, allocations: 0.8148 MB / 452 MB, free: 25.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002085/0.2778, allocations: 2.539 MB / 454.5 MB, free: 23.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.2778, allocations: 2.875 kB / 454.5 MB, free: 23.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001983/0.2798, allocations: 1.823 MB / 456.3 MB, free: 22.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.2799, allocations: 340.5 kB / 456.7 MB, free: 22.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.2799, allocations: 11.94 kB / 456.7 MB, free: 22.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.252e-05/0.28, allocations: 17.97 kB / 456.7 MB, free: 22.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.2803, allocations: 127 kB / 456.8 MB, free: 22.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.962e-05/0.2803, allocations: 23.38 kB / 456.8 MB, free: 22.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004682/0.2808, allocations: 138.4 kB / 457 MB, free: 21.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.452e-05/0.2809, allocations: 66.23 kB / 457 MB, free: 21.98 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: 52 * Number of states: 0 () * Number of discrete variables: 128 ($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,T1.inPlaces[1].tokenInOut,$PRE.P1.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.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,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 (135): * Single equations (assignments): 124 * 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.0007755/0.2817, allocations: 0.7462 MB / 457.8 MB, free: 21.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.2818, allocations: 80.56 kB / 457.9 MB, free: 21.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/0.2843, allocations: 1.95 MB / 459.8 MB, free: 20.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.2843, allocations: 4.594 kB / 459.8 MB, free: 20.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.2843, allocations: 4.391 kB / 459.8 MB, free: 20.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.2843, allocations: 0 / 459.8 MB, free: 20.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003618/0.2879, allocations: 2.977 MB / 462.8 MB, free: 19.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.288, allocations: 1.859 kB / 462.8 MB, free: 19.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.2881, allocations: 24.47 kB / 462.8 MB, free: 19.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.2881, allocations: 3.391 kB / 462.8 MB, free: 19.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.739e-05/0.2882, allocations: 45.95 kB / 462.9 MB, free: 19.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.2882, allocations: 6.375 kB / 462.9 MB, free: 19.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.2882, allocations: 5.453 kB / 462.9 MB, free: 19.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003059/0.2913, allocations: 2.321 MB / 465.2 MB, free: 17.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.522e-05/0.2914, allocations: 125.9 kB / 465.3 MB, free: 17.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/0.2916, allocations: 76.72 kB / 465.4 MB, free: 17.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004728/0.2921, allocations: 81.08 kB / 465.5 MB, free: 17.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005201/0.2926, allocations: 323.3 kB / 465.8 MB, free: 17.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.2927, allocations: 45.05 kB / 465.8 MB, free: 17.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003002/0.293, allocations: 248 kB / 466.1 MB, free: 17.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.293, allocations: 0 / 466.1 MB, free: 17.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001126/0.2942, allocations: 339.7 kB / 466.4 MB, free: 17.51 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: 68 ($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,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,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.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,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 (37): * Single equations (assignments): 24 * 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.0007471/0.2949, allocations: 381 kB / 466.8 MB, free: 17.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00277/0.2977, allocations: 2.147 MB / 468.9 MB, free: 16.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.2977, allocations: 4.062 kB / 468.9 MB, free: 16.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002147/0.2999, allocations: 3.055 MB / 472 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006294/0.3005, allocations: 109.2 kB / 472.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.3032, allocations: 1.537 MB / 473.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.3036, allocations: 0.9143 MB / 474.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004062/0.304, allocations: 140.2 kB / 474.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.3041, allocations: 52.28 kB / 474.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3042, allocations: 0 / 474.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of Templates: time 0.02185/0.326, allocations: 13.27 MB / 488 MB, free: 4.629 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTD.makefile (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches