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.001306/0.001306, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001419/0.001419, allocations: 181 kB / 23.36 MB, free: 1.133 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.8948/0.8948, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.04865/0.04865, allocations: 12.66 MB / 272.9 MB, free: 396 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.343e-06/1.343e-06, allocations: 0 / 293.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.968e-06/1.131e-05, allocations: 3.406 kB / 293.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.002/0.002012, allocations: 1.745 MB / 295.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.004328, allocations: 1.893 MB / 297.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.004518, allocations: 9.75 kB / 297.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.00476, allocations: 113.2 kB / 297.4 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.005049, allocations: 144.6 kB / 297.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.006723, allocations: 0.9703 MB / 298.5 MB, free: 9.852 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001171/0.007894, allocations: 1.354 MB / 299.9 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.008025, allocations: 74.47 kB / 300 MB, free: 9.176 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006949/0.00872, allocations: 0.765 MB / 300.7 MB, free: 8.801 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004253/0.009145, allocations: 315.7 kB / 301 MB, free: 8.688 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.009251, allocations: 89.03 kB / 301.1 MB, free: 8.688 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006976/0.009949, allocations: 0.6159 MB / 301.7 MB, free: 8.402 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.0101, allocations: 154.5 kB / 301.9 MB, free: 8.297 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003141/0.01042, allocations: 285 kB / 302.2 MB, free: 8.129 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.01159, allocations: 1.092 MB / 303.3 MB, free: 7.355 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.01159, allocations: 0 / 303.3 MB, free: 7.355 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01159, allocations: 0.5625 kB / 303.3 MB, free: 7.355 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.0116, allocations: 2.875 kB / 303.3 MB, free: 7.355 MB / 266.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.00129/0.01289, allocations: 1.183 MB / 304.4 MB, free: 6.332 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.01292, allocations: 10.31 kB / 304.5 MB, free: 6.332 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003533/0.01327, allocations: 149.1 kB / 304.6 MB, free: 6.285 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.01369, allocations: 272.2 kB / 304.9 MB, free: 6.059 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.286e-05/0.01378, allocations: 118.8 kB / 305 MB, free: 5.965 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.01391, allocations: 81.39 kB / 305.1 MB, free: 5.945 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.01504, allocations: 1.306 MB / 306.4 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.01506, allocations: 6.188 kB / 306.4 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.245e-05/0.01511, allocations: 43.38 kB / 306.4 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.217e-05/0.01517, allocations: 53.05 kB / 306.5 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005474/0.01572, allocations: 0.775 MB / 307.2 MB, free: 4.352 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.01722, allocations: 2.5 MB / 309.7 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/0.01765, allocations: 0.763 MB / 310.5 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.01796, allocations: 0.6257 MB / 311.1 MB, free: 256 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.01799, allocations: 9 kB / 311.1 MB, free: 248 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006054/0.01859, allocations: 0.9763 MB / 312.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=75): time 1.382e-06/0.01859, allocations: 0.7812 kB / 312.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=75): time 0.001346/0.01994, allocations: 1.963 MB / 314.1 MB, free: 13.06 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001934/0.02013, allocations: 0.552 MB / 314.6 MB, free: 12.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.02032, allocations: 350.3 kB / 315 MB, free: 12.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.242e-05/0.02037, allocations: 65.69 kB / 315 MB, free: 11.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.02047, allocations: 248.9 kB / 315.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.02058, allocations: 202.5 kB / 315.5 MB, free: 11.53 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/0.02077, allocations: 242.4 kB / 315.7 MB, free: 11.29 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.309e-05/0.02087, allocations: 370.7 kB / 316.1 MB, free: 10.92 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.02115, allocations: 0.4902 MB / 316.6 MB, free: 10.37 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000461/0.02161, allocations: 0.9618 MB / 317.5 MB, free: 9.152 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008897/0.0225, allocations: 1.642 MB / 319.2 MB, free: 7.203 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.02251, allocations: 4 kB / 319.2 MB, free: 7.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.0009572/0.02346, allocations: 1.348 MB / 320.5 MB, free: 5.719 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.02358, allocations: 333 kB / 320.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.02359, allocations: 12 kB / 320.9 MB, free: 5.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.02361, allocations: 16 kB / 320.9 MB, free: 5.305 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.02387, allocations: 167.9 kB / 321 MB, free: 5.141 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.02389, allocations: 23.92 kB / 321.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.02414, allocations: 131.3 kB / 321.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.062e-05/0.02419, allocations: 44 kB / 321.2 MB, free: 4.945 MB / 282.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,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],P1.enableOut.arcWeight[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,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 (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.000437/0.02463, allocations: 0.6628 MB / 321.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.02474, allocations: 127.8 kB / 322 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007872/0.02553, allocations: 1.15 MB / 323.2 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.02554, allocations: 4 kB / 323.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.02554, allocations: 0 / 323.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.02555, allocations: 3.984 kB / 323.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.02687, allocations: 1.715 MB / 324.9 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.02687, allocations: 4 kB / 324.9 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.654e-05/0.02693, allocations: 19.98 kB / 324.9 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.02693, allocations: 0 / 324.9 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/0.02698, allocations: 39.97 kB / 325 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.02699, allocations: 8 kB / 325 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02699, allocations: 4 kB / 325 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.028, allocations: 1.648 MB / 326.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/0.02803, allocations: 43.59 kB / 326.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.02814, allocations: 75.97 kB / 326.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.02834, allocations: 71.92 kB / 326.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003241/0.02866, allocations: 314.5 kB / 327.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.622e-05/0.02872, allocations: 39.98 kB / 327.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.618e-05/0.02879, allocations: 100.6 kB / 327.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02879, allocations: 0 / 327.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007935/0.02958, allocations: 339.5 kB / 327.6 MB, free: 14.23 MB / 298.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.0006503/0.03023, allocations: 408.2 kB / 328 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.03165, allocations: 2.013 MB / 330 MB, free: 11.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/0.03167, allocations: 8 kB / 330 MB, free: 11.6 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000747/0.03241, allocations: 1.288 MB / 331.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.03272, allocations: 109.8 kB / 331.4 MB, free: 10.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.03422, allocations: 1.603 MB / 333 MB, free: 8.371 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.995e-05/0.03431, allocations: 159.9 kB / 333.2 MB, free: 8.195 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001404/0.03445, allocations: 72.53 kB / 333.2 MB, free: 8.125 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004622/0.03492, allocations: 295.3 kB / 333.5 MB, free: 7.836 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.03492, allocations: 0 / 333.5 MB, free: 7.836 MB / 298.7 MB Notification: Performance of Templates: time 0.01385/0.04877, allocations: 14.6 MB / 348.1 MB, free: 9.344 MB / 314.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: 2.9572637528181076]