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.001303/0.001303, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001335/0.001335, allocations: 154.8 kB / 23.01 MB, free: 4.949 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.38/1.38, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 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.07743/0.07743, allocations: 12.66 MB / 272.4 MB, free: 4.133 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.002121/0.002121, allocations: 63.91 kB / 403.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09414/0.09626, allocations: 57.59 MB / 460.9 MB, free: 6.246 MB / 430.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.003237/0.0995, allocations: 1.742 MB / 462.6 MB, free: 4.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003735/0.1032, allocations: 1.851 MB / 464.4 MB, free: 2.645 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002725/0.1035, allocations: 7.938 kB / 464.5 MB, free: 2.637 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004079/0.1039, allocations: 123 kB / 464.6 MB, free: 2.516 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004896/0.1044, allocations: 158.9 kB / 464.7 MB, free: 2.359 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.1064, allocations: 0.9473 MB / 465.7 MB, free: 1.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.1082, allocations: 1.42 MB / 467.1 MB, free: 15.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002516/0.1085, allocations: 115.5 kB / 467.2 MB, free: 15.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007684/0.1092, allocations: 0.5882 MB / 467.8 MB, free: 15.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008344/0.1101, allocations: 0.5212 MB / 468.3 MB, free: 14.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002685/0.1103, allocations: 136 kB / 468.5 MB, free: 14.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.1117, allocations: 0.9244 MB / 469.4 MB, free: 13.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002717/0.112, allocations: 219.1 kB / 469.6 MB, free: 13.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006767/0.1127, allocations: 494.2 kB / 470.1 MB, free: 12.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002137/0.1148, allocations: 1.827 MB / 471.9 MB, free: 11.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1148, allocations: 0 / 471.9 MB, free: 11.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1148, allocations: 3.938 kB / 471.9 MB, free: 11.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.1148, allocations: 0 / 471.9 MB, free: 11.15 MB / 446.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.002136/0.117, allocations: 1.496 MB / 473.4 MB, free: 9.555 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.117, allocations: 8.031 kB / 473.4 MB, free: 9.547 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004203/0.1174, allocations: 132.4 kB / 473.5 MB, free: 9.418 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00087/0.1183, allocations: 497.9 kB / 474 MB, free: 8.902 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/0.1185, allocations: 188.8 kB / 474.2 MB, free: 8.695 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/0.1187, allocations: 120 kB / 474.3 MB, free: 8.578 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003757/0.1224, allocations: 2.662 MB / 477 MB, free: 5.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.1225, allocations: 0 / 477 MB, free: 5.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.1226, allocations: 55.97 kB / 477 MB, free: 5.676 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001693/0.1228, allocations: 97.17 kB / 477.1 MB, free: 5.578 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002874/0.1256, allocations: 1.83 MB / 479 MB, free: 3.699 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1828/0.3084, allocations: 3.731 MB / 482.7 MB, free: 58.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.3104, allocations: 1.427 MB / 484.1 MB, free: 58.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.3117, allocations: 1.321 MB / 485.4 MB, free: 57.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.106e-05/0.3118, allocations: 6.562 kB / 485.4 MB, free: 57.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00176/0.3135, allocations: 1.752 MB / 487.2 MB, free: 57.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=91): time 2.605e-06/0.3135, allocations: 0 / 487.2 MB, free: 57.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=91): time 0.005149/0.3187, allocations: 4.924 MB / 492.1 MB, free: 54.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002175/0.3189, allocations: 0.6548 MB / 492.8 MB, free: 54.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.3193, allocations: 477.8 kB / 493.2 MB, free: 53.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.527e-05/0.3193, allocations: 77.98 kB / 493.3 MB, free: 53.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.3195, allocations: 366.7 kB / 493.7 MB, free: 53.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.3196, allocations: 244 kB / 493.9 MB, free: 53.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002982/0.3199, allocations: 302.4 kB / 494.2 MB, free: 53.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.218e-05/0.32, allocations: 324.8 kB / 494.5 MB, free: 53.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007965/0.3208, allocations: 0.8832 MB / 495.4 MB, free: 52.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009451/0.3217, allocations: 1.531 MB / 496.9 MB, free: 51.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002594/0.3243, allocations: 3.218 MB / 0.4884 GB, free: 48.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.3243, allocations: 3.312 kB / 0.4884 GB, free: 48.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.002491/0.3268, allocations: 2.589 MB / 0.491 GB, free: 47.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.3269, allocations: 344.8 kB / 0.4913 GB, free: 47.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.3269, allocations: 17.22 kB / 0.4913 GB, free: 47.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.327, allocations: 23.06 kB / 0.4913 GB, free: 47.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/0.3274, allocations: 162.4 kB / 0.4915 GB, free: 47.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/0.3274, allocations: 28.7 kB / 0.4915 GB, free: 47.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005525/0.328, allocations: 158.4 kB / 0.4917 GB, free: 47.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.847e-05/0.3281, allocations: 72.34 kB / 0.4917 GB, free: 47.06 MB / 446.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.0008248/0.3289, allocations: 0.8796 MB / 0.4926 GB, free: 46.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.329, allocations: 96.45 kB / 0.4927 GB, free: 46.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004076/0.3331, allocations: 3.886 MB / 0.4965 GB, free: 44.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.3331, allocations: 9.781 kB / 0.4965 GB, free: 44.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3331, allocations: 0 / 0.4965 GB, free: 44.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.3331, allocations: 0 / 0.4965 GB, free: 44.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005321/0.3385, allocations: 4.944 MB / 0.5013 GB, free: 42.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3385, allocations: 4 kB / 0.5013 GB, free: 42.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.3386, allocations: 39.23 kB / 0.5014 GB, free: 42.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3386, allocations: 0 / 0.5014 GB, free: 42.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.3387, allocations: 59.69 kB / 0.5014 GB, free: 42.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3387, allocations: 0.5625 kB / 0.5014 GB, free: 42.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3387, allocations: 0 / 0.5014 GB, free: 42.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004152/0.3429, allocations: 4.027 MB / 0.5054 GB, free: 40.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.494e-05/0.3429, allocations: 60.12 kB / 0.5054 GB, free: 40.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/0.3432, allocations: 92.2 kB / 0.5055 GB, free: 40.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006591/0.3438, allocations: 105.1 kB / 0.5056 GB, free: 40.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005289/0.3444, allocations: 387.5 kB / 0.506 GB, free: 40.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/0.3445, allocations: 61.55 kB / 0.506 GB, free: 40.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002093/0.3447, allocations: 248.8 kB / 0.5063 GB, free: 40.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3447, allocations: 5.031 kB / 0.5063 GB, free: 40.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001305/0.346, allocations: 497.8 kB / 0.5067 GB, free: 39.96 MB / 446.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.0008438/0.3469, allocations: 473.8 kB / 0.5072 GB, free: 39.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003229/0.3501, allocations: 3.211 MB / 0.5103 GB, free: 37.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3501, allocations: 0 / 0.5103 GB, free: 37.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001979/0.3521, allocations: 2.031 MB / 0.5123 GB, free: 36.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005708/0.3526, allocations: 117.4 kB / 0.5124 GB, free: 36.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.3562, allocations: 2.646 MB / 0.515 GB, free: 35.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.3565, allocations: 438.3 kB / 0.5154 GB, free: 35.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004413/0.357, allocations: 203.3 kB / 0.5156 GB, free: 35.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.3571, allocations: 54.02 kB / 0.5157 GB, free: 35.03 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3571, allocations: 4 kB / 0.5157 GB, free: 35.03 MB / 446.1 MB Notification: Performance of Templates: time 0.02659/0.3837, allocations: 18.61 MB / 0.5339 GB, free: 30.14 MB / 446.1 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 -s ida -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/jenkins1/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.075388408033177]