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.001441/0.001441, allocations: 92.22 kB / 19.65 MB, free: 280 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.002089/0.002089, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.986/0.986, allocations: 177.1 MB / 203.4 MB, free: 5.176 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.05597/0.05597, allocations: 12.66 MB / 272.6 MB, free: 372 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.332e-06/1.332e-06, allocations: 0 / 346.5 MB, free: 1.922 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.37e-05/1.503e-05, allocations: 2.312 kB / 346.5 MB, free: 1.918 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.00169/0.001705, allocations: 1.793 MB / 348.3 MB, free: 116 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002523/0.004228, allocations: 1.882 MB / 350.1 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.004416, allocations: 7.938 kB / 350.2 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003331/0.004749, allocations: 115 kB / 350.3 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.005117, allocations: 147 kB / 350.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.006529, allocations: 0.9508 MB / 351.4 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001232/0.007761, allocations: 1.353 MB / 352.7 MB, free: 11.65 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.007924, allocations: 61.25 kB / 352.8 MB, free: 11.59 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000673/0.008597, allocations: 0.7643 MB / 353.5 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004168/0.009014, allocations: 323 kB / 353.9 MB, free: 10.51 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.204e-05/0.009106, allocations: 88 kB / 353.9 MB, free: 10.42 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007413/0.009848, allocations: 0.6199 MB / 354.6 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.009993, allocations: 147.3 kB / 354.7 MB, free: 9.656 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000246/0.01024, allocations: 295.3 kB / 355 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.01125, allocations: 1.079 MB / 356.1 MB, free: 8.285 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.01125, allocations: 0 / 356.1 MB, free: 8.285 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01125, allocations: 0 / 356.1 MB, free: 8.285 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.01126, allocations: 0 / 356.1 MB, free: 8.285 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.00133/0.01259, allocations: 1.31 MB / 357.4 MB, free: 6.875 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.01263, allocations: 11.97 kB / 357.4 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000303/0.01293, allocations: 160.5 kB / 357.6 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.01334, allocations: 367.5 kB / 357.9 MB, free: 6.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.069e-05/0.01343, allocations: 113 kB / 358 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.12e-05/0.01351, allocations: 79.97 kB / 358.1 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.01494, allocations: 1.584 MB / 359.7 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.01496, allocations: 7.938 kB / 359.7 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.699e-05/0.01503, allocations: 39.98 kB / 359.7 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.445e-05/0.0151, allocations: 56.95 kB / 359.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008974/0.016, allocations: 0.9793 MB / 360.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002427/0.01843, allocations: 3.698 MB / 364.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007671/0.01919, allocations: 0.8679 MB / 365.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000612/0.01981, allocations: 0.7906 MB / 366.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.01984, allocations: 11.94 kB / 366.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009169/0.02076, allocations: 1.132 MB / 367.3 MB, free: 12.37 MB / 298.7 MB Notification: Performance of pre-optimization done (n=75): time 3.015e-06/0.02076, allocations: 3.984 kB / 367.3 MB, free: 12.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.002541/0.0233, allocations: 2.991 MB / 370.3 MB, free: 9.223 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002074/0.02351, allocations: 0.5559 MB / 370.8 MB, free: 8.562 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.02378, allocations: 433.8 kB / 371.2 MB, free: 8.125 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.643e-05/0.02384, allocations: 65.69 kB / 371.3 MB, free: 8.055 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.02399, allocations: 335.5 kB / 371.6 MB, free: 7.719 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.02412, allocations: 194.7 kB / 371.8 MB, free: 7.527 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/0.02435, allocations: 252.2 kB / 372.1 MB, free: 7.273 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.02449, allocations: 0.5509 MB / 372.6 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004367/0.02493, allocations: 0.5851 MB / 373.2 MB, free: 6.062 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006791/0.02561, allocations: 1.223 MB / 374.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.02679, allocations: 1.84 MB / 376.3 MB, free: 2.316 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.0268, allocations: 3.938 kB / 376.3 MB, free: 2.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001533/0.02833, allocations: 1.855 MB / 378.1 MB, free: 332 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.02847, allocations: 330.1 kB / 378.4 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.02848, allocations: 16 kB / 378.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.0285, allocations: 20 kB / 378.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.02881, allocations: 163.7 kB / 378.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/0.02883, allocations: 27.92 kB / 378.7 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.02909, allocations: 131.2 kB / 378.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.978e-05/0.02915, allocations: 52 kB / 378.8 MB, free: 15.54 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.0004904/0.02964, allocations: 0.7227 MB / 379.6 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.02977, allocations: 123.7 kB / 379.7 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/0.03169, allocations: 2.046 MB / 381.7 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.0317, allocations: 8 kB / 381.7 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.03171, allocations: 4 kB / 381.8 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.03171, allocations: 0 / 381.8 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002626/0.03434, allocations: 2.85 MB / 384.6 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.03434, allocations: 0 / 384.6 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.362e-05/0.03442, allocations: 31.92 kB / 384.6 MB, free: 9.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.03442, allocations: 7.922 kB / 384.6 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.505e-05/0.03449, allocations: 39.97 kB / 384.7 MB, free: 9.453 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.03449, allocations: 4 kB / 384.7 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.03449, allocations: 0 / 384.7 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002462/0.03695, allocations: 2.578 MB / 387.3 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.03699, allocations: 55.53 kB / 387.3 MB, free: 6.688 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.03713, allocations: 71.98 kB / 387.4 MB, free: 6.617 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.03735, allocations: 75.92 kB / 387.5 MB, free: 6.543 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003705/0.03772, allocations: 311.6 kB / 387.8 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-05/0.03778, allocations: 43.97 kB / 387.8 MB, free: 6.195 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001255/0.03791, allocations: 227 kB / 388 MB, free: 5.977 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03791, allocations: 0 / 388 MB, free: 5.977 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006573/0.03857, allocations: 347.5 kB / 388.4 MB, free: 5.637 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.0006073/0.03917, allocations: 414.2 kB / 388.8 MB, free: 5.246 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001694/0.04087, allocations: 2.301 MB / 391.1 MB, free: 2.703 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.04087, allocations: 0 / 391.1 MB, free: 2.703 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.04192, allocations: 1.46 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.0003726/0.04229, allocations: 100.5 kB / 392.6 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.04432, allocations: 1.686 MB / 394.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.04443, allocations: 163.9 kB / 394.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001987/0.04463, allocations: 136.9 kB / 394.6 MB, free: 14.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.933e-05/0.04471, allocations: 48.48 kB / 394.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.04471, allocations: 0 / 394.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of Templates: time 0.01579/0.0605, allocations: 14.45 MB / 409.1 MB, free: 456 kB / 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.4145011589862406]