Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.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.0009666/0.0009666, allocations: 88.22 kB / 19.65 MB, free: 272 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009522/0.0009522, allocations: 173 kB / 23.02 MB, free: 1.539 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.8961/0.8961, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.04876/0.04876, allocations: 12.65 MB / 272.6 MB, free: 500 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.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") translateModel(PNlib.Examples.DisTest.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 346.5 MB, free: 1.926 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.555e-05, allocations: 2.312 kB / 346.5 MB, free: 1.922 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.001747/0.001763, allocations: 1.788 MB / 348.3 MB, free: 128 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.004071, allocations: 1.882 MB / 350.2 MB, free: 14.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.004235, allocations: 7.938 kB / 350.2 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.004522, allocations: 119 kB / 350.3 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.004815, allocations: 139 kB / 350.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.006065, allocations: 0.9547 MB / 351.4 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009833/0.007048, allocations: 1.357 MB / 352.7 MB, free: 11.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.007189, allocations: 61.25 kB / 352.8 MB, free: 11.6 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006041/0.007793, allocations: 0.7604 MB / 353.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003784/0.008172, allocations: 322.9 kB / 353.9 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.225e-05/0.008264, allocations: 88 kB / 353.9 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006085/0.008872, allocations: 0.6082 MB / 354.6 MB, free: 9.824 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.009006, allocations: 159.3 kB / 354.7 MB, free: 9.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.009266, allocations: 291.3 kB / 355 MB, free: 9.383 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.01033, allocations: 1.087 MB / 356.1 MB, free: 8.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.01033, allocations: 0 / 356.1 MB, free: 8.293 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.01033, allocations: 0 / 356.1 MB, free: 8.293 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.01034, allocations: 0 / 356.1 MB, free: 8.293 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001202/0.01154, allocations: 1.302 MB / 357.4 MB, free: 6.891 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.01158, allocations: 12.03 kB / 357.4 MB, free: 6.879 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004154/0.01199, allocations: 164.5 kB / 357.6 MB, free: 6.719 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.0124, allocations: 367.5 kB / 357.9 MB, free: 6.332 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.86e-05/0.01249, allocations: 113 kB / 358 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.126e-05/0.01257, allocations: 79.97 kB / 358.1 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.01396, allocations: 1.578 MB / 359.7 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.01397, allocations: 7.938 kB / 359.7 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.78e-05/0.01403, allocations: 39.98 kB / 359.7 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.741e-05/0.0141, allocations: 52.95 kB / 359.8 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008732/0.01497, allocations: 0.9848 MB / 360.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/0.01755, allocations: 3.702 MB / 364.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007294/0.01828, allocations: 0.8634 MB / 365.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008548/0.01914, allocations: 0.8023 MB / 366.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/0.01918, allocations: 8 kB / 366.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008871/0.02007, allocations: 1.132 MB / 367.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=75): time 1.433e-06/0.02007, allocations: 3.938 kB / 367.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.002742/0.02281, allocations: 2.983 MB / 370.3 MB, free: 9.238 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002/0.02301, allocations: 0.5599 MB / 370.8 MB, free: 8.574 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.02327, allocations: 433.8 kB / 371.2 MB, free: 8.137 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/0.02333, allocations: 65.69 kB / 371.3 MB, free: 8.066 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.02347, allocations: 331.5 kB / 371.6 MB, free: 7.734 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.02358, allocations: 194.7 kB / 371.8 MB, free: 7.543 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.0238, allocations: 256.2 kB / 372.1 MB, free: 7.285 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.02394, allocations: 0.543 MB / 372.6 MB, free: 6.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.02435, allocations: 0.589 MB / 373.2 MB, free: 6.078 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006539/0.025, allocations: 1.223 MB / 374.4 MB, free: 4.535 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.02638, allocations: 1.836 MB / 376.3 MB, free: 2.336 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.02639, allocations: 7.938 kB / 376.3 MB, free: 2.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001468/0.02786, allocations: 1.859 MB / 378.1 MB, free: 344 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.02799, allocations: 329 kB / 378.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.028, allocations: 12 kB / 378.5 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.02802, allocations: 16 kB / 378.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.02832, allocations: 168.3 kB / 378.6 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/0.02833, allocations: 27.86 kB / 378.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.02858, allocations: 135.5 kB / 378.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-05/0.02864, allocations: 52 kB / 378.9 MB, free: 15.55 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: 52 * Number of states: 0 () * Number of discrete variables: 128 ($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,T1.inPlaces[1].tokenInOut,$PRE.P1.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.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,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 (135): * Single equations (assignments): 124 * 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.0004596/0.0291, allocations: 0.7126 MB / 379.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.02922, allocations: 123.7 kB / 379.7 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.03125, allocations: 2.05 MB / 381.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.03126, allocations: 4 kB / 381.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.03127, allocations: 4 kB / 381.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.03127, allocations: 0 / 381.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/0.03373, allocations: 2.85 MB / 384.6 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.03373, allocations: 4 kB / 384.6 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.577e-05/0.0338, allocations: 27.86 kB / 384.6 MB, free: 9.516 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.03381, allocations: 4 kB / 384.6 MB, free: 9.512 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/0.03386, allocations: 43.97 kB / 384.7 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.03387, allocations: 4 kB / 384.7 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.03387, allocations: 0 / 384.7 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.03591, allocations: 2.582 MB / 387.3 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/0.03595, allocations: 51.53 kB / 387.3 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.03606, allocations: 71.98 kB / 387.4 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.03628, allocations: 83.88 kB / 387.5 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003558/0.03664, allocations: 307.7 kB / 387.8 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.264e-05/0.0367, allocations: 43.97 kB / 387.8 MB, free: 6.207 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001219/0.03682, allocations: 219 kB / 388 MB, free: 5.996 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03682, allocations: 4 kB / 388 MB, free: 5.992 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005986/0.03742, allocations: 347.5 kB / 388.4 MB, free: 5.652 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: 68 ($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,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,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.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,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 (37): * Single equations (assignments): 24 * 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.0007536/0.03817, allocations: 422.7 kB / 388.8 MB, free: 5.262 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.03972, allocations: 2.306 MB / 391.1 MB, free: 2.715 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.03973, allocations: 0 / 391.1 MB, free: 2.715 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009366/0.04066, allocations: 1.471 MB / 392.5 MB, free: 1.094 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.04099, allocations: 92.62 kB / 392.6 MB, free: 1.004 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.04265, allocations: 1.689 MB / 394.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.731e-05/0.04275, allocations: 163.9 kB / 394.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000177/0.04293, allocations: 125 kB / 394.6 MB, free: 14.92 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/0.043, allocations: 48.48 kB / 394.7 MB, free: 14.88 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.043, allocations: 0 / 394.7 MB, free: 14.88 MB / 330.7 MB Notification: Performance of Templates: time 0.01363/0.05663, allocations: 13.54 MB / 408.2 MB, free: 1.379 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTD.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.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.2785289958119392]