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.0009006/0.0009006, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001336/0.002236, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008863/0.0008863, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001228/0.002114, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9564/0.9564, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1004/1.057, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.05776/0.05776, allocations: 12.66 MB / 256.8 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007716/0.06547, allocations: 4.687 MB / 261.5 MB, free: 13.55 MB / 266.7 MB " [Timeout remaining time 180] 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.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|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|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 262.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.275e-05, allocations: 2.312 kB / 262.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.003381/0.003404, allocations: 1.809 MB / 264.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003536/0.00694, allocations: 1.905 MB / 266.5 MB, free: 8.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/0.007158, allocations: 7.938 kB / 266.5 MB, free: 8.492 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.007425, allocations: 130.9 kB / 266.7 MB, free: 8.363 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003655/0.00779, allocations: 170.8 kB / 266.8 MB, free: 8.195 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.009341, allocations: 0.8689 MB / 267.7 MB, free: 7.324 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001419/0.01076, allocations: 1.427 MB / 269.1 MB, free: 5.895 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/0.011, allocations: 125.4 kB / 269.2 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009482/0.01195, allocations: 0.8584 MB / 270.1 MB, free: 4.891 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005836/0.01253, allocations: 478.6 kB / 270.6 MB, free: 4.422 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001836/0.01272, allocations: 140 kB / 270.7 MB, free: 4.285 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.01404, allocations: 0.9905 MB / 271.7 MB, free: 3.293 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.01423, allocations: 175.3 kB / 271.9 MB, free: 3.121 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004364/0.01467, allocations: 339.5 kB / 272.2 MB, free: 2.789 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.01617, allocations: 1.457 MB / 273.7 MB, free: 1.328 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.302e-05/0.01618, allocations: 8 kB / 273.7 MB, free: 1.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01618, allocations: 0 / 273.7 MB, free: 1.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.0162, allocations: 0 / 273.7 MB, free: 1.32 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.1178/0.134, allocations: 1.664 MB / 275.3 MB, free: 8.066 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.1341, allocations: 10.25 kB / 275.3 MB, free: 8.066 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004741/0.1345, allocations: 298.9 kB / 275.6 MB, free: 7.973 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004745/0.135, allocations: 330.2 kB / 276 MB, free: 7.828 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.1351, allocations: 193.5 kB / 276.1 MB, free: 7.703 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.1353, allocations: 121.3 kB / 276.3 MB, free: 7.703 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.1372, allocations: 1.89 MB / 278.2 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.1372, allocations: 5.797 kB / 278.2 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.65e-05/0.1373, allocations: 61.36 kB / 278.2 MB, free: 6.902 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001531/0.1375, allocations: 91.38 kB / 278.3 MB, free: 6.902 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.1388, allocations: 1.075 MB / 279.4 MB, free: 6.633 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002647/0.1415, allocations: 3.136 MB / 282.5 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008788/0.1423, allocations: 0.9692 MB / 283.5 MB, free: 4.508 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007276/0.1431, allocations: 0.8828 MB / 284.4 MB, free: 4.207 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.32e-05/0.1431, allocations: 11.09 kB / 284.4 MB, free: 4.207 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/0.1442, allocations: 1.329 MB / 285.7 MB, free: 3.594 MB / 266.7 MB Notification: Performance of pre-optimization done (n=91): time 1.954e-06/0.1442, allocations: 4.016 kB / 285.7 MB, free: 3.594 MB / 266.7 MB Notification: Performance of matching and sorting (n=91): time 0.00217/0.1464, allocations: 2.695 MB / 288.4 MB, free: 2.473 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.1465, allocations: 412.2 kB / 288.8 MB, free: 2.109 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.1467, allocations: 424.9 kB / 289.2 MB, free: 1.934 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.574e-05/0.1468, allocations: 76.03 kB / 289.3 MB, free: 1.883 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.1469, allocations: 337.3 kB / 289.6 MB, free: 1.648 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.147, allocations: 239.5 kB / 289.9 MB, free: 1.504 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.1472, allocations: 303 kB / 290.2 MB, free: 1.418 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.578e-05/0.1473, allocations: 382 kB / 290.5 MB, free: 1.105 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.1476, allocations: 0.5571 MB / 291.1 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005192/0.1481, allocations: 1.187 MB / 292.3 MB, free: 15.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.1492, allocations: 2.01 MB / 294.3 MB, free: 14.12 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/0.1492, allocations: 6.875 kB / 294.3 MB, free: 14.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.001136/0.1504, allocations: 1.554 MB / 295.8 MB, free: 13.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.1505, allocations: 345.7 kB / 296.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.1505, allocations: 14.91 kB / 296.2 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/0.1506, allocations: 26.06 kB / 296.2 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/0.1509, allocations: 225.4 kB / 296.4 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/0.1509, allocations: 26.98 kB / 296.5 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/0.1513, allocations: 152 kB / 296.6 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.89e-05/0.1513, allocations: 65.84 kB / 296.7 MB, free: 12.35 MB / 282.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer T1.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 145 ($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,P1.inTransition[1].emptied,P1.outTransition[1].fed,P1.enableIn.disTransition[1],P1.reStart,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,$PRE.T1.firingTime,T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[1],T1.activation.disPlaceOut[1],P1.enableIn.arcWeight[1],P1.enableOut.arcWeight[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.inTransition[1].disPlace,T1.outPlaces[1].disTransition,T1.firingCon) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 150 * 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.0005931/0.1519, allocations: 0.7475 MB / 297.4 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.1521, allocations: 155.9 kB / 297.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.1535, allocations: 1.89 MB / 299.5 MB, free: 9.488 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.1535, allocations: 4 kB / 299.5 MB, free: 9.484 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1535, allocations: 4 kB / 299.5 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1535, allocations: 3.984 kB / 299.5 MB, free: 9.477 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/0.1557, allocations: 2.638 MB / 302.1 MB, free: 6.762 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1557, allocations: 0 / 302.1 MB, free: 6.762 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.425e-05/0.1558, allocations: 47.91 kB / 302.2 MB, free: 6.715 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/0.1558, allocations: 60.42 kB / 302.2 MB, free: 6.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.1558, allocations: 6.5 kB / 302.2 MB, free: 6.652 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.518e-05/0.1559, allocations: 48.81 kB / 302.3 MB, free: 6.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1559, allocations: 7.219 kB / 302.3 MB, free: 6.602 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1559, allocations: 0 / 302.3 MB, free: 6.602 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.1574, allocations: 2.161 MB / 304.4 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.1576, allocations: 87.97 kB / 304.5 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.1578, allocations: 105.3 kB / 304.6 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000407/0.1582, allocations: 406.9 kB / 305 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.959e-05/0.1583, allocations: 57.5 kB / 305.1 MB, free: 3.688 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.338e-05/0.1584, allocations: 118 kB / 305.2 MB, free: 3.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1584, allocations: 0 / 305.2 MB, free: 3.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008602/0.1593, allocations: 491.2 kB / 305.7 MB, free: 3.09 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 81 (T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 56 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007088/0.16, allocations: 0.5361 MB / 306.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.1616, allocations: 2.405 MB / 308.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-05/0.1616, allocations: 9.344 kB / 308.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.1627, allocations: 1.62 MB / 310.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.1631, allocations: 417.8 kB / 310.7 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.1653, allocations: 2.236 MB / 312.9 MB, free: 11.44 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.1654, allocations: 201.1 kB / 313.1 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001625/0.1656, allocations: 85.77 kB / 313.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006679/0.1662, allocations: 387.2 kB / 313.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1662, allocations: 0 / 313.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of Templates: time 0.01953/0.1858, allocations: 19.98 MB / 333.5 MB, free: 6.871 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.sim & ./PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1232908917590976]