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.00111/0.00111, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.00121/0.00121, allocations: 173 kB / 23.49 MB, free: 1.059 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.008/1.008, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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.05897/0.05897, allocations: 12.65 MB / 272.9 MB, free: 0.582 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|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 2.234e-06/2.234e-06, allocations: 3.984 kB / 346.5 MB, free: 2.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.39e-05/1.613e-05, allocations: 2.312 kB / 346.5 MB, free: 2.266 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.002065/0.002081, allocations: 1.796 MB / 348.3 MB, free: 472 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.004323, allocations: 1.874 MB / 350.2 MB, free: 14.58 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.004462, allocations: 7.938 kB / 350.2 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.004728, allocations: 122.9 kB / 350.3 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.005033, allocations: 166.8 kB / 350.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009776/0.006011, allocations: 0.9508 MB / 351.4 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008953/0.006906, allocations: 1.427 MB / 352.8 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.00706, allocations: 111.6 kB / 352.9 MB, free: 11.78 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005549/0.007615, allocations: 0.815 MB / 353.8 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003705/0.007985, allocations: 486.6 kB / 354.2 MB, free: 10.49 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.008105, allocations: 140 kB / 354.4 MB, free: 10.35 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007385/0.008843, allocations: 0.9359 MB / 355.3 MB, free: 9.414 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.008996, allocations: 219.1 kB / 355.5 MB, free: 9.199 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003273/0.009323, allocations: 439 kB / 355.9 MB, free: 8.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.01053, allocations: 1.687 MB / 357.6 MB, free: 7.078 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.01053, allocations: 0 / 357.6 MB, free: 7.078 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.01053, allocations: 0 / 357.6 MB, free: 7.078 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.01054, allocations: 0 / 357.6 MB, free: 7.078 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.001328/0.01186, allocations: 1.6 MB / 359.2 MB, free: 5.375 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.01189, allocations: 8.031 kB / 359.2 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003623/0.01226, allocations: 240.3 kB / 359.5 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005152/0.01277, allocations: 476.1 kB / 359.9 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.01289, allocations: 189.3 kB / 360.1 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.01301, allocations: 127.9 kB / 360.2 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.01503, allocations: 2.284 MB / 362.5 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.01504, allocations: 0 / 362.5 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.575e-05/0.01513, allocations: 59.97 kB / 362.6 MB, free: 1.746 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.01523, allocations: 101.2 kB / 362.7 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.01669, allocations: 1.396 MB / 364.1 MB, free: 200 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003416/0.0201, allocations: 4.566 MB / 368.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.02122, allocations: 1.195 MB / 369.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000984/0.0222, allocations: 1.128 MB / 371 MB, free: 9.059 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.094e-05/0.02226, allocations: 8 kB / 371 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001319/0.02358, allocations: 1.549 MB / 372.5 MB, free: 7.398 MB / 298.7 MB Notification: Performance of pre-optimization done (n=91): time 1.704e-06/0.02359, allocations: 0 / 372.5 MB, free: 7.398 MB / 298.7 MB Notification: Performance of matching and sorting (n=91): time 0.00421/0.0278, allocations: 4.317 MB / 376.8 MB, free: 2.926 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002482/0.02804, allocations: 0.6418 MB / 377.5 MB, free: 2.168 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.02837, allocations: 0.5214 MB / 378 MB, free: 1.629 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.75e-05/0.02844, allocations: 77.69 kB / 378.1 MB, free: 1.547 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.02863, allocations: 419.5 kB / 378.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.02877, allocations: 242.3 kB / 378.7 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002816/0.02906, allocations: 328.5 kB / 379.1 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.02916, allocations: 0.4887 MB / 379.5 MB, free: 60 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005483/0.0297, allocations: 0.6719 MB / 380.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.03082, allocations: 1.515 MB / 381.7 MB, free: 13.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.03236, allocations: 2.225 MB / 384 MB, free: 10.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.03237, allocations: 4 kB / 384 MB, free: 10.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.001924/0.03429, allocations: 2.184 MB / 386.1 MB, free: 8.457 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001536/0.03445, allocations: 344.9 kB / 386.5 MB, free: 8.059 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.03446, allocations: 12.91 kB / 386.5 MB, free: 8.047 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/0.03449, allocations: 20 kB / 386.5 MB, free: 8.027 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/0.03486, allocations: 211.6 kB / 386.7 MB, free: 7.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/0.03488, allocations: 27.88 kB / 386.7 MB, free: 7.793 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.03522, allocations: 155.1 kB / 386.9 MB, free: 7.641 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.098e-05/0.0353, allocations: 68 kB / 387 MB, free: 7.574 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.0006747/0.03597, allocations: 0.7991 MB / 387.8 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.03616, allocations: 163.7 kB / 387.9 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003092/0.03926, allocations: 3.377 MB / 391.3 MB, free: 3.074 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.03927, allocations: 15.92 kB / 391.3 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.03927, allocations: 4 kB / 391.3 MB, free: 3.055 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.03928, allocations: 3.938 kB / 391.3 MB, free: 3.051 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004041/0.04332, allocations: 4.494 MB / 395.8 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.04332, allocations: 0 / 395.8 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.753e-05/0.04341, allocations: 39.91 kB / 395.9 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.04341, allocations: 0 / 395.9 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.082e-05/0.04349, allocations: 55.97 kB / 395.9 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.0435, allocations: 11.92 kB / 395.9 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.0435, allocations: 0 / 395.9 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003194/0.04669, allocations: 3.644 MB / 399.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.04674, allocations: 71.42 kB / 399.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/0.0469, allocations: 83.98 kB / 399.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/0.0472, allocations: 103.8 kB / 399.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00042/0.04762, allocations: 356.1 kB / 400.2 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.862e-05/0.04771, allocations: 67.89 kB / 400.2 MB, free: 9.879 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001542/0.04787, allocations: 255.1 kB / 400.5 MB, free: 9.629 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04787, allocations: 0 / 400.5 MB, free: 9.629 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000861/0.04873, allocations: 495.2 kB / 401 MB, free: 9.145 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.0006885/0.04942, allocations: 0.5092 MB / 401.5 MB, free: 8.656 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002171/0.05159, allocations: 2.789 MB / 404.3 MB, free: 5.637 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.05159, allocations: 0 / 404.3 MB, free: 5.637 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00141/0.053, allocations: 1.861 MB / 406.1 MB, free: 3.625 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.05341, allocations: 130 kB / 406.3 MB, free: 3.496 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.05581, allocations: 2.329 MB / 408.6 MB, free: 1.082 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.05594, allocations: 212.7 kB / 408.8 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002585/0.05619, allocations: 184.9 kB / 409 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.507e-05/0.05628, allocations: 60.48 kB / 409 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.05628, allocations: 3.938 kB / 409 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of Templates: time 0.128/0.1842, allocations: 18.65 MB / 427.7 MB, free: 88.12 MB / 346.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4446793091483414]