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.001346/0.001346, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001505/0.001505, allocations: 161.7 kB / 22.76 MB, free: 1.676 MB / 18.57 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.448/1.448, allocations: 177.1 MB / 203.1 MB, free: 5.539 MB / 186.7 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.08265/0.08265, allocations: 12.67 MB / 272.2 MB, free: 0.5312 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 345.7 MB, free: 2.305 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.393e-05, allocations: 2.312 kB / 345.7 MB, free: 2.301 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.002175/0.002199, allocations: 1.73 MB / 347.5 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003514/0.005713, allocations: 1.851 MB / 349.3 MB, free: 14.71 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001995/0.005912, allocations: 7.938 kB / 349.3 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003975/0.00631, allocations: 130.8 kB / 349.5 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004599/0.00677, allocations: 166.8 kB / 349.6 MB, free: 14.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002086/0.008856, allocations: 0.947 MB / 350.6 MB, free: 13.46 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.0106, allocations: 1.439 MB / 352 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002364/0.01083, allocations: 103.6 kB / 352.1 MB, free: 11.9 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.01187, allocations: 0.7954 MB / 352.9 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007065/0.01258, allocations: 494.6 kB / 353.4 MB, free: 10.62 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002164/0.01279, allocations: 136 kB / 353.5 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.01431, allocations: 0.9397 MB / 354.5 MB, free: 9.543 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002728/0.01459, allocations: 215.1 kB / 354.7 MB, free: 9.332 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006026/0.01519, allocations: 435.1 kB / 355.1 MB, free: 8.906 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002563/0.01775, allocations: 2.092 MB / 357.2 MB, free: 6.809 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.01776, allocations: 0 / 357.2 MB, free: 6.809 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.566e-06/0.01776, allocations: 4 kB / 357.2 MB, free: 6.805 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.01777, allocations: 0 / 357.2 MB, free: 6.805 MB / 282.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.002493/0.02026, allocations: 1.48 MB / 358.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.0203, allocations: 8.031 kB / 358.7 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006499/0.02095, allocations: 244.3 kB / 358.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009334/0.02188, allocations: 0.4895 MB / 359.4 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/0.0221, allocations: 189.3 kB / 359.6 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/0.02233, allocations: 123.9 kB / 359.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004328/0.02666, allocations: 2.662 MB / 362.4 MB, free: 1.285 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.02668, allocations: 0 / 362.4 MB, free: 1.285 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/0.02684, allocations: 63.95 kB / 362.4 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001918/0.02704, allocations: 93.23 kB / 362.5 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003158/0.03019, allocations: 1.83 MB / 364.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006044/0.03624, allocations: 3.745 MB / 368.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/0.03867, allocations: 1.426 MB / 369.5 MB, free: 9.914 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002152/0.04083, allocations: 1.325 MB / 370.9 MB, free: 8.539 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.486e-05/0.0409, allocations: 8 kB / 370.9 MB, free: 8.531 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002928/0.04383, allocations: 1.75 MB / 372.6 MB, free: 6.684 MB / 298.7 MB Notification: Performance of pre-optimization done (n=91): time 2.124e-06/0.04383, allocations: 0 / 372.6 MB, free: 6.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=91): time 0.008329/0.05216, allocations: 4.969 MB / 377.6 MB, free: 1.559 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005692/0.05273, allocations: 0.6457 MB / 378.2 MB, free: 0.793 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006162/0.05334, allocations: 480.8 kB / 378.7 MB, free: 324 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.05347, allocations: 77.69 kB / 378.8 MB, free: 240 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.05383, allocations: 368.8 kB / 379.1 MB, free: 15.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003869/0.05422, allocations: 254.2 kB / 379.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004687/0.05468, allocations: 298.8 kB / 379.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.05487, allocations: 318 kB / 380 MB, free: 15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.05618, allocations: 0.8866 MB / 380.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/0.05811, allocations: 1.53 MB / 382.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004641/0.06275, allocations: 3.222 MB / 385.6 MB, free: 8.586 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.06277, allocations: 4 kB / 385.6 MB, free: 8.582 MB / 314.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004288/0.06706, allocations: 2.654 MB / 388.3 MB, free: 5.797 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003085/0.06736, allocations: 344.9 kB / 388.6 MB, free: 5.398 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/0.06739, allocations: 12 kB / 388.6 MB, free: 5.387 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.384e-05/0.06743, allocations: 20 kB / 388.7 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.06796, allocations: 163.6 kB / 388.8 MB, free: 5.207 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.192e-05/0.068, allocations: 35.8 kB / 388.8 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006826/0.06869, allocations: 151.1 kB / 389 MB, free: 5.023 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.06882, allocations: 72.17 kB / 389.1 MB, free: 4.953 MB / 314.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: 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.001323/0.07014, allocations: 0.8918 MB / 390 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003594/0.0705, allocations: 163.6 kB / 390.1 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006598/0.0771, allocations: 3.896 MB / 394 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.346e-05/0.07712, allocations: 8 kB / 394 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.07713, allocations: 0 / 394 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.07714, allocations: 7.922 kB / 394 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008636/0.08578, allocations: 4.928 MB / 399 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.08578, allocations: 0 / 399 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.08595, allocations: 39.91 kB / 399 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.08596, allocations: 4 kB / 399 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001471/0.08611, allocations: 59.95 kB / 399.1 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.849e-06/0.08612, allocations: 7.938 kB / 399.1 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.08612, allocations: 0 / 399.1 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007206/0.09332, allocations: 4.084 MB / 403.2 MB, free: 6.453 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.09343, allocations: 63.44 kB / 403.2 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002805/0.09371, allocations: 87.97 kB / 403.3 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009601/0.09467, allocations: 111.8 kB / 403.4 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001017/0.09568, allocations: 380.1 kB / 403.8 MB, free: 5.824 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/0.09585, allocations: 59.97 kB / 403.8 MB, free: 5.766 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003362/0.09619, allocations: 255.1 kB / 404.1 MB, free: 5.516 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.09619, allocations: 0 / 404.1 MB, free: 5.516 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001664/0.09785, allocations: 499.2 kB / 404.6 MB, free: 5.027 MB / 330.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.001342/0.09919, allocations: 0.521 MB / 405.1 MB, free: 4.523 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005005/0.1042, allocations: 3.214 MB / 408.3 MB, free: 1.074 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1042, allocations: 0 / 408.3 MB, free: 1.074 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.115/0.2192, allocations: 2.018 MB / 410.3 MB, free: 73.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006412/0.2198, allocations: 142.9 kB / 410.5 MB, free: 73.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003475/0.2233, allocations: 2.637 MB / 413.1 MB, free: 73.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.2237, allocations: 432.7 kB / 413.5 MB, free: 73.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004536/0.2242, allocations: 211.6 kB / 413.7 MB, free: 73.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.2243, allocations: 54.64 kB / 413.8 MB, free: 73.03 MB / 330.7 MB Notification: Performance of SimCode: time 1.272e-06/0.2243, allocations: 3.625 kB / 413.8 MB, free: 73.03 MB / 330.7 MB Notification: Performance of Templates: time 0.02103/0.2453, allocations: 18.55 MB / 432.3 MB, free: 59.73 MB / 330.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=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: 4.976937659084797]