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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.DisTest.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001445, allocations: 107.8 kB / 16.37 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001716, allocations: 194 kB / 17.31 MB, free: 5.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07573/0.07573, allocations: 16.73 MB / 307.9 MB, free: 14.26 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 64.03 kB / 373 MB, free: 48.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08436/0.08559, allocations: 53.47 MB / 426.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.002519/0.08815, allocations: 1.865 MB / 428.4 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002542/0.09071, allocations: 1.917 MB / 430.3 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001892/0.09091, allocations: 4 kB / 430.3 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.09124, allocations: 115 kB / 430.4 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003635/0.09161, allocations: 134.9 kB / 430.5 MB, free: 7.727 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.09333, allocations: 0.9044 MB / 431.4 MB, free: 6.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001101/0.09444, allocations: 1.505 MB / 432.9 MB, free: 5.312 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002692/0.09472, allocations: 255 kB / 433.2 MB, free: 5.047 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004061/0.09514, allocations: 0.5764 MB / 433.8 MB, free: 4.469 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003786/0.09552, allocations: 0.4941 MB / 434.3 MB, free: 3.973 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.09566, allocations: 140 kB / 434.4 MB, free: 3.836 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007453/0.09641, allocations: 0.7959 MB / 435.2 MB, free: 3.039 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.09659, allocations: 207.2 kB / 435.4 MB, free: 2.836 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000416/0.09702, allocations: 0.572 MB / 436 MB, free: 2.262 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.09832, allocations: 1.8 MB / 437.8 MB, free: 468 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.09834, allocations: 4 kB / 437.8 MB, free: 464 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.09835, allocations: 0 / 437.8 MB, free: 464 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.09837, allocations: 0 / 437.8 MB, free: 464 kB / 302.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.00194/0.1003, allocations: 1.546 MB / 439.3 MB, free: 14.79 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.1004, allocations: 15.83 kB / 439.3 MB, free: 14.78 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004177/0.1008, allocations: 131.8 kB / 439.5 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008019/0.1016, allocations: 0.5427 MB / 440 MB, free: 14.06 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.1017, allocations: 137.4 kB / 440.1 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.1019, allocations: 124 kB / 440.3 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002934/0.1049, allocations: 2.025 MB / 442.3 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.1049, allocations: 11.94 kB / 442.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.1051, allocations: 55.97 kB / 442.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/0.1052, allocations: 93.23 kB / 442.4 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.1074, allocations: 1.43 MB / 443.9 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00512/0.1125, allocations: 4.236 MB / 448.1 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/0.115, allocations: 2.414 MB / 450.5 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002143/0.1171, allocations: 2.311 MB / 452.8 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.1173, allocations: 85.09 kB / 452.9 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001846/0.1191, allocations: 1.304 MB / 454.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 2.345e-06/0.1191, allocations: 0 / 454.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=91): time 0.005703/0.1248, allocations: 3.974 MB / 458.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003784/0.1252, allocations: 0.6535 MB / 458.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005629/0.1258, allocations: 0.5089 MB / 459.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.1259, allocations: 73.69 kB / 459.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.1262, allocations: 355.7 kB / 459.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/0.1264, allocations: 225.3 kB / 460 MB, free: 9.578 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00037/0.1268, allocations: 302.7 kB / 460.3 MB, free: 9.273 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1269, allocations: 326 kB / 460.6 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008272/0.1277, allocations: 0.5576 MB / 461.2 MB, free: 8.395 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.129, allocations: 1.024 MB / 462.2 MB, free: 7.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003571/0.1326, allocations: 3.185 MB / 465.4 MB, free: 3.582 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/0.1326, allocations: 4 kB / 465.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003097/0.1357, allocations: 2.225 MB / 467.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001969/0.1359, allocations: 356.9 kB / 468 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.1359, allocations: 16 kB / 468 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-05/0.136, allocations: 24 kB / 468 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/0.1364, allocations: 159.6 kB / 468.2 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.09e-05/0.1364, allocations: 31.86 kB / 468.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006059/0.1371, allocations: 170.9 kB / 468.4 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.1372, allocations: 68 kB / 468.4 MB, free: 424 kB / 334.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.001287/0.1385, allocations: 0.8922 MB / 469.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.1387, allocations: 103.2 kB / 469.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004884/0.1436, allocations: 3.345 MB / 472.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.1436, allocations: 8 kB / 472.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1436, allocations: 0 / 472.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.1436, allocations: 3.984 kB / 472.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006545/0.1502, allocations: 4.763 MB / 477.5 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.1502, allocations: 0 / 477.5 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.1504, allocations: 35.92 kB / 477.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.1504, allocations: 0 / 477.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/0.1505, allocations: 55.97 kB / 477.6 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1505, allocations: 0 / 477.6 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1505, allocations: 0 / 477.6 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004752/0.1553, allocations: 3.478 MB / 481.1 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.1554, allocations: 140.2 kB / 481.2 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002846/0.1557, allocations: 95.97 kB / 481.3 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006292/0.1563, allocations: 103.9 kB / 481.4 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000616/0.157, allocations: 376 kB / 481.8 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/0.1571, allocations: 67.95 kB / 481.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003895/0.1575, allocations: 303.1 kB / 482.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1576, allocations: 0 / 482.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001359/0.1589, allocations: 487.4 kB / 482.6 MB, free: 1.883 MB / 350.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.0008761/0.1598, allocations: 480.3 kB / 483.1 MB, free: 1.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003449/0.1633, allocations: 2.665 MB / 485.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1633, allocations: 0 / 485.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003753/0.1671, allocations: 4.494 MB / 490.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006943/0.1678, allocations: 136 kB / 490.4 MB, free: 9.914 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/0.1713, allocations: 2.246 MB / 492.6 MB, free: 7.637 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/0.1719, allocations: 1.018 MB / 493.7 MB, free: 6.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004656/0.1724, allocations: 217.2 kB / 493.9 MB, free: 6.375 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.1725, allocations: 55.42 kB / 493.9 MB, free: 6.32 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1725, allocations: 0 / 493.9 MB, free: 6.32 MB / 366.1 MB Notification: Performance of Templates: time 0.02695/0.1995, allocations: 18.23 MB / 0.5002 GB, free: 3.977 MB / 382.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.makefile (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 -s gbode -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches