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.0009442/0.0009442, 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.0009209/0.0009209, allocations: 169 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.9946/0.9946, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.05034/0.05034, allocations: 12.66 MB / 272.9 MB, free: 0.5508 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.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 2.325e-06/2.325e-06, allocations: 0 / 346.5 MB, free: 2.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/3.024e-05, allocations: 2.312 kB / 346.5 MB, free: 2.246 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.002159/0.002189, allocations: 1.8 MB / 348.3 MB, free: 448 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002502/0.004691, allocations: 1.878 MB / 350.2 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002665/0.004958, allocations: 7.938 kB / 350.2 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000364/0.005322, allocations: 115 kB / 350.3 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003417/0.005663, allocations: 139.1 kB / 350.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.007223, allocations: 0.9469 MB / 351.4 MB, free: 13.35 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001031/0.008254, allocations: 1.346 MB / 352.7 MB, free: 12 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.008405, allocations: 56.41 kB / 352.8 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005898/0.008995, allocations: 0.7487 MB / 353.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003845/0.00938, allocations: 283.1 kB / 353.8 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.643e-05/0.009456, allocations: 72 kB / 353.9 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006519/0.01011, allocations: 0.5965 MB / 354.5 MB, free: 10.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.01026, allocations: 147.3 kB / 354.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.01046, allocations: 235.4 kB / 354.8 MB, free: 9.875 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000937/0.0114, allocations: 0.9621 MB / 355.8 MB, free: 8.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.0114, allocations: 0 / 355.8 MB, free: 8.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.01141, allocations: 0 / 355.8 MB, free: 8.91 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.01141, allocations: 4 kB / 355.8 MB, free: 8.906 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.001207/0.01262, allocations: 1.243 MB / 357.1 MB, free: 7.559 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.01266, allocations: 12.03 kB / 357.1 MB, free: 7.547 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000279/0.01294, allocations: 144.5 kB / 357.2 MB, free: 7.406 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.01331, allocations: 331.6 kB / 357.5 MB, free: 7.055 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-05/0.0134, allocations: 105 kB / 357.6 MB, free: 6.941 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.926e-05/0.01347, allocations: 79.91 kB / 357.7 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.01465, allocations: 1.35 MB / 359.1 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.01466, allocations: 4 kB / 359.1 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.957e-05/0.01471, allocations: 35.98 kB / 359.1 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.983e-05/0.01477, allocations: 48.97 kB / 359.1 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000723/0.0155, allocations: 0.8076 MB / 360 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/0.01776, allocations: 3.387 MB / 363.3 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006756/0.01843, allocations: 0.7618 MB / 364.1 MB, free: 52 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005253/0.01896, allocations: 0.6856 MB / 364.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.121e-05/0.01901, allocations: 8 kB / 364.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007916/0.0198, allocations: 1.025 MB / 365.8 MB, free: 14.17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=75): time 1.894e-06/0.0198, allocations: 4 kB / 365.8 MB, free: 14.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.002229/0.02203, allocations: 2.596 MB / 368.4 MB, free: 11.42 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002011/0.02223, allocations: 0.5035 MB / 368.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004365/0.02267, allocations: 399.8 kB / 369.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.519e-05/0.02273, allocations: 61.69 kB / 369.4 MB, free: 10.35 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.02288, allocations: 287.9 kB / 369.7 MB, free: 10.06 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.02301, allocations: 190.6 kB / 369.8 MB, free: 9.875 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.02321, allocations: 228.2 kB / 370.1 MB, free: 9.645 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.02336, allocations: 0.5391 MB / 370.6 MB, free: 9.094 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.02367, allocations: 459.2 kB / 371.1 MB, free: 8.582 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005283/0.0242, allocations: 0.9965 MB / 372 MB, free: 7.301 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.02524, allocations: 1.578 MB / 373.6 MB, free: 5.387 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.02525, allocations: 4 kB / 373.6 MB, free: 5.383 MB / 298.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001238/0.02649, allocations: 1.485 MB / 375.1 MB, free: 3.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.02662, allocations: 317 kB / 375.4 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.02663, allocations: 8 kB / 375.4 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.02665, allocations: 16 kB / 375.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/0.02698, allocations: 151.8 kB / 375.6 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.027, allocations: 27.86 kB / 375.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.02723, allocations: 95.64 kB / 375.7 MB, free: 3.105 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/0.02743, allocations: 52 kB / 375.8 MB, free: 3.055 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.0005805/0.02801, allocations: 0.6735 MB / 376.4 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.02814, allocations: 111.7 kB / 376.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.02971, allocations: 1.71 MB / 378.3 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.02971, allocations: 4 kB / 378.3 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.02972, allocations: 4 kB / 378.3 MB, free: 424 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.02972, allocations: 3.984 kB / 378.3 MB, free: 420 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.03202, allocations: 2.466 MB / 380.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.03202, allocations: 4 kB / 380.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.471e-05/0.03212, allocations: 27.92 kB / 380.8 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.03212, allocations: 0 / 380.8 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/0.03217, allocations: 35.98 kB / 380.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-06/0.03217, allocations: 0 / 380.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.03218, allocations: 8 kB / 380.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.03418, allocations: 2.309 MB / 383.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.03422, allocations: 47.59 kB / 383.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.03434, allocations: 67.98 kB / 383.2 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.03453, allocations: 55.89 kB / 383.3 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.03468, allocations: 83.78 kB / 383.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.528e-05/0.03474, allocations: 39.98 kB / 383.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001179/0.03485, allocations: 209.1 kB / 383.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.03485, allocations: 0 / 383.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007554/0.03561, allocations: 311.5 kB / 383.9 MB, free: 10.54 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.0006156/0.03623, allocations: 407.7 kB / 384.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.0377, allocations: 2.005 MB / 386.3 MB, free: 7.918 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.0377, allocations: 0 / 386.3 MB, free: 7.918 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008992/0.0386, allocations: 1.326 MB / 387.6 MB, free: 6.441 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.03897, allocations: 100.4 kB / 387.7 MB, free: 6.344 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.041, allocations: 1.646 MB / 389.4 MB, free: 4.609 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.872e-05/0.0411, allocations: 155.9 kB / 389.5 MB, free: 4.438 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001866/0.04128, allocations: 112.6 kB / 389.7 MB, free: 4.324 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.0415, allocations: 40.5 kB / 389.7 MB, free: 4.281 MB / 314.7 MB Notification: Performance of SimCode: time 1.222e-06/0.0415, allocations: 0 / 389.7 MB, free: 4.281 MB / 314.7 MB Notification: Performance of Templates: time 0.01265/0.05416, allocations: 11.1 MB / 400.8 MB, free: 9.188 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.27983214892447]