Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9764/0.9764, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.05031/0.05031, allocations: 12.65 MB / 272.9 MB, free: 0.5664 MB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.DisTest.TDtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPD") translateModel(PNlib.Examples.DisTest.TDtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 346.5 MB, free: 2.266 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/3.018e-05, allocations: 2.312 kB / 346.5 MB, free: 2.262 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.002225/0.002255, allocations: 1.792 MB / 348.3 MB, free: 472 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002484/0.00474, allocations: 1.87 MB / 350.2 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.004958, allocations: 11.94 kB / 350.2 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.005273, allocations: 119 kB / 350.3 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.005609, allocations: 139 kB / 350.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.007003, allocations: 0.9469 MB / 351.4 MB, free: 13.37 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.008134, allocations: 1.342 MB / 352.7 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.008286, allocations: 60.41 kB / 352.8 MB, free: 11.97 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005866/0.008873, allocations: 0.7526 MB / 353.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003392/0.009212, allocations: 283.1 kB / 353.8 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.348e-05/0.009285, allocations: 72 kB / 353.9 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006015/0.009887, allocations: 0.5926 MB / 354.5 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.01002, allocations: 139.3 kB / 354.6 MB, free: 10.14 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.01023, allocations: 239.4 kB / 354.8 MB, free: 9.902 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009259/0.01115, allocations: 0.966 MB / 355.8 MB, free: 8.934 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.644e-06/0.01116, allocations: 0 / 355.8 MB, free: 8.934 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01116, allocations: 0 / 355.8 MB, free: 8.934 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.283e-05/0.01118, allocations: 7.938 kB / 355.8 MB, free: 8.926 MB / 282.7 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.001096/0.01228, allocations: 1.236 MB / 357 MB, free: 7.586 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.01231, allocations: 8.031 kB / 357 MB, free: 7.578 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002523/0.01256, allocations: 144.5 kB / 357.2 MB, free: 7.438 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.01291, allocations: 339.6 kB / 357.5 MB, free: 7.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.959e-05/0.01299, allocations: 104.9 kB / 357.6 MB, free: 6.965 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-05/0.01306, allocations: 71.94 kB / 357.7 MB, free: 6.895 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.01415, allocations: 1.358 MB / 359 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.01416, allocations: 0 / 359 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.01421, allocations: 35.98 kB / 359.1 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.624e-05/0.01427, allocations: 44.97 kB / 359.1 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007051/0.01498, allocations: 0.8037 MB / 359.9 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/0.01701, allocations: 3.38 MB / 363.3 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006397/0.01765, allocations: 0.7232 MB / 364 MB, free: 132 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005291/0.01818, allocations: 0.6547 MB / 364.7 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.975e-05/0.01822, allocations: 12.23 kB / 364.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007474/0.01897, allocations: 0.9796 MB / 365.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 1.452e-06/0.01897, allocations: 4 kB / 365.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.002059/0.02103, allocations: 2.533 MB / 368.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001987/0.02123, allocations: 0.5286 MB / 368.7 MB, free: 11.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.02146, allocations: 401.9 kB / 369.1 MB, free: 10.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/0.02151, allocations: 61.69 kB / 369.2 MB, free: 10.53 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.02164, allocations: 303.7 kB / 369.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.02175, allocations: 186.7 kB / 369.7 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.02192, allocations: 224.2 kB / 369.9 MB, free: 9.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.02206, allocations: 0.543 MB / 370.4 MB, free: 9.266 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.02236, allocations: 459.2 kB / 370.9 MB, free: 8.754 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005054/0.02286, allocations: 1.033 MB / 371.9 MB, free: 7.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009973/0.02386, allocations: 1.582 MB / 373.5 MB, free: 5.512 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.02386, allocations: 0 / 373.5 MB, free: 5.512 MB / 298.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001152/0.02502, allocations: 1.489 MB / 375 MB, free: 3.895 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.02514, allocations: 309 kB / 375.3 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.02516, allocations: 12 kB / 375.3 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.02518, allocations: 20.14 kB / 375.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.02546, allocations: 155.7 kB / 375.5 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.02548, allocations: 23.92 kB / 375.5 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.02569, allocations: 107.4 kB / 375.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/0.02574, allocations: 48 kB / 375.6 MB, free: 3.172 MB / 298.7 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: 47 * 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,P1.enableIn.arcWeight[1],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.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 (123): * Single equations (assignments): 113 * 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.0004765/0.02621, allocations: 0.6762 MB / 376.3 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.02633, allocations: 107.7 kB / 376.4 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.02782, allocations: 1.656 MB / 378.1 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.02782, allocations: 8 kB / 378.1 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.02783, allocations: 0 / 378.1 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.02783, allocations: 3.984 kB / 378.1 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.02997, allocations: 2.402 MB / 380.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.02997, allocations: 4 kB / 380.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.796e-05/0.03004, allocations: 27.92 kB / 380.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.03004, allocations: 0 / 380.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.185e-05/0.03009, allocations: 35.98 kB / 380.6 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.0301, allocations: 4 kB / 380.6 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.0301, allocations: 0 / 380.6 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.03199, allocations: 2.254 MB / 382.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.03203, allocations: 43.58 kB / 382.9 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.03214, allocations: 67.98 kB / 382.9 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.03233, allocations: 55.89 kB / 383 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.03247, allocations: 79.84 kB / 383.1 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.372e-05/0.03252, allocations: 39.98 kB / 383.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001142/0.03264, allocations: 215 kB / 383.3 MB, free: 11.13 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03264, allocations: 0 / 383.3 MB, free: 11.13 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000637/0.03327, allocations: 315.5 kB / 383.6 MB, free: 10.82 MB / 314.7 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.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.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 (35): * Single equations (assignments): 23 * 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.0005834/0.03386, allocations: 406.8 kB / 384 MB, free: 10.44 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.03521, allocations: 1.979 MB / 386 MB, free: 8.234 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.03521, allocations: 8.125 kB / 386 MB, free: 8.227 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008565/0.03607, allocations: 1.295 MB / 387.3 MB, free: 6.781 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.0364, allocations: 93.44 kB / 387.4 MB, free: 6.691 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.0381, allocations: 1.592 MB / 389 MB, free: 5.008 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.364e-05/0.0382, allocations: 155.7 kB / 389.1 MB, free: 4.836 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.03837, allocations: 108.2 kB / 389.2 MB, free: 4.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.131e-05/0.03843, allocations: 36.5 kB / 389.3 MB, free: 4.695 MB / 314.7 MB Notification: Performance of SimCode: time 1.443e-06/0.03843, allocations: 0 / 389.3 MB, free: 4.695 MB / 314.7 MB Notification: Performance of Templates: time 0.01212/0.05055, allocations: 11.05 MB / 400.3 MB, free: 9.652 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.TDtoPD.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPD.sim & ./PNlib_PNlib.Examples.DisTest.TDtoPD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TDtoPD.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3130413840990514]