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.0008837/0.0008837, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001914/0.001914, allocations: 181 kB / 23.36 MB, free: 1.133 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.9358/0.9358, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.0497/0.0497, allocations: 12.66 MB / 272.9 MB, free: 408 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.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 1.723e-06/1.723e-06, allocations: 0.9375 kB / 293.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.362e-05/1.534e-05, allocations: 3.516 kB / 293.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.002011/0.002027, allocations: 1.752 MB / 295.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002463/0.004489, allocations: 1.892 MB / 297.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.004721, allocations: 9.406 kB / 297.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.005001, allocations: 115.7 kB / 297.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.005313, allocations: 137.8 kB / 297.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.00691, allocations: 0.9596 MB / 298.5 MB, free: 9.641 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.008161, allocations: 1.344 MB / 299.9 MB, free: 9.008 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.00831, allocations: 67.23 kB / 299.9 MB, free: 8.973 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007101/0.00902, allocations: 0.7498 MB / 300.7 MB, free: 8.605 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003637/0.009384, allocations: 283.6 kB / 300.9 MB, free: 8.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.671e-05/0.009471, allocations: 72.16 kB / 301 MB, free: 8.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007212/0.01019, allocations: 0.5994 MB / 301.6 MB, free: 8.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.01031, allocations: 144.7 kB / 301.8 MB, free: 8.168 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.01049, allocations: 232 kB / 302 MB, free: 8.031 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008834/0.01137, allocations: 0.9695 MB / 303 MB, free: 7.352 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.01138, allocations: 0.5312 kB / 303 MB, free: 7.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01138, allocations: 0.8125 kB / 303 MB, free: 7.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.01139, allocations: 1.375 kB / 303 MB, free: 7.352 MB / 266.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.000934/0.01232, allocations: 1.119 MB / 304.1 MB, free: 6.371 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/0.01235, allocations: 10.34 kB / 304.1 MB, free: 6.371 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002319/0.01258, allocations: 129.5 kB / 304.2 MB, free: 6.332 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.01285, allocations: 260.6 kB / 304.5 MB, free: 6.113 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.507e-05/0.01292, allocations: 110 kB / 304.6 MB, free: 6.027 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.034e-05/0.01299, allocations: 72.89 kB / 304.6 MB, free: 6.008 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007303/0.01372, allocations: 1.162 MB / 305.8 MB, free: 5.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.01373, allocations: 0.7188 kB / 305.8 MB, free: 5.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.183e-05/0.01377, allocations: 32.45 kB / 305.8 MB, free: 5.074 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-05/0.01382, allocations: 43.62 kB / 305.9 MB, free: 5.059 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004521/0.01427, allocations: 0.6553 MB / 306.5 MB, free: 4.656 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.01558, allocations: 2.252 MB / 308.8 MB, free: 2.578 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.01593, allocations: 0.691 MB / 309.5 MB, free: 1.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.01619, allocations: 0.5266 MB / 310 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.01622, allocations: 8.234 kB / 310 MB, free: 1.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004161/0.01663, allocations: 0.8754 MB / 310.9 MB, free: 268 kB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 1.914e-06/0.01664, allocations: 0 / 310.9 MB, free: 268 kB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.001121/0.01776, allocations: 1.698 MB / 312.6 MB, free: 14.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001873/0.01794, allocations: 0.5403 MB / 313.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.01812, allocations: 314.5 kB / 313.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.01817, allocations: 65.69 kB / 313.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.01828, allocations: 233 kB / 313.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.01838, allocations: 194.5 kB / 313.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.01854, allocations: 210.4 kB / 314.1 MB, free: 12.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.592e-05/0.01863, allocations: 374.6 kB / 314.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.01884, allocations: 406.1 kB / 314.9 MB, free: 11.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.01922, allocations: 0.8441 MB / 315.7 MB, free: 10.83 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007758/0.02, allocations: 1.413 MB / 317.1 MB, free: 9.137 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.02, allocations: 0 / 317.1 MB, free: 9.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.0007673/0.02077, allocations: 1.166 MB / 318.3 MB, free: 7.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.02089, allocations: 313 kB / 318.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.0209, allocations: 12 kB / 318.6 MB, free: 7.461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.02092, allocations: 20.75 kB / 318.6 MB, free: 7.441 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.02119, allocations: 155.7 kB / 318.8 MB, free: 7.289 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.0212, allocations: 27.92 kB / 318.8 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.0214, allocations: 99.39 kB / 318.9 MB, free: 7.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.02145, allocations: 40 kB / 319 MB, free: 7.125 MB / 282.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,P1.inTransition[1].emptied,P1.enableIn.disTransition[1],P1.reStart,P1.inTransition[1].disPlace,T1.outPlaces[1].disTransition,T1.firingCon,$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.activation.disPlaceOut[1],P1.enableIn.arcWeight[1],T1.enabledByInPlaces,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) * 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.0004203/0.02187, allocations: 0.6372 MB / 319.6 MB, free: 6.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.952e-05/0.02197, allocations: 107.9 kB / 319.7 MB, free: 6.324 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000692/0.02266, allocations: 0.936 MB / 320.6 MB, free: 5.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.02266, allocations: 4 kB / 320.6 MB, free: 5.316 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.02267, allocations: 3.984 kB / 320.6 MB, free: 5.312 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.02267, allocations: 4 kB / 320.7 MB, free: 5.309 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.02385, allocations: 1.458 MB / 322.1 MB, free: 3.762 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.02385, allocations: 0 / 322.1 MB, free: 3.762 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.134e-05/0.02391, allocations: 31.92 kB / 322.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.02391, allocations: 4 kB / 322.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-05/0.02396, allocations: 31.98 kB / 322.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.02397, allocations: 3.984 kB / 322.2 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.02397, allocations: 0 / 322.2 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009259/0.0249, allocations: 1.488 MB / 323.7 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.02493, allocations: 47.58 kB / 323.7 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.02504, allocations: 59.98 kB / 323.8 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.02521, allocations: 59.97 kB / 323.8 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.02533, allocations: 74.73 kB / 323.9 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.108e-05/0.02538, allocations: 43.97 kB / 323.9 MB, free: 1.809 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.365e-05/0.02544, allocations: 88.62 kB / 324 MB, free: 1.715 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02544, allocations: 0 / 324 MB, free: 1.715 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005626/0.026, allocations: 311.5 kB / 324.3 MB, free: 1.41 MB / 282.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.0005254/0.02653, allocations: 416.9 kB / 324.7 MB, free: 1.031 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.02754, allocations: 1.78 MB / 326.5 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.02755, allocations: 4 kB / 326.5 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006628/0.02821, allocations: 1.175 MB / 327.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.02847, allocations: 93.38 kB / 327.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.02986, allocations: 1.504 MB / 329.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.378e-05/0.02996, allocations: 151.7 kB / 329.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.03008, allocations: 60.34 kB / 329.5 MB, free: 11.78 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004006/0.03048, allocations: 275.3 kB / 329.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.03048, allocations: 0 / 329.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of Templates: time 0.01267/0.04315, allocations: 11.97 MB / 341.7 MB, free: 15.62 MB / 314.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: 2.9677794128656387]