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.001494/0.001494, allocations: 86.05 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 170 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9903/0.9903, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.05534/0.05534, allocations: 12.66 MB / 272.9 MB, free: 332 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.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.783e-06/1.783e-06, allocations: 0 / 346.9 MB, free: 1.652 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.62e-05, allocations: 4.422 kB / 346.9 MB, free: 1.648 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.005429/0.005456, allocations: 1.739 MB / 348.7 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005134/0.01059, allocations: 1.855 MB / 350.5 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003976/0.01099, allocations: 15.94 kB / 350.5 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.01135, allocations: 119 kB / 350.6 MB, free: 13.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000399/0.01175, allocations: 139 kB / 350.8 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005972/0.01772, allocations: 0.9625 MB / 351.7 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001585/0.0193, allocations: 1.353 MB / 353.1 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.0195, allocations: 61.81 kB / 353.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008629/0.02037, allocations: 0.7565 MB / 353.9 MB, free: 10.63 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005264/0.02089, allocations: 323 kB / 354.2 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.02101, allocations: 88 kB / 354.3 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009272/0.02194, allocations: 0.6199 MB / 354.9 MB, free: 9.605 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.02212, allocations: 151.3 kB / 355.1 MB, free: 9.457 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002525/0.02238, allocations: 295.3 kB / 355.4 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.02347, allocations: 1.079 MB / 356.5 MB, free: 8.086 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.02348, allocations: 0 / 356.5 MB, free: 8.086 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.02348, allocations: 0 / 356.5 MB, free: 8.086 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.02348, allocations: 4 kB / 356.5 MB, free: 8.082 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.001162/0.02465, allocations: 1.31 MB / 357.8 MB, free: 6.672 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.02468, allocations: 8.031 kB / 357.8 MB, free: 6.664 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002698/0.02495, allocations: 172.4 kB / 357.9 MB, free: 6.496 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.02529, allocations: 343.5 kB / 358.3 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.378e-05/0.02537, allocations: 109 kB / 358.4 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.441e-05/0.02545, allocations: 79.98 kB / 358.5 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.0265, allocations: 1.371 MB / 359.8 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.02652, allocations: 3.938 kB / 359.8 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.816e-05/0.02658, allocations: 36 kB / 359.9 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-05/0.02665, allocations: 52.95 kB / 359.9 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006868/0.02734, allocations: 0.7734 MB / 360.7 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.0298, allocations: 3.574 MB / 364.3 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006482/0.03045, allocations: 0.7371 MB / 365 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004537/0.0309, allocations: 0.6453 MB / 365.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.141e-05/0.03096, allocations: 19.97 kB / 365.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007113/0.03167, allocations: 1.01 MB / 366.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=77): time 2.264e-06/0.03167, allocations: 0 / 366.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=77): time 0.002359/0.03403, allocations: 2.623 MB / 369.3 MB, free: 10.37 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000198/0.03423, allocations: 0.5386 MB / 369.8 MB, free: 9.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.0345, allocations: 437.5 kB / 370.3 MB, free: 9.289 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.491e-05/0.03455, allocations: 65.69 kB / 370.3 MB, free: 9.219 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.03471, allocations: 311.7 kB / 370.6 MB, free: 8.906 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.03484, allocations: 210.5 kB / 370.8 MB, free: 8.699 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.03505, allocations: 260 kB / 371.1 MB, free: 8.438 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.03521, allocations: 0.5507 MB / 371.7 MB, free: 7.875 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/0.03551, allocations: 491.1 kB / 372.1 MB, free: 7.332 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005423/0.03605, allocations: 1.089 MB / 373.2 MB, free: 5.938 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.03718, allocations: 1.738 MB / 375 MB, free: 3.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.03719, allocations: 0 / 375 MB, free: 3.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.001312/0.0385, allocations: 1.705 MB / 376.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.03864, allocations: 329 kB / 377 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.03866, allocations: 12 kB / 377 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.03868, allocations: 16 kB / 377 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.03899, allocations: 159.7 kB / 377.2 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.039, allocations: 23.92 kB / 377.2 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.03927, allocations: 131.7 kB / 377.3 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.464e-05/0.03932, allocations: 47.98 kB / 377.4 MB, free: 1.234 MB / 298.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,P1.outTransition[1].fed,T1.enabledByOutPlaces,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[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,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,T1.firingCon) * 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.000589/0.03991, allocations: 0.712 MB / 378.1 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.04006, allocations: 135.6 kB / 378.2 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.04174, allocations: 1.835 MB / 380 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/0.04176, allocations: 4 kB / 380.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.04176, allocations: 4 kB / 380.1 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.04177, allocations: 3.984 kB / 380.1 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/0.04424, allocations: 2.562 MB / 382.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.04424, allocations: 0 / 382.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.04435, allocations: 31.92 kB / 382.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.04435, allocations: 8 kB / 382.7 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-05/0.04441, allocations: 39.97 kB / 382.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.04442, allocations: 4 kB / 382.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.04442, allocations: 0 / 382.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.04621, allocations: 2.372 MB / 385.1 MB, free: 9.145 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.04626, allocations: 43.59 kB / 385.1 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.04638, allocations: 75.97 kB / 385.2 MB, free: 9.027 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.04661, allocations: 71.95 kB / 385.3 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003401/0.04695, allocations: 303.7 kB / 385.6 MB, free: 8.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.829e-05/0.04702, allocations: 51.95 kB / 385.6 MB, free: 8.609 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001143/0.04714, allocations: 207 kB / 385.8 MB, free: 8.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.04714, allocations: 0 / 385.8 MB, free: 8.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009211/0.04806, allocations: 343.5 kB / 386.1 MB, free: 8.074 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.0006339/0.04869, allocations: 415.2 kB / 386.6 MB, free: 7.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.05031, allocations: 2.043 MB / 388.6 MB, free: 5.398 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.05031, allocations: 0 / 388.6 MB, free: 5.398 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000936/0.05125, allocations: 1.319 MB / 389.9 MB, free: 3.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.05163, allocations: 122 kB / 390 MB, free: 3.816 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.05352, allocations: 1.65 MB / 391.7 MB, free: 2.078 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.81e-05/0.05362, allocations: 163.9 kB / 391.8 MB, free: 1.898 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001695/0.05379, allocations: 69.03 kB / 391.9 MB, free: 1.832 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005215/0.05431, allocations: 334.1 kB / 392.2 MB, free: 1.504 MB / 314.7 MB Notification: Performance of SimCode: time 1.753e-06/0.05431, allocations: 0 / 392.2 MB, free: 1.504 MB / 314.7 MB Notification: Performance of Templates: time 0.01659/0.0709, allocations: 14.77 MB / 407 MB, free: 2.809 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.3155510746873915]