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.00101/0.00101, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001035/0.001035, allocations: 173.7 kB / 23.27 MB, free: 1.223 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 1.023/1.023, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.05259/0.05259, allocations: 12.66 MB / 272.9 MB, free: 356 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.543e-06/1.543e-06, allocations: 0 / 346.9 MB, free: 1.645 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.353e-05, allocations: 4.703 kB / 346.9 MB, free: 1.641 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.002042/0.002075, allocations: 1.742 MB / 348.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.004604, allocations: 1.862 MB / 350.5 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.004778, allocations: 7.938 kB / 350.5 MB, free: 14.01 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.005017, allocations: 119.1 kB / 350.7 MB, free: 13.89 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.005282, allocations: 131 kB / 350.8 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.006356, allocations: 0.9547 MB / 351.7 MB, free: 12.81 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008832/0.007239, allocations: 1.342 MB / 353.1 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.007356, allocations: 56.41 kB / 353.1 MB, free: 11.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000528/0.007884, allocations: 0.7565 MB / 353.9 MB, free: 10.65 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.008156, allocations: 283.1 kB / 354.2 MB, free: 10.38 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.169e-05/0.008228, allocations: 76 kB / 354.2 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005261/0.008754, allocations: 0.5926 MB / 354.8 MB, free: 9.707 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.008867, allocations: 143.3 kB / 355 MB, free: 9.566 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.009048, allocations: 235.4 kB / 355.2 MB, free: 9.336 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007269/0.009775, allocations: 0.966 MB / 356.2 MB, free: 8.367 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.009779, allocations: 3.984 kB / 356.2 MB, free: 8.363 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00978, allocations: 0 / 356.2 MB, free: 8.363 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.009784, allocations: 0 / 356.2 MB, free: 8.363 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.0009149/0.0107, allocations: 1.247 MB / 357.4 MB, free: 7.012 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.01073, allocations: 12.03 kB / 357.4 MB, free: 7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002119/0.01095, allocations: 140.5 kB / 357.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.01122, allocations: 319.6 kB / 357.9 MB, free: 6.523 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-05/0.01129, allocations: 105 kB / 358 MB, free: 6.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/0.01135, allocations: 75.92 kB / 358.1 MB, free: 6.336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008654/0.01222, allocations: 1.202 MB / 359.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.01223, allocations: 7.938 kB / 359.3 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-05/0.01231, allocations: 31.98 kB / 359.3 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.732e-05/0.01235, allocations: 48.95 kB / 359.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000476/0.01283, allocations: 0.6569 MB / 360 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.01485, allocations: 3.259 MB / 363.3 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004731/0.01532, allocations: 0.6472 MB / 363.9 MB, free: 80 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/0.01568, allocations: 0.5488 MB / 364.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.01572, allocations: 11.98 kB / 364.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006054/0.01632, allocations: 0.9042 MB / 365.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=75): time 1.263e-06/0.01632, allocations: 0 / 365.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.005916/0.02224, allocations: 2.256 MB / 367.6 MB, free: 12.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002892/0.02253, allocations: 0.5035 MB / 368.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004362/0.02297, allocations: 391.6 kB / 368.5 MB, free: 11.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.02307, allocations: 69.69 kB / 368.6 MB, free: 10.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.0233, allocations: 283.9 kB / 368.9 MB, free: 10.69 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/0.02353, allocations: 198.6 kB / 369.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003567/0.02389, allocations: 236.1 kB / 369.3 MB, free: 10.26 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002413/0.02413, allocations: 0.5468 MB / 369.8 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/0.02454, allocations: 403.2 kB / 370.2 MB, free: 9.242 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007424/0.02529, allocations: 0.9534 MB / 371.2 MB, free: 8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.02675, allocations: 1.508 MB / 372.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-05/0.02677, allocations: 4 kB / 372.7 MB, free: 6.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001763/0.02853, allocations: 1.383 MB / 374.1 MB, free: 4.641 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001871/0.02872, allocations: 309 kB / 374.4 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/0.02874, allocations: 12.12 kB / 374.4 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.368e-05/0.02877, allocations: 16 kB / 374.4 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004527/0.02922, allocations: 159.7 kB / 374.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-05/0.02925, allocations: 19.94 kB / 374.6 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004101/0.02966, allocations: 99.39 kB / 374.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.371e-05/0.02973, allocations: 43.98 kB / 374.7 MB, free: 3.934 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,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],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.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) * 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.0007579/0.03049, allocations: 0.6725 MB / 375.4 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.03067, allocations: 111.7 kB / 375.5 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.03233, allocations: 1.499 MB / 377 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.03234, allocations: 7.984 kB / 377 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.03234, allocations: 0 / 377 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.03235, allocations: 3.984 kB / 377 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002919/0.03527, allocations: 2.158 MB / 379.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.03527, allocations: 4 kB / 379.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.0354, allocations: 27.92 kB / 379.2 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.03541, allocations: 0 / 379.2 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.256e-05/0.03548, allocations: 39.97 kB / 379.2 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.03549, allocations: 0 / 379.2 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.03549, allocations: 4 kB / 379.2 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.03759, allocations: 2.075 MB / 381.3 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.257e-05/0.03765, allocations: 47.59 kB / 381.4 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.03779, allocations: 71.91 kB / 381.4 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.03805, allocations: 55.97 kB / 381.5 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.0382, allocations: 79.78 kB / 381.6 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.747e-05/0.03828, allocations: 43.97 kB / 381.6 MB, free: 12.69 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001219/0.0384, allocations: 201.1 kB / 381.8 MB, free: 12.49 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0384, allocations: 0 / 381.8 MB, free: 12.49 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00108/0.03948, allocations: 315.5 kB / 382.1 MB, free: 12.18 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.000774/0.04025, allocations: 407.5 kB / 382.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001681/0.04193, allocations: 1.817 MB / 384.3 MB, free: 9.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.04194, allocations: 0 / 384.3 MB, free: 9.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008922/0.04283, allocations: 1.19 MB / 385.5 MB, free: 8.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.04327, allocations: 106.8 kB / 385.6 MB, free: 8.309 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.04537, allocations: 1.553 MB / 387.2 MB, free: 6.668 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.04551, allocations: 147.9 kB / 387.3 MB, free: 6.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000224/0.04573, allocations: 76.66 kB / 387.4 MB, free: 6.422 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006869/0.04642, allocations: 302.1 kB / 387.7 MB, free: 6.125 MB / 314.7 MB Notification: Performance of SimCode: time 1.522e-06/0.04642, allocations: 0 / 387.7 MB, free: 6.125 MB / 314.7 MB Notification: Performance of Templates: time 0.01887/0.06529, allocations: 12.11 MB / 399.8 MB, free: 10.07 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.3244748460128903]