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.0009986/0.0009986, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.001131/0.001131, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.9417/0.9417, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.05368/0.05368, allocations: 12.65 MB / 273.7 MB, free: 336 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.492e-06/1.492e-06, allocations: 0 / 347.7 MB, free: 1.648 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.42e-05/1.569e-05, allocations: 4.844 kB / 347.7 MB, free: 1.645 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.00179/0.001806, allocations: 1.735 MB / 349.4 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002486/0.004292, allocations: 1.862 MB / 351.3 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001936/0.004486, allocations: 11.94 kB / 351.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.00478, allocations: 119 kB / 351.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.005096, allocations: 139 kB / 351.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.006471, allocations: 0.9586 MB / 352.5 MB, free: 12.81 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009255/0.007397, allocations: 1.353 MB / 353.9 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.007546, allocations: 65.23 kB / 353.9 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006164/0.008162, allocations: 0.7565 MB / 354.7 MB, free: 10.63 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003389/0.008501, allocations: 315 kB / 355 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.658e-05/0.008588, allocations: 88 kB / 355.1 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005916/0.009179, allocations: 0.6199 MB / 355.7 MB, free: 9.613 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.009316, allocations: 159.2 kB / 355.9 MB, free: 9.457 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002257/0.009541, allocations: 287.4 kB / 356.2 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008792/0.01042, allocations: 1.083 MB / 357.2 MB, free: 8.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.01042, allocations: 0 / 357.2 MB, free: 8.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01042, allocations: 4 kB / 357.2 MB, free: 8.086 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.01043, allocations: 0 / 357.2 MB, free: 8.086 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.001117/0.01155, allocations: 1.31 MB / 358.5 MB, free: 6.676 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.01158, allocations: 8.031 kB / 358.6 MB, free: 6.668 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002563/0.01183, allocations: 164.5 kB / 358.7 MB, free: 6.508 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.01218, allocations: 355.5 kB / 359.1 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.723e-05/0.01227, allocations: 109 kB / 359.2 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.204e-05/0.01235, allocations: 79.98 kB / 359.2 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.01339, allocations: 1.363 MB / 360.6 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.0134, allocations: 3.938 kB / 360.6 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.463e-05/0.01346, allocations: 35.98 kB / 360.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.384e-05/0.01352, allocations: 56.95 kB / 360.7 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006143/0.01413, allocations: 0.7617 MB / 361.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.01633, allocations: 3.562 MB / 365 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005789/0.0169, allocations: 0.7111 MB / 365.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000442/0.01735, allocations: 0.6384 MB / 366.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.01738, allocations: 15.92 kB / 366.4 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007274/0.01811, allocations: 0.9636 MB / 367.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=75): time 1.432e-06/0.01811, allocations: 0 / 367.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.002127/0.02024, allocations: 2.588 MB / 369.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002164/0.02045, allocations: 0.5559 MB / 370.5 MB, free: 9.848 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.0207, allocations: 437.5 kB / 370.9 MB, free: 9.406 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.592e-05/0.02075, allocations: 65.69 kB / 371 MB, free: 9.336 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.02092, allocations: 331.4 kB / 371.3 MB, free: 9.004 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.02105, allocations: 202.5 kB / 371.5 MB, free: 8.805 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.02127, allocations: 264 kB / 371.8 MB, free: 8.539 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.02143, allocations: 0.5507 MB / 372.3 MB, free: 7.977 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.02173, allocations: 491.1 kB / 372.8 MB, free: 7.434 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005883/0.02232, allocations: 1.122 MB / 373.9 MB, free: 5.996 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.02334, allocations: 1.742 MB / 375.7 MB, free: 3.891 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.02334, allocations: 4 kB / 375.7 MB, free: 3.887 MB / 298.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001284/0.02463, allocations: 1.702 MB / 377.4 MB, free: 2.055 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.02476, allocations: 329 kB / 377.7 MB, free: 1.672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.02477, allocations: 12.81 kB / 377.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.02479, allocations: 19.98 kB / 377.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.02508, allocations: 167.7 kB / 377.9 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.02509, allocations: 31.84 kB / 377.9 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.02535, allocations: 135.5 kB / 378.1 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.574e-05/0.02541, allocations: 48 kB / 378.1 MB, free: 1.262 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: 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.0004883/0.0259, allocations: 0.7072 MB / 378.8 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.02603, allocations: 131.6 kB / 378.9 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.02759, allocations: 1.792 MB / 380.7 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.02761, allocations: 11.98 kB / 380.7 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.02761, allocations: 0 / 380.7 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.02762, allocations: 0 / 380.7 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.02987, allocations: 2.511 MB / 383.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.02987, allocations: 0 / 383.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.504e-05/0.02993, allocations: 23.92 kB / 383.3 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.02994, allocations: 4 kB / 383.3 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-05/0.03, allocations: 39.97 kB / 383.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.03, allocations: 0 / 383.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.03, allocations: 8 kB / 383.3 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.03185, allocations: 2.324 MB / 385.7 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.03189, allocations: 55.47 kB / 385.7 MB, free: 9.273 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.03201, allocations: 71.98 kB / 385.8 MB, free: 9.203 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.03223, allocations: 83.88 kB / 385.9 MB, free: 9.121 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000346/0.03258, allocations: 303.7 kB / 386.2 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.203e-05/0.03264, allocations: 43.97 kB / 386.2 MB, free: 8.781 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001091/0.03275, allocations: 214.9 kB / 386.4 MB, free: 8.574 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03275, allocations: 0 / 386.4 MB, free: 8.574 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006689/0.03342, allocations: 347.5 kB / 386.7 MB, free: 8.234 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.0005251/0.03394, allocations: 404.3 kB / 387.1 MB, free: 7.855 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.03531, allocations: 2.032 MB / 389.2 MB, free: 5.582 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.03531, allocations: 4.062 kB / 389.2 MB, free: 5.578 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008215/0.03613, allocations: 1.292 MB / 390.5 MB, free: 4.137 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.03647, allocations: 104.5 kB / 390.6 MB, free: 4.035 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.0381, allocations: 1.587 MB / 392.2 MB, free: 2.363 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.03821, allocations: 159.9 kB / 392.3 MB, free: 2.188 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000144/0.03836, allocations: 77.16 kB / 392.4 MB, free: 2.113 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005283/0.03888, allocations: 338.1 kB / 392.7 MB, free: 1.781 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.03888, allocations: 3.938 kB / 392.7 MB, free: 1.777 MB / 314.7 MB Notification: Performance of Templates: time 0.01533/0.05422, allocations: 14.96 MB / 407.7 MB, free: 2.863 MB / 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.286885623820126]