Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTT.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.001284/0.001284, allocations: 93.06 kB / 19.65 MB, free: 276 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.001137/0.001137, allocations: 169 kB / 23.02 MB, free: 1.551 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.9293/0.9293, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.04882/0.04882, allocations: 12.66 MB / 272.6 MB, free: 0.5078 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.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") translateModel(PNlib.Examples.DisTest.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 346.5 MB, free: 1.926 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.368e-05, allocations: 2.312 kB / 346.5 MB, free: 1.922 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.002672/0.002696, allocations: 1.796 MB / 348.3 MB, free: 120 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003758/0.006453, allocations: 1.921 MB / 350.2 MB, free: 14.19 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/0.006706, allocations: 7.938 kB / 350.2 MB, free: 14.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003726/0.007079, allocations: 111.1 kB / 350.3 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000429/0.007508, allocations: 146.9 kB / 350.4 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.00943, allocations: 0.9625 MB / 351.4 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001579/0.01101, allocations: 1.353 MB / 352.8 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.01119, allocations: 65.25 kB / 352.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000865/0.01205, allocations: 0.7604 MB / 353.6 MB, free: 10.78 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004881/0.01254, allocations: 315 kB / 353.9 MB, free: 10.47 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.01268, allocations: 92 kB / 354 MB, free: 10.38 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008623/0.01354, allocations: 0.616 MB / 354.6 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.01372, allocations: 151.3 kB / 354.8 MB, free: 9.617 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003333/0.01405, allocations: 287.3 kB / 355 MB, free: 9.336 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.01553, allocations: 1.091 MB / 356.1 MB, free: 8.242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.01553, allocations: 0 / 356.1 MB, free: 8.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.01553, allocations: 0 / 356.1 MB, free: 8.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.01554, allocations: 0 / 356.1 MB, free: 8.242 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001584/0.01713, allocations: 1.302 MB / 357.4 MB, free: 6.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.01716, allocations: 12.03 kB / 357.4 MB, free: 6.828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004067/0.01757, allocations: 164.5 kB / 357.6 MB, free: 6.668 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005984/0.01817, allocations: 372.4 kB / 358 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.01829, allocations: 113 kB / 358.1 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.01842, allocations: 79.98 kB / 358.1 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.02048, allocations: 1.579 MB / 359.7 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.0205, allocations: 7.938 kB / 359.7 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.371e-05/0.0206, allocations: 31.98 kB / 359.8 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/0.0207, allocations: 56.95 kB / 359.8 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.02216, allocations: 0.9793 MB / 360.8 MB, free: 3.191 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003928/0.02609, allocations: 3.679 MB / 364.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.02731, allocations: 0.8716 MB / 365.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.02833, allocations: 0.787 MB / 366.1 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.954e-05/0.02839, allocations: 16.16 kB / 366.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001471/0.02987, allocations: 1.133 MB / 367.3 MB, free: 12.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 2.274e-06/0.02987, allocations: 7.938 kB / 367.3 MB, free: 12.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.004535/0.0344, allocations: 2.976 MB / 370.3 MB, free: 9.211 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003192/0.03472, allocations: 0.5559 MB / 370.8 MB, free: 8.551 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000435/0.03516, allocations: 429.8 kB / 371.2 MB, free: 8.117 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.049e-05/0.03525, allocations: 69.69 kB / 371.3 MB, free: 8.043 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.03546, allocations: 319.6 kB / 371.6 MB, free: 7.727 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.03565, allocations: 194.6 kB / 371.8 MB, free: 7.535 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003564/0.036, allocations: 248.2 kB / 372.1 MB, free: 7.285 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.03621, allocations: 0.5469 MB / 372.6 MB, free: 6.727 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006763/0.03688, allocations: 0.5811 MB / 373.2 MB, free: 6.082 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009954/0.03788, allocations: 1.208 MB / 374.4 MB, free: 4.562 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.03959, allocations: 1.792 MB / 376.2 MB, free: 2.418 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.0396, allocations: 7.938 kB / 376.2 MB, free: 2.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00265/0.04225, allocations: 1.846 MB / 378 MB, free: 440 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001809/0.04244, allocations: 329 kB / 378.4 MB, free: 48 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.04245, allocations: 12 kB / 378.4 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.108e-05/0.04249, allocations: 16 kB / 378.4 MB, free: 20 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/0.04299, allocations: 163.7 kB / 378.5 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.674e-05/0.04301, allocations: 24.52 kB / 378.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004564/0.04347, allocations: 123.3 kB / 378.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.883e-05/0.04357, allocations: 56.23 kB / 378.7 MB, free: 15.66 MB / 314.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" 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.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.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 P1.enableOut.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.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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 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: 50 * Number of states: 0 () * Number of discrete variables: 125 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,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],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.firingTime,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 119 * Array equations: 1 * 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.0006776/0.04425, allocations: 0.7084 MB / 379.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.04438, allocations: 119.7 kB / 379.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/0.04625, allocations: 2.036 MB / 381.6 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.04627, allocations: 4 kB / 381.6 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.04627, allocations: 3.984 kB / 381.6 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.04628, allocations: 0 / 381.6 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.04854, allocations: 2.646 MB / 384.3 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.04855, allocations: 3.984 kB / 384.3 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.157e-05/0.04862, allocations: 31.86 kB / 384.3 MB, free: 9.852 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.04862, allocations: 4 kB / 384.3 MB, free: 9.848 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.708e-05/0.04868, allocations: 35.98 kB / 384.3 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.04868, allocations: 0 / 384.3 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.04869, allocations: 4 kB / 384.3 MB, free: 9.809 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/0.05104, allocations: 2.576 MB / 386.9 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.05107, allocations: 59.48 kB / 387 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.05119, allocations: 71.97 kB / 387 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.05142, allocations: 71.95 kB / 387.1 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003548/0.05177, allocations: 315.7 kB / 387.4 MB, free: 6.598 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-05/0.05183, allocations: 43.98 kB / 387.5 MB, free: 6.555 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001185/0.05195, allocations: 219 kB / 387.7 MB, free: 6.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.05195, allocations: 0 / 387.7 MB, free: 6.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005983/0.05255, allocations: 347.4 kB / 388 MB, free: 6 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 66 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],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.firingTime,T1.fireTime,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 51 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 22 * Array equations: 1 * 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.0005187/0.05307, allocations: 407 kB / 388.4 MB, free: 5.621 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.05463, allocations: 2.294 MB / 390.7 MB, free: 3.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.05463, allocations: 0 / 390.7 MB, free: 3.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.05563, allocations: 1.467 MB / 392.2 MB, free: 1.473 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.05596, allocations: 104.7 kB / 392.3 MB, free: 1.371 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.05789, allocations: 1.681 MB / 394 MB, free: 15.6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.568e-05/0.05798, allocations: 163.7 kB / 394.1 MB, free: 15.42 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001914/0.05817, allocations: 128.9 kB / 394.3 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.244e-05/0.05824, allocations: 48.48 kB / 394.3 MB, free: 15.25 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.05825, allocations: 0 / 394.3 MB, free: 15.25 MB / 330.7 MB Notification: Performance of Templates: time 0.01412/0.07237, allocations: 13.46 MB / 407.8 MB, free: 1.836 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTT.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTT.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.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.241184026002884]