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.001505/0.001505, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001353/0.001353, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.074/1.074, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.07922/0.07922, allocations: 12.65 MB / 272.9 MB, free: 340 kB / 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 1.883e-06/1.883e-06, allocations: 3.938 kB / 346.9 MB, free: 2.691 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.855e-05/3.044e-05, allocations: 6.312 kB / 346.9 MB, free: 2.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.002856/0.002887, allocations: 1.738 MB / 348.7 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00302/0.005907, allocations: 1.855 MB / 350.5 MB, free: 15.08 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.006137, allocations: 15.94 kB / 350.5 MB, free: 15.06 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000315/0.006452, allocations: 119 kB / 350.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.006801, allocations: 166.8 kB / 350.8 MB, free: 14.78 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.008349, allocations: 0.9586 MB / 351.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001321/0.009671, allocations: 1.428 MB / 353.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.00987, allocations: 115.6 kB / 353.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007604/0.01063, allocations: 0.8111 MB / 354.1 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006394/0.01127, allocations: 490.6 kB / 354.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.01146, allocations: 140 kB / 354.7 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009728/0.01243, allocations: 0.9359 MB / 355.7 MB, free: 9.898 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.0126, allocations: 215.1 kB / 355.9 MB, free: 9.688 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.01294, allocations: 443.1 kB / 356.3 MB, free: 9.254 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.01456, allocations: 1.695 MB / 358 MB, free: 7.555 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.01456, allocations: 0 / 358 MB, free: 7.555 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01456, allocations: 0 / 358 MB, free: 7.555 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.01458, allocations: 0 / 358 MB, free: 7.555 MB / 330.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.001482/0.01606, allocations: 1.599 MB / 359.6 MB, free: 5.848 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.0161, allocations: 12.03 kB / 359.6 MB, free: 5.836 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003515/0.01645, allocations: 236.3 kB / 359.9 MB, free: 5.605 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.01691, allocations: 440.1 kB / 360.3 MB, free: 5.145 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.01703, allocations: 189.3 kB / 360.5 MB, free: 4.938 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.01715, allocations: 131.9 kB / 360.6 MB, free: 4.809 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.01865, allocations: 1.925 MB / 362.5 MB, free: 2.664 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.01866, allocations: 3.938 kB / 362.5 MB, free: 2.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.992e-05/0.01874, allocations: 55.97 kB / 362.6 MB, free: 2.605 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-05/0.01884, allocations: 93.23 kB / 362.7 MB, free: 2.516 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008867/0.01972, allocations: 1.057 MB / 363.7 MB, free: 1.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00291/0.02263, allocations: 4.348 MB / 368.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009607/0.02359, allocations: 0.9272 MB / 369 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006351/0.02423, allocations: 0.8641 MB / 369.9 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.114e-05/0.02429, allocations: 16 kB / 369.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009597/0.02525, allocations: 1.284 MB / 371.2 MB, free: 9.629 MB / 346.7 MB Notification: Performance of pre-optimization done (n=91): time 1.573e-06/0.02525, allocations: 0 / 371.2 MB, free: 9.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=91): time 0.003019/0.02827, allocations: 3.63 MB / 374.8 MB, free: 5.848 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004099/0.02868, allocations: 0.6457 MB / 375.4 MB, free: 5.086 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.029, allocations: 0.5173 MB / 376 MB, free: 4.551 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.669e-05/0.02906, allocations: 77.67 kB / 376 MB, free: 4.469 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.02926, allocations: 415.5 kB / 376.4 MB, free: 4.055 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.02942, allocations: 254.2 kB / 376.7 MB, free: 3.805 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/0.0297, allocations: 340.2 kB / 377 MB, free: 3.465 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.02982, allocations: 0.5003 MB / 377.5 MB, free: 2.957 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/0.03018, allocations: 0.5392 MB / 378.1 MB, free: 2.355 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007271/0.03091, allocations: 1.383 MB / 379.4 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.03218, allocations: 2.085 MB / 381.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.03219, allocations: 7.938 kB / 381.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.001772/0.03396, allocations: 1.982 MB / 383.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001555/0.03412, allocations: 337 kB / 383.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.03413, allocations: 12 kB / 383.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/0.03416, allocations: 27.94 kB / 383.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.03451, allocations: 199.6 kB / 384.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/0.03453, allocations: 27.92 kB / 384.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003578/0.03489, allocations: 167.3 kB / 384.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-05/0.03497, allocations: 63.98 kB / 384.3 MB, free: 11.08 MB / 362.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,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,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],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 (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.0006324/0.0356, allocations: 0.7935 MB / 385.1 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.03578, allocations: 159.7 kB / 385.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002561/0.03834, allocations: 2.951 MB / 388.2 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.03835, allocations: 4 kB / 388.2 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.03835, allocations: 0 / 388.2 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.03836, allocations: 7.984 kB / 388.2 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003554/0.04191, allocations: 3.893 MB / 392.1 MB, free: 2.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.04192, allocations: 0 / 392.1 MB, free: 2.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.852e-05/0.04201, allocations: 47.91 kB / 392.2 MB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.04201, allocations: 4 kB / 392.2 MB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.69e-05/0.04209, allocations: 51.97 kB / 392.2 MB, free: 2.867 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.04209, allocations: 4 kB / 392.2 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.04209, allocations: 0 / 392.2 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002602/0.04469, allocations: 3.218 MB / 395.5 MB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.04474, allocations: 59.44 kB / 395.5 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.04488, allocations: 87.97 kB / 395.6 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.04517, allocations: 103.9 kB / 395.7 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005145/0.04569, allocations: 356.1 kB / 396.1 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-05/0.04577, allocations: 63.95 kB / 396.1 MB, free: 14.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001151/0.04588, allocations: 243 kB / 396.4 MB, free: 14.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04588, allocations: 0 / 396.4 MB, free: 14.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009021/0.04679, allocations: 495.2 kB / 396.8 MB, free: 14.14 MB / 378.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.0006497/0.04744, allocations: 0.5157 MB / 397.4 MB, free: 13.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.04904, allocations: 2.387 MB / 399.7 MB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.04904, allocations: 0 / 399.7 MB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.0501, allocations: 1.583 MB / 401.3 MB, free: 9.293 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.05049, allocations: 137.4 kB / 401.5 MB, free: 9.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.05277, allocations: 2.166 MB / 403.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.0529, allocations: 212.8 kB / 403.8 MB, free: 6.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.05306, allocations: 81.62 kB / 403.9 MB, free: 6.598 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006777/0.05374, allocations: 418 kB / 404.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of SimCode: time 7.62e-07/0.05374, allocations: 3.938 kB / 404.3 MB, free: 6.184 MB / 378.7 MB Notification: Performance of Templates: time 0.02033/0.07407, allocations: 20.3 MB / 424.6 MB, free: 1.918 MB / 394.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.5053884088993073]