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.001386/0.001386, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.00157/0.00157, allocations: 214.1 kB / 22.24 MB, free: 5.262 MB / 14.72 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 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.0856/0.0856, allocations: 16.95 MB / 329.4 MB, free: 2.07 MB / 254.1 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: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 71.89 kB / 460.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1043, allocations: 57.63 MB / 0.5057 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.003353/0.1076, allocations: 1.736 MB / 0.5074 GB, free: 6.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003732/0.1113, allocations: 1.851 MB / 0.5092 GB, free: 4.297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.1116, allocations: 7.938 kB / 0.5092 GB, free: 4.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.1119, allocations: 123 kB / 0.5093 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00042/0.1124, allocations: 158.9 kB / 0.5095 GB, free: 4.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.1143, allocations: 0.9473 MB / 0.5104 GB, free: 3.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001662/0.116, allocations: 1.42 MB / 0.5118 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.1162, allocations: 107.6 kB / 0.5119 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006637/0.1169, allocations: 0.5844 MB / 0.5124 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007077/0.1176, allocations: 0.5212 MB / 0.513 GB, free: 420 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002181/0.1178, allocations: 144 kB / 0.5131 GB, free: 276 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1915/0.3093, allocations: 0.9162 MB / 0.514 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003684/0.3097, allocations: 217.5 kB / 0.5142 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006553/0.3104, allocations: 500 kB / 0.5147 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001951/0.3123, allocations: 1.83 MB / 0.5165 GB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3123, allocations: 0 / 0.5165 GB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3123, allocations: 0.5625 kB / 0.5165 GB, free: 10.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.3123, allocations: 0 / 0.5165 GB, free: 10.95 MB / 382.1 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.001864/0.3142, allocations: 1.494 MB / 0.5179 GB, free: 10.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3142, allocations: 10.31 kB / 0.5179 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004406/0.3147, allocations: 136.8 kB / 0.5181 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008538/0.3155, allocations: 488.4 kB / 0.5185 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.3157, allocations: 198.6 kB / 0.5187 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.3159, allocations: 117.3 kB / 0.5188 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003333/0.3192, allocations: 2.66 MB / 0.5214 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.3192, allocations: 2.969 kB / 0.5214 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/0.3194, allocations: 57.38 kB / 0.5215 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000163/0.3195, allocations: 92.77 kB / 0.5216 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002616/0.3221, allocations: 1.833 MB / 0.5234 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004659/0.3268, allocations: 3.739 MB / 0.527 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/0.3287, allocations: 1.421 MB / 0.5284 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.3303, allocations: 1.328 MB / 0.5297 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.437e-05/0.3304, allocations: 6.109 kB / 0.5297 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002063/0.3325, allocations: 1.75 MB / 0.5314 GB, free: 3.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 2.725e-06/0.3325, allocations: 0 / 0.5314 GB, free: 3.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.006452/0.3389, allocations: 4.915 MB / 0.5362 GB, free: 1.199 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002854/0.3392, allocations: 0.6516 MB / 0.5368 GB, free: 0.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004636/0.3397, allocations: 475.7 kB / 0.5373 GB, free: 288 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-05/0.3398, allocations: 81.25 kB / 0.5374 GB, free: 232 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.34, allocations: 370.6 kB / 0.5377 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/0.3402, allocations: 239 kB / 0.538 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004055/0.3406, allocations: 310 kB / 0.5383 GB, free: 15.65 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3408, allocations: 320.6 kB / 0.5386 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.3419, allocations: 0.8871 MB / 0.5394 GB, free: 14.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/0.3435, allocations: 1.528 MB / 0.5409 GB, free: 13.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00395/0.3475, allocations: 3.217 MB / 0.5441 GB, free: 11.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.606e-05/0.3475, allocations: 3.688 kB / 0.5441 GB, free: 11.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003618/0.3511, allocations: 2.587 MB / 0.5466 GB, free: 9.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002721/0.3514, allocations: 343.4 kB / 0.5469 GB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/0.3514, allocations: 13.97 kB / 0.5469 GB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.851e-05/0.3514, allocations: 25.45 kB / 0.547 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.3519, allocations: 161.8 kB / 0.5471 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.469e-05/0.3519, allocations: 35.55 kB / 0.5471 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006797/0.3526, allocations: 156.2 kB / 0.5473 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.3527, allocations: 67.97 kB / 0.5474 GB, free: 9.387 MB / 398.1 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.001354/0.3541, allocations: 0.8786 MB / 0.5482 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/0.3543, allocations: 98.39 kB / 0.5483 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005844/0.3602, allocations: 3.892 MB / 0.5521 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/0.3602, allocations: 13.72 kB / 0.5521 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3602, allocations: 0 / 0.5521 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.3602, allocations: 6.25 kB / 0.5521 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007489/0.3677, allocations: 4.926 MB / 0.5569 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3677, allocations: 0 / 0.5569 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.3679, allocations: 39.23 kB / 0.557 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.3679, allocations: 6.812 kB / 0.557 GB, free: 3.496 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/0.368, allocations: 55.36 kB / 0.557 GB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.368, allocations: 1.375 kB / 0.557 GB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.368, allocations: 4 kB / 0.557 GB, free: 3.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006067/0.3741, allocations: 4.029 MB / 0.561 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.3742, allocations: 67.36 kB / 0.561 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002803/0.3745, allocations: 95.91 kB / 0.5611 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006622/0.3751, allocations: 105 kB / 0.5612 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006687/0.3758, allocations: 382.3 kB / 0.5616 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/0.3759, allocations: 59.97 kB / 0.5617 GB, free: 15.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003043/0.3762, allocations: 251.2 kB / 0.5619 GB, free: 14.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3762, allocations: 0 / 0.5619 GB, free: 14.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00155/0.3778, allocations: 0.4914 MB / 0.5624 GB, free: 14.32 MB / 414.1 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.001003/0.3788, allocations: 484.8 kB / 0.5628 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00442/0.3832, allocations: 3.213 MB / 0.566 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3832, allocations: 4.062 kB / 0.566 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002743/0.386, allocations: 2.025 MB / 0.568 GB, free: 8.336 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006144/0.3866, allocations: 115.6 kB / 0.5681 GB, free: 8.227 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004407/0.391, allocations: 2.638 MB / 0.5706 GB, free: 5.516 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.3915, allocations: 432.3 kB / 0.5711 GB, free: 5.066 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005143/0.392, allocations: 212.2 kB / 0.5713 GB, free: 4.859 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.3921, allocations: 51.42 kB / 0.5713 GB, free: 4.812 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3921, allocations: 0 / 0.5713 GB, free: 4.812 MB / 414.1 MB Notification: Performance of Templates: time 0.03136/0.4235, allocations: 18.99 MB / 0.5899 GB, free: 1.816 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe 2>&1) [Timeout 480] 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.3715124651789665]