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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 103.9 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 198.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.08053/0.08053, allocations: 16.97 MB / 319.6 MB, free: 9.027 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 67.89 kB / 446.6 MB, free: 11.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1241, allocations: 56.41 MB / 0.4912 GB, free: 2.785 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.004103/0.1282, allocations: 1.881 MB / 0.493 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004168/0.1324, allocations: 1.935 MB / 0.4949 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003666/0.1328, allocations: 4 kB / 0.4949 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004535/0.1332, allocations: 111.1 kB / 0.495 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004575/0.1337, allocations: 139 kB / 0.4952 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002109/0.1358, allocations: 0.9005 MB / 0.496 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001861/0.1376, allocations: 1.314 MB / 0.4973 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002454/0.1379, allocations: 100.6 kB / 0.4974 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000649/0.1385, allocations: 0.5298 MB / 0.4979 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005776/0.1391, allocations: 370.3 kB / 0.4983 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.1393, allocations: 88 kB / 0.4984 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.1403, allocations: 0.5422 MB / 0.4989 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002982/0.1406, allocations: 151.3 kB / 0.4991 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005697/0.1411, allocations: 398.3 kB / 0.4994 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001839/0.143, allocations: 1.184 MB / 0.5006 GB, free: 9.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.143, allocations: 0 / 0.5006 GB, free: 9.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.143, allocations: 0 / 0.5006 GB, free: 9.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.143, allocations: 0 / 0.5006 GB, free: 9.137 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.002127/0.1451, allocations: 1.289 MB / 0.5019 GB, free: 7.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.1452, allocations: 11.89 kB / 0.5019 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003731/0.1455, allocations: 96.52 kB / 0.502 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006723/0.1462, allocations: 442.8 kB / 0.5024 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.1463, allocations: 87 kB / 0.5025 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002604/0.1466, allocations: 75.98 kB / 0.5025 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/0.1489, allocations: 1.314 MB / 0.5038 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.1489, allocations: 3.938 kB / 0.5038 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.1491, allocations: 47.97 kB / 0.5039 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/0.1492, allocations: 52.95 kB / 0.5039 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.151, allocations: 0.9015 MB / 0.5048 GB, free: 4.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004656/0.1557, allocations: 3.318 MB / 0.508 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.1571, allocations: 0.6616 MB / 0.5087 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2848/0.4419, allocations: 0.5627 MB / 0.5092 GB, free: 22.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.74e-05/0.442, allocations: 83.55 kB / 0.5093 GB, free: 22.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001568/0.4436, allocations: 0.8881 MB / 0.5102 GB, free: 22.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.304e-06/0.4436, allocations: 0 / 0.5102 GB, free: 22.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.003763/0.4474, allocations: 2.544 MB / 0.5127 GB, free: 22.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002511/0.4476, allocations: 0.5675 MB / 0.5132 GB, free: 21.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004848/0.4481, allocations: 422.4 kB / 0.5136 GB, free: 21.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.814e-05/0.4482, allocations: 70.73 kB / 0.5137 GB, free: 21.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.4484, allocations: 262.5 kB / 0.5139 GB, free: 21.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.4486, allocations: 205 kB / 0.5141 GB, free: 21.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003215/0.4489, allocations: 233 kB / 0.5144 GB, free: 21.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.449, allocations: 377.5 kB / 0.5147 GB, free: 21.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007275/0.4497, allocations: 443.8 kB / 0.5151 GB, free: 21.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009083/0.4507, allocations: 0.8079 MB / 0.5159 GB, free: 20.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002728/0.4534, allocations: 2.538 MB / 0.5184 GB, free: 19.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.4534, allocations: 5.031 kB / 0.5184 GB, free: 19.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002905/0.4563, allocations: 1.845 MB / 0.5202 GB, free: 18.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000179/0.4565, allocations: 339.3 kB / 0.5205 GB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/0.4565, allocations: 10.41 kB / 0.5205 GB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.565e-05/0.4565, allocations: 18.89 kB / 0.5206 GB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.4569, allocations: 126.6 kB / 0.5207 GB, free: 17.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.897e-05/0.4569, allocations: 24.02 kB / 0.5207 GB, free: 17.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005159/0.4575, allocations: 131.4 kB / 0.5208 GB, free: 17.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.4576, allocations: 63.55 kB / 0.5209 GB, free: 17.83 MB / 382.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.0009356/0.4585, allocations: 0.7472 MB / 0.5216 GB, free: 17.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.4587, allocations: 81.53 kB / 0.5217 GB, free: 17.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003073/0.4617, allocations: 1.957 MB / 0.5236 GB, free: 16.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/0.4617, allocations: 7.359 kB / 0.5236 GB, free: 16.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.4618, allocations: 0.75 kB / 0.5236 GB, free: 16.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.4618, allocations: 6.672 kB / 0.5236 GB, free: 16.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004262/0.466, allocations: 2.985 MB / 0.5265 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.466, allocations: 0 / 0.5265 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.4661, allocations: 28.83 kB / 0.5266 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.4661, allocations: 5.125 kB / 0.5266 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.455e-05/0.4662, allocations: 40.39 kB / 0.5266 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.4662, allocations: 1.25 kB / 0.5266 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4662, allocations: 1.312 kB / 0.5266 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003771/0.47, allocations: 2.336 MB / 0.5289 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-05/0.4701, allocations: 136.7 kB / 0.529 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/0.4703, allocations: 74.66 kB / 0.5291 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004955/0.4708, allocations: 72.39 kB / 0.5292 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006206/0.4714, allocations: 331.4 kB / 0.5295 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.4716, allocations: 45.09 kB / 0.5295 GB, free: 13.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003189/0.4719, allocations: 257 kB / 0.5298 GB, free: 13.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4719, allocations: 0 / 0.5298 GB, free: 13.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001283/0.4732, allocations: 338.3 kB / 0.5301 GB, free: 13.39 MB / 382.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.0007351/0.4739, allocations: 375.5 kB / 0.5305 GB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002747/0.4766, allocations: 1.93 MB / 0.5323 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4766, allocations: 1.188 kB / 0.5323 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.4782, allocations: 1.232 MB / 0.5335 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006425/0.4788, allocations: 119.9 kB / 0.5337 GB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.4815, allocations: 1.549 MB / 0.5352 GB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.4819, allocations: 0.9128 MB / 0.5361 GB, free: 9.895 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003542/0.4822, allocations: 144.7 kB / 0.5362 GB, free: 9.883 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.4823, allocations: 49.41 kB / 0.5362 GB, free: 9.875 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4823, allocations: 0 / 0.5362 GB, free: 9.875 MB / 382.1 MB Notification: Performance of Templates: time 0.01986/0.5022, allocations: 13.42 MB / 0.5493 GB, free: 232 kB / 382.1 MB " [Timeout remaining time 659] 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.421136506833136]