Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.002421/0.002421, allocations: 85.48 kB / 19.44 MB, free: 344 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.001995/0.001995, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.559/1.559, allocations: 177.1 MB / 203.1 MB, free: 5.637 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.08606/0.08606, allocations: 12.67 MB / 272.2 MB, free: 0.5352 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.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") translateModel(PNlib.Examples.DisTest.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 3.938 kB / 345.7 MB, free: 2.305 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.514e-05, allocations: 2.312 kB / 345.8 MB, free: 2.301 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.002486/0.002511, allocations: 1.788 MB / 347.5 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003787/0.006298, allocations: 1.87 MB / 349.4 MB, free: 14.63 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003084/0.006607, allocations: 7.938 kB / 349.4 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004356/0.007042, allocations: 130.9 kB / 349.5 MB, free: 14.49 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004892/0.007532, allocations: 162.8 kB / 349.7 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00237/0.009902, allocations: 0.9508 MB / 350.7 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001979/0.01188, allocations: 1.431 MB / 352.1 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000269/0.01215, allocations: 111.5 kB / 352.2 MB, free: 11.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.01326, allocations: 0.8189 MB / 353 MB, free: 11 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007604/0.01402, allocations: 486.6 kB / 353.5 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002211/0.01424, allocations: 136 kB / 353.6 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.01585, allocations: 0.9359 MB / 354.6 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002868/0.01614, allocations: 223.1 kB / 354.8 MB, free: 9.234 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000742/0.01688, allocations: 435.1 kB / 355.2 MB, free: 8.809 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002832/0.01971, allocations: 2.092 MB / 357.3 MB, free: 6.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.01972, allocations: 0 / 357.3 MB, free: 6.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01972, allocations: 4 kB / 357.3 MB, free: 6.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.01974, allocations: 0 / 357.3 MB, free: 6.707 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.00254/0.02228, allocations: 1.638 MB / 358.9 MB, free: 4.965 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.02232, allocations: 8.031 kB / 358.9 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006383/0.02296, allocations: 240.3 kB / 359.2 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009907/0.02395, allocations: 488 kB / 359.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002069/0.02416, allocations: 185.4 kB / 359.8 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002152/0.02437, allocations: 127.9 kB / 360 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004075/0.02845, allocations: 2.537 MB / 362.5 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.02847, allocations: 3.938 kB / 362.5 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/0.02862, allocations: 63.97 kB / 362.6 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001833/0.0288, allocations: 89.23 kB / 362.7 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002811/0.03161, allocations: 1.639 MB / 364.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006934/0.03854, allocations: 4.894 MB / 369.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/0.04156, allocations: 1.8 MB / 371 MB, free: 8.402 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002358/0.04392, allocations: 1.723 MB / 372.7 MB, free: 6.625 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.04403, allocations: 15.98 kB / 372.7 MB, free: 6.609 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002584/0.04662, allocations: 1.686 MB / 374.4 MB, free: 4.824 MB / 298.7 MB Notification: Performance of pre-optimization done (n=91): time 2.364e-06/0.04662, allocations: 0 / 374.4 MB, free: 4.824 MB / 298.7 MB Notification: Performance of matching and sorting (n=91): time 0.007481/0.0541, allocations: 4.586 MB / 379 MB, free: 80 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005793/0.05468, allocations: 0.6457 MB / 379.6 MB, free: 15.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009182/0.0556, allocations: 0.6425 MB / 380.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.05572, allocations: 73.69 kB / 380.4 MB, free: 14.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004007/0.05612, allocations: 431.5 kB / 380.8 MB, free: 14.15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003151/0.05644, allocations: 290.3 kB / 381.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006182/0.05705, allocations: 424.5 kB / 381.5 MB, free: 13.44 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002639/0.05732, allocations: 0.4965 MB / 382 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.0584, allocations: 0.75 MB / 382.7 MB, free: 12.13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/0.0606, allocations: 1.629 MB / 384.3 MB, free: 10.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003261/0.06386, allocations: 2.487 MB / 386.8 MB, free: 7.195 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.619e-05/0.06387, allocations: 8 kB / 386.8 MB, free: 7.188 MB / 314.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003888/0.06776, allocations: 2.384 MB / 389.2 MB, free: 4.672 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002985/0.06806, allocations: 340.9 kB / 389.6 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.419e-05/0.06809, allocations: 16 kB / 389.6 MB, free: 4.262 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.453e-05/0.06814, allocations: 23.94 kB / 389.6 MB, free: 4.238 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006573/0.0688, allocations: 203.6 kB / 389.8 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001402/0.06894, allocations: 32.42 kB / 389.8 MB, free: 4.008 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006674/0.0696, allocations: 159.1 kB / 390 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.06973, allocations: 71.98 kB / 390.1 MB, free: 3.781 MB / 314.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" 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.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.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 P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer 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 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: 62 * Number of states: 0 () * Number of discrete variables: 149 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,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],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$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,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[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.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],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.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[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,$whenCondition1,$whenCondition3,$whenCondition4,P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 154 * 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.001392/0.07112, allocations: 0.8669 MB / 390.9 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003698/0.07149, allocations: 163.6 kB / 391.1 MB, free: 2.695 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005991/0.07749, allocations: 3.576 MB / 394.7 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.258e-05/0.07751, allocations: 8 kB / 394.7 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.07751, allocations: 0 / 394.7 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.07752, allocations: 7.922 kB / 394.7 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008281/0.0858, allocations: 4.76 MB / 399.4 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.08581, allocations: 3.938 kB / 399.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.08597, allocations: 39.92 kB / 399.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-06/0.08598, allocations: 3.984 kB / 399.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/0.08611, allocations: 51.98 kB / 399.5 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/0.08612, allocations: 7.922 kB / 399.5 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.08612, allocations: 0 / 399.5 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00622/0.09234, allocations: 3.858 MB / 403.4 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.09247, allocations: 59.44 kB / 403.5 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002619/0.09273, allocations: 87.97 kB / 403.5 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006471/0.09338, allocations: 111.9 kB / 403.7 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007011/0.09408, allocations: 368.1 kB / 404 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002544/0.09433, allocations: 59.97 kB / 404.1 MB, free: 5.344 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003437/0.09468, allocations: 295.1 kB / 404.4 MB, free: 5.055 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09468, allocations: 4 kB / 404.4 MB, free: 5.051 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00154/0.09622, allocations: 499.2 kB / 404.8 MB, free: 4.562 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 81 (T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$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.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],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,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 56 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 36 * 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.001174/0.09739, allocations: 0.5113 MB / 405.4 MB, free: 4.062 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004533/0.1019, allocations: 3.108 MB / 408.5 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1019, allocations: 1.812 kB / 408.5 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1249/0.2269, allocations: 2.671 MB / 411.1 MB, free: 72.83 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.2275, allocations: 144.5 kB / 411.3 MB, free: 72.83 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003598/0.2311, allocations: 2.451 MB / 413.7 MB, free: 72.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.2316, allocations: 411.3 kB / 414.1 MB, free: 71.97 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004508/0.232, allocations: 193.4 kB / 414.3 MB, free: 71.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.2322, allocations: 54.34 kB / 414.4 MB, free: 71.96 MB / 330.7 MB Notification: Performance of SimCode: time 1.663e-06/0.2322, allocations: 1.531 kB / 414.4 MB, free: 71.96 MB / 330.7 MB Notification: Performance of Templates: time 0.02331/0.2555, allocations: 18.52 MB / 432.9 MB, free: 57.96 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.sim & ./PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.370115523110144]