Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.0008669/0.0008669, allocations: 93.16 kB / 19.65 MB, free: 292 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.0008895/0.0008895, allocations: 168.9 kB / 23.02 MB, free: 1.562 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.9215/0.9215, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.07467/0.07467, allocations: 12.66 MB / 272.6 MB, free: 0.4961 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.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") translateModel(PNlib.Examples.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 346.5 MB, free: 1.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.527e-05, allocations: 4.422 kB / 346.5 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.001676/0.001691, allocations: 1.793 MB / 348.3 MB, free: 124 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.00403, allocations: 1.882 MB / 350.2 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.004212, allocations: 7.938 kB / 350.2 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.00452, allocations: 115 kB / 350.3 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.004841, allocations: 139 kB / 350.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.006154, allocations: 0.9547 MB / 351.4 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001041/0.007195, allocations: 1.353 MB / 352.7 MB, free: 11.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.007341, allocations: 65.25 kB / 352.8 MB, free: 11.6 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006149/0.007956, allocations: 0.7604 MB / 353.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003653/0.008322, allocations: 322.9 kB / 353.9 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.384e-05/0.008415, allocations: 92 kB / 353.9 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006264/0.009042, allocations: 0.6121 MB / 354.6 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.009181, allocations: 155.3 kB / 354.7 MB, free: 9.664 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.009415, allocations: 287.3 kB / 355 MB, free: 9.383 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.01045, allocations: 1.087 MB / 356.1 MB, free: 8.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.01045, allocations: 0 / 356.1 MB, free: 8.293 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.01045, allocations: 0 / 356.1 MB, free: 8.293 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.01046, 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.001236/0.0117, allocations: 1.298 MB / 357.4 MB, free: 6.895 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.01173, allocations: 12.03 kB / 357.4 MB, free: 6.883 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002648/0.012, allocations: 168.5 kB / 357.6 MB, free: 6.719 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.01238, allocations: 371.5 kB / 357.9 MB, free: 6.328 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.471e-05/0.01247, allocations: 117 kB / 358 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.811e-05/0.01255, allocations: 75.98 kB / 358.1 MB, free: 6.129 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.01394, allocations: 1.574 MB / 359.7 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.01396, allocations: 7.938 kB / 359.7 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-05/0.01402, allocations: 39.97 kB / 359.7 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.195e-05/0.01408, allocations: 52.95 kB / 359.8 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008906/0.01497, allocations: 0.9926 MB / 360.8 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002622/0.01759, allocations: 3.714 MB / 364.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007846/0.01837, allocations: 0.9062 MB / 365.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006309/0.019, allocations: 0.822 MB / 366.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-05/0.01905, allocations: 15.98 kB / 366.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000909/0.01995, allocations: 1.186 MB / 367.4 MB, free: 12.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=77): time 1.563e-06/0.01996, allocations: 4 kB / 367.4 MB, free: 12.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=77): time 0.00278/0.02274, allocations: 3.069 MB / 370.5 MB, free: 9.008 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001938/0.02293, allocations: 0.5308 MB / 371 MB, free: 8.379 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.02319, allocations: 425.8 kB / 371.4 MB, free: 7.949 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.493e-05/0.02324, allocations: 69.62 kB / 371.5 MB, free: 7.875 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.02338, allocations: 315.7 kB / 371.8 MB, free: 7.559 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.0235, allocations: 206.5 kB / 372 MB, free: 7.355 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/0.02372, allocations: 248.2 kB / 372.3 MB, free: 7.105 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.02386, allocations: 0.543 MB / 372.8 MB, free: 6.551 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/0.02427, allocations: 0.589 MB / 373.4 MB, free: 5.898 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006495/0.02492, allocations: 1.198 MB / 374.6 MB, free: 4.391 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.02634, allocations: 1.828 MB / 376.4 MB, free: 2.203 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-06/0.02635, allocations: 4 kB / 376.4 MB, free: 2.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.001513/0.02786, allocations: 1.857 MB / 378.3 MB, free: 212 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.02799, allocations: 329 kB / 378.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.028, allocations: 12 kB / 378.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/0.02803, allocations: 16.78 kB / 378.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.02833, allocations: 167.9 kB / 378.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/0.02834, allocations: 27.92 kB / 378.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.02861, allocations: 127.3 kB / 378.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.678e-05/0.02868, allocations: 56 kB / 379 MB, free: 15.43 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: 51 * 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.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.enableOut.arcWeight[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 (134): * Single equations (assignments): 123 * 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.0004706/0.02915, allocations: 0.711 MB / 379.7 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.02928, allocations: 131.6 kB / 379.8 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.0312, allocations: 2.108 MB / 381.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.03121, allocations: 4 kB / 381.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.03122, allocations: 0 / 381.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.03122, allocations: 0 / 381.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002838/0.03406, allocations: 2.937 MB / 384.9 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.03406, allocations: 0 / 384.9 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.817e-05/0.03414, allocations: 31.92 kB / 384.9 MB, free: 9.254 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.03414, allocations: 4 kB / 384.9 MB, free: 9.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.813e-05/0.0342, allocations: 43.95 kB / 385 MB, free: 9.207 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.03421, allocations: 4 kB / 385 MB, free: 9.203 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.03421, allocations: 7.938 kB / 385 MB, free: 9.195 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/0.03632, allocations: 2.641 MB / 387.6 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.03636, allocations: 47.59 kB / 387.7 MB, free: 6.375 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.03648, allocations: 71.97 kB / 387.7 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.0367, allocations: 75.95 kB / 387.8 MB, free: 6.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000362/0.03706, allocations: 311.7 kB / 388.1 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.307e-05/0.03712, allocations: 43.98 kB / 388.1 MB, free: 5.883 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001145/0.03724, allocations: 219 kB / 388.4 MB, free: 5.672 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03724, allocations: 0 / 388.4 MB, free: 5.672 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006473/0.03789, allocations: 343.5 kB / 388.7 MB, free: 5.336 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: 69 ($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.arcWeight[1],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 (39): * Single equations (assignments): 26 * 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.0005102/0.0384, allocations: 411.4 kB / 389.1 MB, free: 4.949 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001875/0.04027, allocations: 2.336 MB / 391.4 MB, free: 2.375 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.04027, allocations: 8.125 kB / 391.4 MB, free: 2.367 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009869/0.04126, allocations: 1.486 MB / 392.9 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.0416, allocations: 109 kB / 393 MB, free: 0.625 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.04336, allocations: 1.775 MB / 394.8 MB, free: 14.76 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.261e-05/0.04345, allocations: 163.8 kB / 395 MB, free: 14.58 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001863/0.04363, allocations: 132.6 kB / 395.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.082e-05/0.04371, allocations: 44.5 kB / 395.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of SimCode: time 9.01e-07/0.04371, allocations: 0 / 395.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of Templates: time 0.01382/0.05752, allocations: 13.59 MB / 408.7 MB, free: 0.8672 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTDfunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.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.3209628141485155]