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.001055/0.001055, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001638/0.001638, allocations: 177 kB / 23.49 MB, free: 1.055 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.033/1.033, allocations: 177.1 MB / 203.8 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.05626/0.05626, allocations: 12.66 MB / 272.9 MB, free: 0.5703 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.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.653e-06/1.653e-06, allocations: 3.938 kB / 346.5 MB, free: 3.316 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.764e-05, allocations: 2.312 kB / 346.5 MB, free: 3.312 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.002616/0.002644, allocations: 1.801 MB / 348.3 MB, free: 1.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00253/0.005173, allocations: 1.866 MB / 350.2 MB, free: 15.63 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002356/0.005409, allocations: 7.938 kB / 350.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.005728, allocations: 115 kB / 350.3 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.006049, allocations: 143 kB / 350.4 MB, free: 15.37 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.007417, allocations: 0.9537 MB / 351.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.008601, allocations: 1.353 MB / 352.7 MB, free: 13.06 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.008769, allocations: 69.22 kB / 352.8 MB, free: 12.99 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006509/0.00942, allocations: 0.7604 MB / 353.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004155/0.009835, allocations: 319 kB / 353.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.511e-05/0.00993, allocations: 88 kB / 353.9 MB, free: 11.83 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009382/0.01087, allocations: 0.6161 MB / 354.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.01102, allocations: 151.3 kB / 354.7 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002429/0.01126, allocations: 295.3 kB / 355 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009901/0.01225, allocations: 1.083 MB / 356.1 MB, free: 9.688 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.01226, allocations: 0 / 356.1 MB, free: 9.688 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01226, allocations: 0 / 356.1 MB, free: 9.688 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.01226, allocations: 0 / 356.1 MB, free: 9.688 MB / 330.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.001259/0.01352, allocations: 1.306 MB / 357.4 MB, free: 8.277 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.01356, allocations: 11.97 kB / 357.4 MB, free: 8.266 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000311/0.01387, allocations: 168.5 kB / 357.6 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.01429, allocations: 359.6 kB / 357.9 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.01439, allocations: 117 kB / 358 MB, free: 7.598 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.01452, allocations: 83.98 kB / 358.1 MB, free: 7.516 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.01599, allocations: 1.578 MB / 359.7 MB, free: 5.758 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.01601, allocations: 3.938 kB / 359.7 MB, free: 5.754 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.141e-05/0.01607, allocations: 39.97 kB / 359.7 MB, free: 5.715 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.87e-05/0.01615, allocations: 56.95 kB / 359.8 MB, free: 5.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.01715, allocations: 0.9754 MB / 360.8 MB, free: 4.637 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002617/0.01977, allocations: 3.706 MB / 364.5 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008552/0.02062, allocations: 0.8738 MB / 365.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006647/0.02129, allocations: 0.7906 MB / 366.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.593e-05/0.02133, allocations: 8 kB / 366.1 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000982/0.02232, allocations: 1.136 MB / 367.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=75): time 2.355e-06/0.02232, allocations: 0 / 367.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=75): time 0.002777/0.0251, allocations: 2.987 MB / 370.3 MB, free: 10.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002338/0.02533, allocations: 0.5559 MB / 370.8 MB, free: 9.961 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.02564, allocations: 433.8 kB / 371.2 MB, free: 9.523 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.492e-05/0.0257, allocations: 69.69 kB / 371.3 MB, free: 9.449 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.02587, allocations: 323.5 kB / 371.6 MB, free: 9.125 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.026, allocations: 194.7 kB / 371.8 MB, free: 8.934 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.02624, allocations: 256.2 kB / 372.1 MB, free: 8.676 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.0264, allocations: 0.5469 MB / 372.6 MB, free: 8.117 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004822/0.02688, allocations: 0.589 MB / 373.2 MB, free: 7.469 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007438/0.02763, allocations: 1.227 MB / 374.4 MB, free: 5.922 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.02892, allocations: 1.828 MB / 376.3 MB, free: 3.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/0.02894, allocations: 7.938 kB / 376.3 MB, free: 3.723 MB / 346.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002331/0.03127, allocations: 1.866 MB / 378.1 MB, free: 1.727 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002245/0.03149, allocations: 329 kB / 378.5 MB, free: 1.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.03151, allocations: 12 kB / 378.5 MB, free: 1.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.153e-05/0.03154, allocations: 16.75 kB / 378.5 MB, free: 1.316 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.03189, allocations: 167.7 kB / 378.6 MB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.388e-05/0.03192, allocations: 27.92 kB / 378.7 MB, free: 1.125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000421/0.03234, allocations: 123.3 kB / 378.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.667e-05/0.03241, allocations: 56 kB / 378.8 MB, free: 0.9492 MB / 346.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.00065/0.03306, allocations: 0.7266 MB / 379.6 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.03321, allocations: 123.7 kB / 379.7 MB, free: 48 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002111/0.03532, allocations: 2.038 MB / 381.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/0.03534, allocations: 8 kB / 381.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.03535, allocations: 0 / 381.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.03535, allocations: 7.922 kB / 381.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003096/0.03845, allocations: 2.862 MB / 384.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.03845, allocations: 4 kB / 384.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.593e-05/0.03853, allocations: 19.98 kB / 384.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.03853, allocations: 7.875 kB / 384.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.205e-05/0.0386, allocations: 43.97 kB / 384.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.0386, allocations: 0 / 384.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.0386, allocations: 0 / 384.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/0.04081, allocations: 2.585 MB / 387.3 MB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.04086, allocations: 55.55 kB / 387.3 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.04099, allocations: 71.97 kB / 387.4 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.04123, allocations: 79.95 kB / 387.5 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003878/0.04161, allocations: 303.7 kB / 387.8 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.694e-05/0.04168, allocations: 47.97 kB / 387.8 MB, free: 7.594 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001291/0.04181, allocations: 223 kB / 388 MB, free: 7.379 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04181, allocations: 0 / 388 MB, free: 7.379 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006929/0.0425, allocations: 343.5 kB / 388.4 MB, free: 7.043 MB / 362.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.000562/0.04306, allocations: 415.2 kB / 388.8 MB, free: 6.648 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002101/0.04517, allocations: 2.298 MB / 391.1 MB, free: 4.113 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.04517, allocations: 8.062 kB / 391.1 MB, free: 4.105 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.0462, allocations: 1.456 MB / 392.5 MB, free: 2.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.04656, allocations: 108.4 kB / 392.6 MB, free: 2.398 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.0486, allocations: 1.685 MB / 394.3 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.04872, allocations: 159.9 kB / 394.5 MB, free: 460 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002329/0.04895, allocations: 136.9 kB / 394.6 MB, free: 320 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.703e-05/0.04904, allocations: 44.5 kB / 394.7 MB, free: 272 kB / 362.7 MB Notification: Performance of SimCode: time 1.302e-06/0.04904, allocations: 4 kB / 394.7 MB, free: 268 kB / 362.7 MB Notification: Performance of Templates: time 0.0159/0.06494, allocations: 13.54 MB / 408.2 MB, free: 2.758 MB / 378.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.417303576832637]