Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.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.00134/0.00134, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001527/0.001527, allocations: 169 kB / 23.02 MB, free: 1.543 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.9885/0.9885, allocations: 177.1 MB / 203.4 MB, free: 5.609 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.04706/0.04706, allocations: 12.66 MB / 272.6 MB, free: 480 kB / 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.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") translateModel(PNlib.Examples.DisTest.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 346.5 MB, free: 1.914 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441e-05/1.573e-05, allocations: 4.984 kB / 346.5 MB, free: 1.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.001782/0.001798, allocations: 1.785 MB / 348.3 MB, free: 116 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002526/0.004324, allocations: 1.878 MB / 350.1 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.004474, allocations: 11.94 kB / 350.2 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.004812, allocations: 119 kB / 350.3 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.005128, allocations: 135 kB / 350.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.006328, allocations: 0.9508 MB / 351.4 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009458/0.007273, allocations: 1.346 MB / 352.7 MB, free: 11.67 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.007412, allocations: 57.97 kB / 352.8 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005398/0.007952, allocations: 0.7487 MB / 353.5 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005441/0.008496, allocations: 283.1 kB / 353.8 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.037e-05/0.008566, allocations: 72 kB / 353.9 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005175/0.009084, allocations: 0.6004 MB / 354.5 MB, free: 9.914 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.009207, allocations: 139.3 kB / 354.6 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.00939, allocations: 239.4 kB / 354.8 MB, free: 9.543 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000744/0.01013, allocations: 0.966 MB / 355.8 MB, free: 8.574 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.01014, allocations: 4 kB / 355.8 MB, free: 8.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.01014, allocations: 0 / 355.8 MB, free: 8.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.01014, allocations: 3.938 kB / 355.8 MB, free: 8.566 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.001028/0.01117, allocations: 1.236 MB / 357 MB, free: 7.227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.0112, allocations: 12.03 kB / 357 MB, free: 7.215 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.01143, allocations: 140.5 kB / 357.2 MB, free: 7.078 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.01179, allocations: 339.6 kB / 357.5 MB, free: 6.719 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.079e-05/0.01187, allocations: 105 kB / 357.6 MB, free: 6.605 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.744e-05/0.01193, allocations: 83.91 kB / 357.7 MB, free: 6.523 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.01303, allocations: 1.354 MB / 359.1 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.01304, allocations: 0 / 359.1 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.816e-05/0.01309, allocations: 31.98 kB / 359.1 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.783e-05/0.01315, allocations: 48.97 kB / 359.1 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007151/0.01386, allocations: 0.8081 MB / 359.9 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002249/0.01611, allocations: 3.387 MB / 363.3 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006516/0.01676, allocations: 0.7579 MB / 364.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000513/0.01728, allocations: 0.6855 MB / 364.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.01731, allocations: 12 kB / 364.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007762/0.01809, allocations: 1.021 MB / 365.8 MB, free: 13.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=75): time 2.254e-06/0.01809, allocations: 3.984 kB / 365.8 MB, free: 13.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.00237/0.02046, allocations: 2.602 MB / 368.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001914/0.02065, allocations: 0.5074 MB / 368.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.02088, allocations: 395.8 kB / 369.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.02093, allocations: 61.69 kB / 369.4 MB, free: 10.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.02105, allocations: 283.9 kB / 369.6 MB, free: 9.727 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.02117, allocations: 194.6 kB / 369.8 MB, free: 9.535 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.02135, allocations: 228.2 kB / 370.1 MB, free: 9.305 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.02149, allocations: 0.543 MB / 370.6 MB, free: 8.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.02178, allocations: 459.2 kB / 371 MB, free: 8.238 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004969/0.02228, allocations: 0.9965 MB / 372 MB, free: 6.957 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009479/0.02323, allocations: 1.574 MB / 373.6 MB, free: 5.047 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.02323, allocations: 4 kB / 373.6 MB, free: 5.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001359/0.02459, allocations: 1.488 MB / 375.1 MB, free: 3.426 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.02471, allocations: 309 kB / 375.4 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.02472, allocations: 11.98 kB / 375.4 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.02474, allocations: 16 kB / 375.4 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.02502, allocations: 151.8 kB / 375.6 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.02504, allocations: 23.92 kB / 375.6 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.02522, allocations: 99.77 kB / 375.7 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.02527, allocations: 56 kB / 375.8 MB, free: 2.711 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: 46 * Number of states: 0 () * Number of discrete variables: 118 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004236/0.0257, allocations: 0.6755 MB / 376.4 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.0258, allocations: 107.7 kB / 376.5 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.02768, allocations: 1.71 MB / 378.2 MB, free: 88 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.02769, allocations: 4 kB / 378.3 MB, free: 84 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.02769, allocations: 0 / 378.3 MB, free: 84 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.0277, allocations: 3.984 kB / 378.3 MB, free: 80 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002701/0.0304, allocations: 2.462 MB / 380.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.0304, allocations: 0 / 380.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.783e-05/0.0305, allocations: 31.92 kB / 380.8 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.0305, allocations: 0 / 380.8 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.571e-05/0.03057, allocations: 39.97 kB / 380.8 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.03057, allocations: 4 kB / 380.8 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.03057, allocations: 4 kB / 380.8 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/0.03313, allocations: 2.306 MB / 383.1 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.03317, allocations: 51.52 kB / 383.2 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.03331, allocations: 67.98 kB / 383.2 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.03354, allocations: 51.97 kB / 383.3 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.0337, allocations: 87.77 kB / 383.4 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.905e-05/0.03377, allocations: 39.98 kB / 383.4 MB, free: 10.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001304/0.0339, allocations: 213.1 kB / 383.6 MB, free: 10.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0339, allocations: 4 kB / 383.6 MB, free: 10.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007513/0.03465, allocations: 311.5 kB / 383.9 MB, free: 10.2 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: 67 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.arcWeight[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006811/0.03533, allocations: 399.8 kB / 384.3 MB, free: 9.824 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.03703, allocations: 2.008 MB / 386.3 MB, free: 7.578 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.03703, allocations: 0 / 386.3 MB, free: 7.578 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.0381, allocations: 1.322 MB / 387.6 MB, free: 6.105 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.03854, allocations: 104.3 kB / 387.7 MB, free: 6.004 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.04077, allocations: 1.65 MB / 389.4 MB, free: 4.266 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.04088, allocations: 151.9 kB / 389.5 MB, free: 4.098 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002163/0.0411, allocations: 117.5 kB / 389.6 MB, free: 3.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.655e-05/0.04118, allocations: 36.5 kB / 389.7 MB, free: 3.941 MB / 314.7 MB Notification: Performance of SimCode: time 7.72e-07/0.04118, allocations: 7.938 kB / 389.7 MB, free: 3.934 MB / 314.7 MB Notification: Performance of Templates: time 0.01579/0.05696, allocations: 11.89 MB / 401.6 MB, free: 8.059 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.sim & ./PNlib_PNlib.Examples.DisTest.TDtoPDfunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.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.1995048290118575]