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.006784/0.006784, allocations: 102.4 kB / 15.74 MB, free: 6.039 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.001199/0.001199, allocations: 200.5 kB / 16.68 MB, free: 5.965 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2633/0.2633, allocations: 16.75 MB / 307.3 MB, free: 14.86 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 65.77 kB / 426.4 MB, free: 37.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1198, allocations: 53.47 MB / 479.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.003974/0.1238, allocations: 1.861 MB / 481.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004243/0.1281, allocations: 1.913 MB / 483.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007814/0.1289, allocations: 10.16 kB / 483.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005419/0.1294, allocations: 117.3 kB / 483.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008195/0.1303, allocations: 137.3 kB / 483.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002476/0.1328, allocations: 0.8956 MB / 484.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002306/0.1351, allocations: 1.51 MB / 486.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005219/0.1357, allocations: 263 kB / 486.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.1369, allocations: 0.5692 MB / 487.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.1382, allocations: 0.4889 MB / 487.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000668/0.1389, allocations: 142.2 kB / 487.7 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001929/0.1409, allocations: 0.808 MB / 488.5 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004629/0.1413, allocations: 203.2 kB / 488.7 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.1426, allocations: 0.5681 MB / 489.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003653/0.1462, allocations: 1.823 MB / 491.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1463, allocations: 4 kB / 491.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1463, allocations: 0 / 491.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.294e-05/0.1464, allocations: 0 / 491.1 MB, free: 1.449 MB / 350.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.00428/0.1506, allocations: 1.571 MB / 492.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.84e-05/0.1507, allocations: 11.89 kB / 492.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000954/0.1517, allocations: 136.4 kB / 492.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.1534, allocations: 0.5505 MB / 493.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002578/0.1536, allocations: 137.4 kB / 493.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003436/0.154, allocations: 120 kB / 493.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005073/0.1591, allocations: 2.033 MB / 495.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.1592, allocations: 11.94 kB / 495.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002261/0.1594, allocations: 55.97 kB / 495.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002467/0.1596, allocations: 89.23 kB / 495.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003763/0.1634, allocations: 1.426 MB / 497.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008609/0.172, allocations: 4.241 MB / 0.4897 GB, free: 6.691 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003942/0.176, allocations: 2.403 MB / 0.4921 GB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003346/0.1794, allocations: 2.316 MB / 0.4944 GB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.1796, allocations: 85.09 kB / 0.4944 GB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002753/0.1823, allocations: 1.303 MB / 0.4957 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 4.368e-06/0.1824, allocations: 0 / 0.4957 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of matching and sorting (n=91): time 0.008771/0.1912, allocations: 3.974 MB / 0.4996 GB, free: 12.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007187/0.1919, allocations: 0.6613 MB / 0.5002 GB, free: 11.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.1931, allocations: 0.513 MB / 0.5007 GB, free: 11.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.1932, allocations: 77.69 kB / 0.5008 GB, free: 11.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005205/0.1938, allocations: 360.8 kB / 0.5012 GB, free: 10.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003587/0.1941, allocations: 246.3 kB / 0.5014 GB, free: 10.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006191/0.1948, allocations: 294.8 kB / 0.5017 GB, free: 10.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1949, allocations: 326 kB / 0.502 GB, free: 9.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.1962, allocations: 0.5615 MB / 0.5025 GB, free: 9.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002047/0.1983, allocations: 1.017 MB / 0.5035 GB, free: 8.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00529/0.2036, allocations: 3.196 MB / 0.5066 GB, free: 4.508 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.355e-05/0.2037, allocations: 4 kB / 0.5066 GB, free: 4.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004134/0.2078, allocations: 2.226 MB / 0.5088 GB, free: 2.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002577/0.2081, allocations: 352.9 kB / 0.5092 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.43e-05/0.2081, allocations: 16.25 kB / 0.5092 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.975e-05/0.2082, allocations: 20 kB / 0.5092 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005309/0.2087, allocations: 171.5 kB / 0.5094 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-05/0.2088, allocations: 27.92 kB / 0.5094 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008375/0.2096, allocations: 171.3 kB / 0.5095 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/0.2098, allocations: 64 kB / 0.5096 GB, free: 1.344 MB / 382.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.001685/0.2115, allocations: 0.8888 MB / 0.5105 GB, free: 404 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003412/0.2118, allocations: 107.5 kB / 0.5106 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005374/0.2172, allocations: 3.345 MB / 0.5138 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/0.2173, allocations: 12 kB / 0.5139 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.2173, allocations: 0 / 0.5139 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.2173, allocations: 3.984 kB / 0.5139 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007557/0.2249, allocations: 4.756 MB / 0.5185 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.2249, allocations: 0 / 0.5185 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.2251, allocations: 39.92 kB / 0.5185 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.2251, allocations: 0 / 0.5185 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/0.2252, allocations: 51.97 kB / 0.5186 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.2252, allocations: 4 kB / 0.5186 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2253, allocations: 0 / 0.5186 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005155/0.2304, allocations: 3.482 MB / 0.522 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.2306, allocations: 144.5 kB / 0.5221 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002698/0.2309, allocations: 91.97 kB / 0.5222 GB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006837/0.2316, allocations: 103.9 kB / 0.5223 GB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006717/0.2322, allocations: 380.1 kB / 0.5227 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/0.2324, allocations: 67.91 kB / 0.5227 GB, free: 3.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004294/0.2329, allocations: 299.1 kB / 0.523 GB, free: 3.285 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2329, allocations: 4 kB / 0.523 GB, free: 3.281 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001632/0.2345, allocations: 491.2 kB / 0.5235 GB, free: 2.801 MB / 398.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.001267/0.2358, allocations: 482.8 kB / 0.524 GB, free: 2.344 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004053/0.2398, allocations: 2.669 MB / 0.5266 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.2399, allocations: 4 kB / 0.5266 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004627/0.2445, allocations: 4.486 MB / 0.531 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007962/0.2453, allocations: 141.9 kB / 0.5311 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/0.2494, allocations: 2.264 MB / 0.5333 GB, free: 8.527 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006901/0.2501, allocations: 1.022 MB / 0.5343 GB, free: 7.477 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005485/0.2507, allocations: 209.2 kB / 0.5345 GB, free: 7.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.2509, allocations: 59.42 kB / 0.5346 GB, free: 7.211 MB / 414.1 MB Notification: Performance of SimCode: time 8.81e-07/0.2509, allocations: 0 / 0.5346 GB, free: 7.211 MB / 414.1 MB Notification: Performance of Templates: time 0.033/0.2839, allocations: 18.35 MB / 0.5525 GB, free: 4.746 MB / 430.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches