Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTT.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.001442/0.001442, allocations: 93.06 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.00143/0.00143, 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 1.078/1.078, allocations: 177.1 MB / 203.4 MB, free: 5.609 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.0659/0.0659, allocations: 12.66 MB / 272.6 MB, free: 484 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.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") translateModel(PNlib.Examples.DisTest.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.003e-06/7.003e-06, allocations: 0 / 346.5 MB, free: 1.926 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.094e-05/3.794e-05, allocations: 2.312 kB / 346.5 MB, free: 1.922 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.002875/0.002913, allocations: 1.801 MB / 348.3 MB, free: 112 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002773/0.005687, allocations: 1.917 MB / 350.2 MB, free: 14.19 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/0.005915, allocations: 7.938 kB / 350.2 MB, free: 14.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.006236, allocations: 119.1 kB / 350.3 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003188/0.006555, allocations: 146.9 kB / 350.5 MB, free: 13.92 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.007955, allocations: 0.9616 MB / 351.4 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009958/0.008951, allocations: 1.349 MB / 352.8 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.009102, allocations: 65.8 kB / 352.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005709/0.009673, allocations: 0.7605 MB / 353.6 MB, free: 10.78 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003715/0.01004, allocations: 323 kB / 353.9 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.37e-05/0.01014, allocations: 88 kB / 354 MB, free: 10.38 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006508/0.01079, allocations: 0.6044 MB / 354.6 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.0109, allocations: 159.2 kB / 354.8 MB, free: 9.613 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.01114, allocations: 291.4 kB / 355 MB, free: 9.328 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009794/0.01212, allocations: 1.087 MB / 356.1 MB, free: 8.238 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.01213, allocations: 0 / 356.1 MB, free: 8.238 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01213, allocations: 0 / 356.1 MB, free: 8.238 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.01214, allocations: 0 / 356.1 MB, free: 8.238 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001282/0.01342, allocations: 1.31 MB / 357.4 MB, free: 6.828 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.01346, allocations: 12.02 kB / 357.4 MB, free: 6.816 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002901/0.01375, allocations: 164.5 kB / 357.6 MB, free: 6.656 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/0.01416, allocations: 368.4 kB / 358 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.01426, allocations: 113 kB / 358.1 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.745e-05/0.01435, allocations: 83.97 kB / 358.2 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.01573, allocations: 1.57 MB / 359.7 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.01575, allocations: 7.922 kB / 359.7 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.909e-05/0.01581, allocations: 39.98 kB / 359.8 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.791e-05/0.01589, allocations: 56.95 kB / 359.8 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009164/0.0168, allocations: 0.9715 MB / 360.8 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002704/0.01951, allocations: 3.687 MB / 364.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008066/0.02032, allocations: 0.8639 MB / 365.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007608/0.02108, allocations: 0.7909 MB / 366.1 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.341e-05/0.02113, allocations: 16.17 kB / 366.2 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009482/0.02208, allocations: 1.133 MB / 367.3 MB, free: 12.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 2.986e-06/0.02208, allocations: 4 kB / 367.3 MB, free: 12.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.003067/0.02515, allocations: 2.973 MB / 370.3 MB, free: 9.207 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002492/0.0254, allocations: 0.552 MB / 370.8 MB, free: 8.551 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003364/0.02573, allocations: 429.8 kB / 371.2 MB, free: 8.117 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.847e-05/0.02579, allocations: 65.69 kB / 371.3 MB, free: 8.047 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.02596, allocations: 323.6 kB / 371.6 MB, free: 7.727 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.02608, allocations: 206.5 kB / 371.8 MB, free: 7.523 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.0263, allocations: 252.2 kB / 372.1 MB, free: 7.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.02644, allocations: 0.543 MB / 372.6 MB, free: 6.715 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004294/0.02687, allocations: 0.5851 MB / 373.2 MB, free: 6.066 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007446/0.02762, allocations: 1.204 MB / 374.4 MB, free: 4.551 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.02911, allocations: 1.8 MB / 376.2 MB, free: 2.398 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.02912, allocations: 7.938 kB / 376.2 MB, free: 2.391 MB / 298.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001576/0.0307, allocations: 1.83 MB / 378 MB, free: 436 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.03084, allocations: 332.9 kB / 378.4 MB, free: 44 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.03085, allocations: 12 kB / 378.4 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.03088, allocations: 20 kB / 378.4 MB, free: 12 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.03122, allocations: 163.7 kB / 378.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/0.03124, allocations: 23.92 kB / 378.6 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/0.03152, allocations: 119.3 kB / 378.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.475e-05/0.03158, allocations: 56.25 kB / 378.7 MB, free: 15.66 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: 50 * Number of states: 0 () * Number of discrete variables: 125 ($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,$PRE.P1.tokeninout,P1.outTransition[1].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.firingTime,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 (130): * Single equations (assignments): 119 * 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.0006444/0.03223, allocations: 0.7076 MB / 379.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.03238, allocations: 123.7 kB / 379.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/0.03423, allocations: 2.036 MB / 381.6 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/0.03425, allocations: 8 kB / 381.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.03425, allocations: 0 / 381.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.03426, allocations: 4 kB / 381.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/0.03677, allocations: 2.646 MB / 384.3 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.03677, allocations: 0 / 384.3 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.412e-05/0.03686, allocations: 27.92 kB / 384.3 MB, free: 9.848 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.03686, allocations: 0 / 384.3 MB, free: 9.848 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/0.03693, allocations: 47.95 kB / 384.3 MB, free: 9.801 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.03693, allocations: 4 kB / 384.4 MB, free: 9.797 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.03694, allocations: 3.984 kB / 384.4 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/0.03909, allocations: 2.58 MB / 386.9 MB, free: 7.086 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.03913, allocations: 55.48 kB / 387 MB, free: 7.031 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.03926, allocations: 79.97 kB / 387.1 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.03948, allocations: 67.94 kB / 387.1 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003791/0.03986, allocations: 303.7 kB / 387.4 MB, free: 6.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.704e-05/0.03993, allocations: 43.98 kB / 387.5 MB, free: 6.547 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00013/0.04006, allocations: 227 kB / 387.7 MB, free: 6.324 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04006, allocations: 0 / 387.7 MB, free: 6.324 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000844/0.0409, allocations: 339.5 kB / 388 MB, free: 5.992 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: 66 ($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,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,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.firingTime,T1.fireTime,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 51 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,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 (35): * Single equations (assignments): 22 * 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.0005985/0.0415, allocations: 408.7 kB / 388.4 MB, free: 5.609 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001914/0.04341, allocations: 2.287 MB / 390.7 MB, free: 3.086 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.04342, allocations: 4.062 kB / 390.7 MB, free: 3.082 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.04464, allocations: 1.462 MB / 392.2 MB, free: 1.469 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005158/0.04516, allocations: 99.58 kB / 392.3 MB, free: 1.375 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.04775, allocations: 1.685 MB / 394 MB, free: 15.6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.04789, allocations: 159.7 kB / 394.1 MB, free: 15.42 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003051/0.0482, allocations: 136.9 kB / 394.3 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.0483, allocations: 44.5 kB / 394.3 MB, free: 15.25 MB / 330.7 MB Notification: Performance of SimCode: time 1.713e-06/0.04831, allocations: 4 kB / 394.3 MB, free: 15.24 MB / 330.7 MB Notification: Performance of Templates: time 0.0174/0.0657, allocations: 14.36 MB / 408.7 MB, free: 0.9141 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTT.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTT.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.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.348386080004275]