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.001662/0.001662, allocations: 89.48 kB / 19.44 MB, free: 336 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.001939/0.001939, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.586/1.586, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.0889/0.0889, allocations: 12.67 MB / 272.2 MB, free: 0.5195 MB / 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 1.503e-06/1.503e-06, allocations: 0 / 345.7 MB, free: 2.277 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.42e-05, allocations: 4 kB / 345.7 MB, free: 2.273 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.00229/0.002314, allocations: 1.785 MB / 347.5 MB, free: 488 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003743/0.006057, allocations: 1.909 MB / 349.4 MB, free: 14.56 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.006269, allocations: 11.94 kB / 349.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003923/0.006661, allocations: 123 kB / 349.6 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004549/0.007116, allocations: 139 kB / 349.7 MB, free: 14.29 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.00931, allocations: 0.9614 MB / 350.7 MB, free: 13.33 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001687/0.011, allocations: 1.349 MB / 352 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.01118, allocations: 69.14 kB / 352.1 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.01242, allocations: 0.7643 MB / 352.9 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005883/0.01301, allocations: 322.9 kB / 353.2 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.01317, allocations: 92 kB / 353.3 MB, free: 10.74 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.01428, allocations: 0.6044 MB / 353.9 MB, free: 10.13 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002361/0.01452, allocations: 155.3 kB / 354 MB, free: 9.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004391/0.01496, allocations: 287.3 kB / 354.3 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.01689, allocations: 1.356 MB / 355.7 MB, free: 8.34 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.01689, allocations: 0 / 355.7 MB, free: 8.34 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01689, allocations: 0 / 355.7 MB, free: 8.34 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.0169, allocations: 0 / 355.7 MB, free: 8.34 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.002035/0.01893, allocations: 1.337 MB / 357 MB, free: 6.902 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.01898, allocations: 12.03 kB / 357 MB, free: 6.891 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004743/0.01945, allocations: 168.5 kB / 357.2 MB, free: 6.727 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007551/0.0202, allocations: 368.4 kB / 357.5 MB, free: 6.336 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.02035, allocations: 113 kB / 357.6 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.0205, allocations: 83.98 kB / 357.7 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/0.02325, allocations: 1.741 MB / 359.5 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.02327, allocations: 4 kB / 359.5 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.02338, allocations: 32 kB / 359.5 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/0.0235, allocations: 56.89 kB / 359.5 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002382/0.02588, allocations: 1.126 MB / 360.7 MB, free: 2.945 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00526/0.03114, allocations: 3.868 MB / 364.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.03304, allocations: 1.231 MB / 365.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001883/0.03492, allocations: 1.139 MB / 366.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.812e-05/0.03498, allocations: 8.234 kB / 366.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001935/0.03691, allocations: 1.242 MB / 368.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 2.335e-06/0.03692, allocations: 0 / 368.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.005287/0.0422, allocations: 3.166 MB / 371.3 MB, free: 7.773 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004935/0.0427, allocations: 0.556 MB / 371.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006804/0.04338, allocations: 0.5174 MB / 372.4 MB, free: 6.582 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.04348, allocations: 69.69 kB / 372.5 MB, free: 6.508 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/0.04381, allocations: 323.7 kB / 372.8 MB, free: 6.188 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002825/0.04409, allocations: 234.6 kB / 373 MB, free: 5.957 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000522/0.04461, allocations: 324.2 kB / 373.3 MB, free: 5.633 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0006814/0.04529, allocations: 0.586 MB / 373.9 MB, free: 5.035 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009554/0.04625, allocations: 0.6397 MB / 374.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.04787, allocations: 1.305 MB / 375.9 MB, free: 2.727 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002941/0.05081, allocations: 2.022 MB / 377.9 MB, free: 356 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.251e-05/0.05083, allocations: 7.938 kB / 377.9 MB, free: 348 kB / 298.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003332/0.05416, allocations: 1.991 MB / 379.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002908/0.05445, allocations: 329 kB / 380.2 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.05447, allocations: 8 kB / 380.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.504e-05/0.05451, allocations: 23.94 kB / 380.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007979/0.05531, allocations: 159.7 kB / 380.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.48e-05/0.05534, allocations: 31.91 kB / 380.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005378/0.05588, allocations: 123.7 kB / 380.5 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.05598, allocations: 52 kB / 380.6 MB, free: 13.44 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.001175/0.05716, allocations: 0.7628 MB / 381.4 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002824/0.05744, allocations: 127.7 kB / 381.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003673/0.06111, allocations: 2.156 MB / 383.6 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.57e-05/0.06114, allocations: 15.81 kB / 383.7 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.06115, allocations: 0 / 383.7 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.06115, allocations: 0 / 383.7 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004468/0.06562, allocations: 2.807 MB / 386.5 MB, free: 7.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.06562, allocations: 0 / 386.5 MB, free: 7.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.06575, allocations: 23.98 kB / 386.5 MB, free: 7.297 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.06575, allocations: 4 kB / 386.5 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.06586, allocations: 47.92 kB / 386.5 MB, free: 7.246 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.06586, allocations: 3.984 kB / 386.5 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.06586, allocations: 0 / 386.5 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004554/0.07042, allocations: 2.733 MB / 389.3 MB, free: 4.379 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-05/0.0705, allocations: 47.59 kB / 389.3 MB, free: 4.332 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.0707, allocations: 71.97 kB / 389.4 MB, free: 4.262 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004638/0.07117, allocations: 71.94 kB / 389.5 MB, free: 4.191 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006321/0.0718, allocations: 319.7 kB / 389.8 MB, free: 3.879 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.07191, allocations: 47.97 kB / 389.8 MB, free: 3.832 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002847/0.0722, allocations: 255 kB / 390.1 MB, free: 3.586 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0722, allocations: 0 / 390.1 MB, free: 3.586 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001147/0.07335, allocations: 347.5 kB / 390.4 MB, free: 3.246 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.0009469/0.07429, allocations: 405.9 kB / 390.8 MB, free: 2.863 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003649/0.07794, allocations: 2.552 MB / 393.4 MB, free: 80 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.07794, allocations: 0 / 393.4 MB, free: 80 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002763/0.08071, allocations: 1.971 MB / 395.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/0.08128, allocations: 92.88 kB / 395.4 MB, free: 13.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/0.08477, allocations: 1.806 MB / 397.2 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.08515, allocations: 300.5 kB / 397.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003626/0.08551, allocations: 132.8 kB / 397.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.08564, allocations: 48.48 kB / 397.7 MB, free: 11.47 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.08564, allocations: 0 / 397.7 MB, free: 11.47 MB / 330.7 MB Notification: Performance of Templates: time 0.1493/0.235, allocations: 13.33 MB / 411 MB, free: 72.5 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.247830220963806]