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.00143/0.00143, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 211.3 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.567/1.567, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.08691/0.08691, allocations: 16.93 MB / 329.4 MB, free: 2.266 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.DisTest.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") translateModel(PNlib.Examples.DisTest.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") [Timeout 660] "Notification: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002902/0.002902, allocations: 75.88 kB / 460.3 MB, free: 1.773 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1387, allocations: 57.63 MB / 0.5057 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.004209/0.1429, allocations: 1.885 MB / 0.5076 GB, free: 6.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004765/0.1476, allocations: 1.937 MB / 0.5095 GB, free: 4.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006464/0.1483, allocations: 11.94 kB / 0.5095 GB, free: 4.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005943/0.1489, allocations: 119 kB / 0.5096 GB, free: 4.094 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007648/0.1496, allocations: 162.9 kB / 0.5098 GB, free: 3.934 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002936/0.1526, allocations: 0.9629 MB / 0.5107 GB, free: 2.969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002573/0.1551, allocations: 1.427 MB / 0.5121 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004061/0.1556, allocations: 103.6 kB / 0.5122 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.1568, allocations: 0.596 MB / 0.5128 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.158, allocations: 0.5525 MB / 0.5133 GB, free: 276 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004198/0.1585, allocations: 144 kB / 0.5135 GB, free: 132 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2841/0.4426, allocations: 0.9968 MB / 0.5144 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004679/0.443, allocations: 217.1 kB / 0.5146 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009228/0.444, allocations: 0.5671 MB / 0.5152 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003203/0.4472, allocations: 1.829 MB / 0.517 GB, free: 11.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.4472, allocations: 2.812 kB / 0.517 GB, free: 11.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4472, allocations: 2.062 kB / 0.517 GB, free: 11.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.83e-05/0.4472, allocations: 0 / 0.517 GB, free: 11.42 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.002747/0.45, allocations: 1.507 MB / 0.5185 GB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.45, allocations: 10.25 kB / 0.5185 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005243/0.4505, allocations: 132.2 kB / 0.5186 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009736/0.4515, allocations: 0.4891 MB / 0.5191 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/0.4517, allocations: 198.2 kB / 0.5193 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.4519, allocations: 118.1 kB / 0.5194 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004075/0.456, allocations: 2.027 MB / 0.5213 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/0.456, allocations: 4.438 kB / 0.5213 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.4561, allocations: 56.17 kB / 0.5214 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002108/0.4564, allocations: 96.94 kB / 0.5215 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003654/0.46, allocations: 1.424 MB / 0.5229 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006865/0.4669, allocations: 4.205 MB / 0.527 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002273/0.4691, allocations: 1.023 MB / 0.528 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001839/0.471, allocations: 0.9238 MB / 0.5289 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.4711, allocations: 8.953 kB / 0.5289 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002496/0.4736, allocations: 1.305 MB / 0.5302 GB, free: 5.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 3.267e-06/0.4736, allocations: 0 / 0.5302 GB, free: 5.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.006908/0.4805, allocations: 3.976 MB / 0.5341 GB, free: 3.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003297/0.4808, allocations: 0.6595 MB / 0.5347 GB, free: 3.172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007684/0.4816, allocations: 0.515 MB / 0.5352 GB, free: 2.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001267/0.4817, allocations: 77.48 kB / 0.5353 GB, free: 2.855 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003049/0.482, allocations: 352.5 kB / 0.5356 GB, free: 2.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.4823, allocations: 242.8 kB / 0.5358 GB, free: 2.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005225/0.4828, allocations: 298.5 kB / 0.5361 GB, free: 2.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.001e-05/0.4829, allocations: 330.3 kB / 0.5364 GB, free: 1.973 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008933/0.4838, allocations: 0.5525 MB / 0.537 GB, free: 1.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.4849, allocations: 1.021 MB / 0.538 GB, free: 1.035 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003896/0.4888, allocations: 3.196 MB / 0.5411 GB, free: 14.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-05/0.4888, allocations: 4.875 kB / 0.5411 GB, free: 14.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003925/0.4928, allocations: 2.241 MB / 0.5433 GB, free: 13.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003094/0.4931, allocations: 352.6 kB / 0.5436 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.754e-05/0.4931, allocations: 14.12 kB / 0.5437 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.589e-05/0.4931, allocations: 25.19 kB / 0.5437 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004796/0.4936, allocations: 156 kB / 0.5438 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.382e-05/0.4937, allocations: 31.84 kB / 0.5439 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007989/0.4945, allocations: 170.5 kB / 0.544 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.4946, allocations: 73.52 kB / 0.5441 GB, free: 13.23 MB / 398.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer T1.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 149 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 154 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001668/0.4963, allocations: 0.8909 MB / 0.545 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/0.4965, allocations: 96.06 kB / 0.545 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005491/0.502, allocations: 3.359 MB / 0.5483 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-05/0.502, allocations: 17.73 kB / 0.5483 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.502, allocations: 1.344 kB / 0.5483 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.502, allocations: 0 / 0.5483 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007449/0.5095, allocations: 4.725 MB / 0.553 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.5095, allocations: 3.938 kB / 0.553 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.5097, allocations: 45.34 kB / 0.553 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.5097, allocations: 2.781 kB / 0.553 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001674/0.5099, allocations: 53.34 kB / 0.5531 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.5099, allocations: 9.531 kB / 0.5531 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5099, allocations: 0 / 0.5531 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005612/0.5155, allocations: 3.487 MB / 0.5565 GB, free: 5.344 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.5157, allocations: 75.36 kB / 0.5565 GB, free: 5.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002952/0.5159, allocations: 87.97 kB / 0.5566 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006673/0.5166, allocations: 103.9 kB / 0.5567 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006921/0.5173, allocations: 381.6 kB / 0.5571 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/0.5175, allocations: 57.19 kB / 0.5571 GB, free: 4.656 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004022/0.5179, allocations: 303.1 kB / 0.5574 GB, free: 4.363 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5179, allocations: 0 / 0.5574 GB, free: 4.363 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001757/0.5196, allocations: 496.8 kB / 0.5579 GB, free: 3.879 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.001076/0.5207, allocations: 483.5 kB / 0.5584 GB, free: 3.453 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003937/0.5246, allocations: 2.456 MB / 0.5608 GB, free: 0.918 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5246, allocations: 3.938 kB / 0.5608 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002354/0.527, allocations: 1.638 MB / 0.5624 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008634/0.5279, allocations: 146.6 kB / 0.5625 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00429/0.5321, allocations: 2.258 MB / 0.5647 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007714/0.5329, allocations: 1.026 MB / 0.5657 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005675/0.5335, allocations: 206.6 kB / 0.5659 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.5336, allocations: 55.44 kB / 0.566 GB, free: 11.46 MB / 414.1 MB Notification: Performance of SimCode: time 1.433e-06/0.5336, allocations: 0 / 0.566 GB, free: 11.46 MB / 414.1 MB Notification: Performance of Templates: time 0.03702/0.5706, allocations: 19.11 MB / 0.5846 GB, free: 8.301 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.sim & ./PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe 2>&1) [Timeout 480] diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.966878571081907]