Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.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.001343/0.001343, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001495/0.001495, allocations: 216.6 kB / 22.25 MB, free: 4.855 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.08452/0.08452, allocations: 16.95 MB / 329.4 MB, free: 2.066 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.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") translateModel(PNlib.Examples.DisTest.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") [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.002091/0.002091, allocations: 71.89 kB / 460.2 MB, free: 1.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09924/0.1013, allocations: 57.64 MB / 0.5057 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.003195/0.1045, allocations: 1.721 MB / 0.5074 GB, free: 6.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003539/0.1081, allocations: 1.847 MB / 0.5092 GB, free: 4.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.1082, allocations: 11.88 kB / 0.5092 GB, free: 4.305 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.1086, allocations: 119.1 kB / 0.5093 GB, free: 4.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003857/0.109, allocations: 131.1 kB / 0.5094 GB, free: 4.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.1108, allocations: 0.9472 MB / 0.5103 GB, free: 3.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001488/0.1123, allocations: 1.35 MB / 0.5117 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.1125, allocations: 73.06 kB / 0.5117 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006016/0.1131, allocations: 0.5377 MB / 0.5123 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005395/0.1136, allocations: 366.2 kB / 0.5126 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.1137, allocations: 92 kB / 0.5127 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009542/0.1147, allocations: 0.6084 MB / 0.5133 GB, free: 88 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1923/0.307, allocations: 143.2 kB / 0.5134 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007919/0.3078, allocations: 328.3 kB / 0.5137 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.3096, allocations: 1.199 MB / 0.5149 GB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3096, allocations: 0 / 0.5149 GB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3096, allocations: 0.7188 kB / 0.5149 GB, free: 11.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.3096, allocations: 0 / 0.5149 GB, free: 11.11 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001447/0.311, allocations: 1.213 MB / 0.5161 GB, free: 10.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3111, allocations: 9.219 kB / 0.5161 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003031/0.3114, allocations: 94.62 kB / 0.5162 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005573/0.3119, allocations: 375.6 kB / 0.5166 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.312, allocations: 116.3 kB / 0.5167 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.3121, allocations: 77.48 kB / 0.5167 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.314, allocations: 1.788 MB / 0.5185 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.3141, allocations: 5.188 kB / 0.5185 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.339e-05/0.3142, allocations: 43.02 kB / 0.5185 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.765e-05/0.3142, allocations: 55.55 kB / 0.5186 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.3159, allocations: 1.243 MB / 0.5198 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003174/0.3191, allocations: 2.891 MB / 0.5226 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.3204, allocations: 1.006 MB / 0.5236 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/0.3214, allocations: 0.9081 MB / 0.5245 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/0.3215, allocations: 7.688 kB / 0.5245 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001587/0.3231, allocations: 1.257 MB / 0.5257 GB, free: 5.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.063e-06/0.3231, allocations: 3.938 kB / 0.5257 GB, free: 5.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.004087/0.3272, allocations: 3.347 MB / 0.529 GB, free: 4.039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002175/0.3274, allocations: 0.5625 MB / 0.5295 GB, free: 3.457 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.3277, allocations: 382.4 kB / 0.5299 GB, free: 3.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.956e-05/0.3278, allocations: 67.09 kB / 0.53 GB, free: 3.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.328, allocations: 277.1 kB / 0.5302 GB, free: 2.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.3281, allocations: 198.3 kB / 0.5304 GB, free: 2.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/0.3284, allocations: 232.1 kB / 0.5306 GB, free: 2.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.609e-05/0.3285, allocations: 373.1 kB / 0.531 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007575/0.3292, allocations: 0.75 MB / 0.5317 GB, free: 1.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00092/0.3302, allocations: 1.227 MB / 0.5329 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003115/0.3333, allocations: 2.554 MB / 0.5354 GB, free: 15.01 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/0.3333, allocations: 15.38 kB / 0.5354 GB, free: 15 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003043/0.3363, allocations: 2.179 MB / 0.5376 GB, free: 13.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002587/0.3366, allocations: 330.1 kB / 0.5379 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.973e-05/0.3366, allocations: 12.28 kB / 0.5379 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.152e-05/0.3367, allocations: 17.69 kB / 0.5379 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.337, allocations: 125.2 kB / 0.538 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-05/0.337, allocations: 22.95 kB / 0.5381 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005501/0.3376, allocations: 122 kB / 0.5382 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.3377, allocations: 58.25 kB / 0.5382 GB, free: 13.4 MB / 398.1 MB Warning: Assuming fixed start value for the following 25 variables: 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 P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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 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: 52 * Number of states: 0 () * Number of discrete variables: 128 ($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,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[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.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,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.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,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 124 * 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.001017/0.3387, allocations: 0.7518 MB / 0.539 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.3389, allocations: 72.05 kB / 0.539 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003561/0.3424, allocations: 2.334 MB / 0.5413 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.3424, allocations: 5.641 kB / 0.5413 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3425, allocations: 4.5 kB / 0.5413 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3425, allocations: 2.875 kB / 0.5413 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004661/0.3471, allocations: 3.069 MB / 0.5443 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3471, allocations: 0 / 0.5443 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.3472, allocations: 20.73 kB / 0.5443 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3472, allocations: 4.688 kB / 0.5443 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-05/0.3473, allocations: 46.27 kB / 0.5444 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.3473, allocations: 4.625 kB / 0.5444 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3473, allocations: 2.969 kB / 0.5444 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003819/0.3512, allocations: 2.798 MB / 0.5471 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.225e-05/0.3512, allocations: 48.56 kB / 0.5472 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.3514, allocations: 72.02 kB / 0.5472 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004701/0.3519, allocations: 85.88 kB / 0.5473 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005427/0.3524, allocations: 326 kB / 0.5476 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.3525, allocations: 45.88 kB / 0.5477 GB, free: 8.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002176/0.3528, allocations: 211.3 kB / 0.5479 GB, free: 8.383 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3528, allocations: 0 / 0.5479 GB, free: 8.383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001132/0.3539, allocations: 347.8 kB / 0.5482 GB, free: 8.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 68 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,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,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,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,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * 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.000766/0.3547, allocations: 386.1 kB / 0.5486 GB, free: 8.176 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003226/0.3579, allocations: 2.615 MB / 0.5511 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3579, allocations: 1.656 kB / 0.5511 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00187/0.3598, allocations: 1.575 MB / 0.5527 GB, free: 5.281 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.3603, allocations: 93.56 kB / 0.5528 GB, free: 5.246 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.3632, allocations: 1.877 MB / 0.5546 GB, free: 4.035 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.3635, allocations: 321.2 kB / 0.5549 GB, free: 3.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003226/0.3639, allocations: 141.8 kB / 0.555 GB, free: 3.773 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.294e-05/0.364, allocations: 47.67 kB / 0.5551 GB, free: 3.758 MB / 398.1 MB Notification: Performance of SimCode: time 8.41e-07/0.364, allocations: 0 / 0.5551 GB, free: 3.758 MB / 398.1 MB Notification: Performance of Templates: time 0.02204/0.386, allocations: 13.75 MB / 0.5685 GB, free: 7.852 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTD.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) [Timeout 480] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD.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.110574888065457]