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.001657/0.001657, allocations: 111.5 kB / 16.37 MB, free: 6.012 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.002229/0.002228, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.427/1.427, 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.07512/0.07512, allocations: 16.72 MB / 307.9 MB, free: 14.25 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 63.84 kB / 373 MB, free: 48.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.129, allocations: 53.48 MB / 426.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.003169/0.1322, allocations: 1.853 MB / 428.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003207/0.1355, allocations: 1.913 MB / 430.3 MB, free: 7.969 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003917/0.1359, allocations: 11.94 kB / 430.3 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003817/0.1363, allocations: 119 kB / 430.4 MB, free: 7.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003755/0.1367, allocations: 130.9 kB / 430.5 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.1385, allocations: 0.9044 MB / 431.4 MB, free: 6.805 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001224/0.1398, allocations: 1.501 MB / 432.9 MB, free: 5.301 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002975/0.1401, allocations: 267 kB / 433.2 MB, free: 5.023 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004364/0.1405, allocations: 0.5687 MB / 433.8 MB, free: 4.453 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004092/0.1409, allocations: 0.4902 MB / 434.3 MB, free: 3.961 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.1411, allocations: 140 kB / 434.4 MB, free: 3.824 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.1421, allocations: 0.8037 MB / 435.2 MB, free: 3.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.1424, allocations: 207.3 kB / 435.4 MB, free: 2.816 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004849/0.1428, allocations: 0.5681 MB / 436 MB, free: 2.246 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.1446, allocations: 1.796 MB / 437.8 MB, free: 456 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1446, allocations: 0 / 437.8 MB, free: 456 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1446, allocations: 0 / 437.8 MB, free: 456 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.1447, allocations: 3.984 kB / 437.8 MB, free: 452 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.002205/0.1469, allocations: 1.554 MB / 439.3 MB, free: 14.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.1469, allocations: 11.89 kB / 439.3 MB, free: 14.76 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004627/0.1474, allocations: 127.9 kB / 439.5 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008786/0.1483, allocations: 0.5428 MB / 440 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.1485, allocations: 137.4 kB / 440.1 MB, free: 13.9 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.1486, allocations: 116 kB / 440.3 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003002/0.1517, allocations: 2.036 MB / 442.3 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.1517, allocations: 0 / 442.3 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.1518, allocations: 55.97 kB / 442.3 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001608/0.152, allocations: 93.23 kB / 442.4 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002263/0.1543, allocations: 1.427 MB / 443.9 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005546/0.1598, allocations: 4.247 MB / 448.1 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002651/0.1625, allocations: 2.418 MB / 450.5 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002272/0.1648, allocations: 2.303 MB / 452.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.165, allocations: 85.05 kB / 452.9 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001999/0.167, allocations: 1.304 MB / 454.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 2.695e-06/0.167, allocations: 8 kB / 454.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=91): time 0.00586/0.1729, allocations: 3.962 MB / 458.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004775/0.1734, allocations: 0.6613 MB / 458.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007226/0.1741, allocations: 0.5128 MB / 459.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.1742, allocations: 73.69 kB / 459.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.1745, allocations: 351.7 kB / 459.8 MB, free: 9.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.1747, allocations: 225.3 kB / 460 MB, free: 9.566 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004151/0.1752, allocations: 306.7 kB / 460.3 MB, free: 9.258 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1753, allocations: 330 kB / 460.6 MB, free: 8.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008129/0.1761, allocations: 0.5459 MB / 461.2 MB, free: 8.387 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.1773, allocations: 1.028 MB / 462.2 MB, free: 7.152 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003708/0.181, allocations: 3.196 MB / 465.4 MB, free: 3.559 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.131e-05/0.1811, allocations: 4 kB / 465.4 MB, free: 3.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003165/0.1842, allocations: 2.221 MB / 467.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002889/0.1845, allocations: 356.9 kB / 468 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/0.1846, allocations: 12.08 kB / 468 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.337e-05/0.1846, allocations: 20 kB / 468 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.1851, allocations: 160.3 kB / 468.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.638e-05/0.1852, allocations: 39.84 kB / 468.2 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007287/0.1859, allocations: 158.6 kB / 468.3 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.186, allocations: 71.98 kB / 468.4 MB, free: 412 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.00158/0.1876, allocations: 0.8999 MB / 469.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.1879, allocations: 99.19 kB / 469.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004585/0.1924, allocations: 3.341 MB / 472.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.1925, allocations: 12 kB / 472.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.1925, allocations: 0 / 472.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.1925, allocations: 3.984 kB / 472.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006574/0.1991, allocations: 4.752 MB / 477.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.1991, allocations: 0 / 477.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.1993, allocations: 35.92 kB / 477.6 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1993, allocations: 0 / 477.6 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.1994, allocations: 59.97 kB / 477.6 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-06/0.1994, allocations: 0 / 477.6 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.1995, allocations: 4 kB / 477.6 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004641/0.2041, allocations: 3.474 MB / 481.1 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.2043, allocations: 148.2 kB / 481.2 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/0.2045, allocations: 87.97 kB / 481.3 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006188/0.2051, allocations: 103.9 kB / 481.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006601/0.2058, allocations: 376.1 kB / 481.8 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/0.206, allocations: 67.94 kB / 481.9 MB, free: 2.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004332/0.2064, allocations: 303.1 kB / 482.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.426e-06/0.2064, allocations: 0 / 482.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001773/0.2082, allocations: 491.4 kB / 482.6 MB, free: 1.871 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.0009584/0.2092, allocations: 480.5 kB / 483.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00337/0.2126, allocations: 2.664 MB / 485.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2126, allocations: 0 / 485.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003568/0.2162, allocations: 4.49 MB / 490.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006839/0.2169, allocations: 143.7 kB / 490.4 MB, free: 9.902 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.2203, allocations: 2.234 MB / 492.6 MB, free: 7.637 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/0.2209, allocations: 1.034 MB / 493.7 MB, free: 6.574 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004744/0.2214, allocations: 209.7 kB / 493.9 MB, free: 6.367 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.2215, allocations: 47.44 kB / 493.9 MB, free: 6.32 MB / 366.1 MB Notification: Performance of SimCode: time 4.6e-07/0.2215, allocations: 7.938 kB / 493.9 MB, free: 6.312 MB / 366.1 MB Notification: Performance of Templates: time 0.03651/0.258, allocations: 18.24 MB / 0.5002 GB, free: 3.965 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 cvode -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