Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTT.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.001737/0.001737, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.0017/0.0017, allocations: 219.3 kB / 22.26 MB, free: 5.125 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.984 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.08435/0.08435, allocations: 16.94 MB / 329.4 MB, free: 2.285 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.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") translateModel(PNlib.Examples.DisTest.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") [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.002375/0.002375, allocations: 63.91 kB / 460.3 MB, free: 1.801 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1343, allocations: 57.64 MB / 0.5058 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.004076/0.1384, allocations: 1.866 MB / 0.5076 GB, free: 6.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004662/0.143, allocations: 1.979 MB / 0.5095 GB, free: 4.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004868/0.1435, allocations: 15.94 kB / 0.5095 GB, free: 4.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005182/0.1441, allocations: 111.1 kB / 0.5096 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006163/0.1447, allocations: 143 kB / 0.5098 GB, free: 3.949 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002761/0.1474, allocations: 0.9668 MB / 0.5107 GB, free: 2.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002228/0.1497, allocations: 1.35 MB / 0.512 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002976/0.15, allocations: 73.12 kB / 0.5121 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.151, allocations: 0.5493 MB / 0.5126 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008886/0.1519, allocations: 390.2 kB / 0.513 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000302/0.1522, allocations: 88 kB / 0.5131 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2754/0.4277, allocations: 0.6467 MB / 0.5137 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004011/0.4281, allocations: 148.5 kB / 0.5139 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006665/0.4287, allocations: 394.2 kB / 0.5142 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00197/0.4307, allocations: 1.191 MB / 0.5154 GB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4307, allocations: 0.75 kB / 0.5154 GB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4307, allocations: 0 / 0.5154 GB, free: 11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.4307, allocations: 0.7188 kB / 0.5154 GB, free: 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001673/0.4324, allocations: 1.221 MB / 0.5166 GB, free: 10.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.4324, allocations: 8.781 kB / 0.5166 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003254/0.4328, allocations: 97.66 kB / 0.5167 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005796/0.4333, allocations: 383.6 kB / 0.5171 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.597e-05/0.4334, allocations: 110.1 kB / 0.5172 GB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.4336, allocations: 78.2 kB / 0.5172 GB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/0.4354, allocations: 1.314 MB / 0.5185 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.4354, allocations: 2.75 kB / 0.5185 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.466e-05/0.4355, allocations: 41.73 kB / 0.5186 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001091/0.4356, allocations: 59.48 kB / 0.5186 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.437, allocations: 0.8889 MB / 0.5195 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003702/0.4407, allocations: 3.189 MB / 0.5226 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.4419, allocations: 0.6556 MB / 0.5233 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009076/0.4428, allocations: 0.5602 MB / 0.5238 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.64e-05/0.4428, allocations: 6.5 kB / 0.5238 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001417/0.4443, allocations: 0.8913 MB / 0.5247 GB, free: 7.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.044e-06/0.4443, allocations: 4 kB / 0.5247 GB, free: 7.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.003902/0.4482, allocations: 2.534 MB / 0.5272 GB, free: 6.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002692/0.4484, allocations: 0.5651 MB / 0.5277 GB, free: 5.672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005087/0.4489, allocations: 420.2 kB / 0.5281 GB, free: 5.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.809e-05/0.449, allocations: 70.73 kB / 0.5282 GB, free: 5.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.4492, allocations: 259.3 kB / 0.5284 GB, free: 5.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.4494, allocations: 198.5 kB / 0.5286 GB, free: 5.055 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003268/0.4497, allocations: 221.8 kB / 0.5288 GB, free: 4.965 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.4498, allocations: 381.8 kB / 0.5292 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006872/0.4505, allocations: 437.5 kB / 0.5296 GB, free: 4.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008845/0.4514, allocations: 0.7927 MB / 0.5304 GB, free: 3.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002652/0.454, allocations: 2.505 MB / 0.5328 GB, free: 2.043 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.4541, allocations: 6.906 kB / 0.5328 GB, free: 2.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002623/0.4567, allocations: 1.818 MB / 0.5346 GB, free: 1.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002109/0.4569, allocations: 335.4 kB / 0.5349 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/0.4569, allocations: 14.41 kB / 0.5349 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.988e-05/0.457, allocations: 16.72 kB / 0.535 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.4573, allocations: 124.3 kB / 0.5351 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.207e-05/0.4574, allocations: 23.14 kB / 0.5351 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005333/0.4579, allocations: 131.2 kB / 0.5352 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.365e-05/0.458, allocations: 52.94 kB / 0.5353 GB, free: 0.7891 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: 50 * Number of states: 0 () * Number of discrete variables: 125 ($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.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.firingTime,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 (130): * Single equations (assignments): 119 * 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.0009387/0.4589, allocations: 0.7646 MB / 0.536 GB, free: 272 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.4591, allocations: 75.91 kB / 0.5361 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003583/0.4627, allocations: 1.961 MB / 0.538 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.4627, allocations: 9.688 kB / 0.538 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.4627, allocations: 1.188 kB / 0.538 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.4627, allocations: 2.922 kB / 0.538 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004141/0.4668, allocations: 2.718 MB / 0.5407 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4668, allocations: 0 / 0.5407 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.467, allocations: 28.58 kB / 0.5407 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.467, allocations: 1.375 kB / 0.5407 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.166e-05/0.4671, allocations: 44.81 kB / 0.5407 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.4671, allocations: 1.469 kB / 0.5407 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4671, allocations: 5.438 kB / 0.5407 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003563/0.4706, allocations: 2.324 MB / 0.543 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.266e-05/0.4707, allocations: 50.05 kB / 0.5431 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/0.4709, allocations: 75.69 kB / 0.5431 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004774/0.4714, allocations: 78.91 kB / 0.5432 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005663/0.472, allocations: 333.8 kB / 0.5435 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.4721, allocations: 42.77 kB / 0.5436 GB, free: 12.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002958/0.4724, allocations: 251.3 kB / 0.5438 GB, free: 12.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4724, allocations: 1.031 kB / 0.5438 GB, free: 12.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001367/0.4737, allocations: 337.1 kB / 0.5441 GB, free: 12.67 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: 66 ($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,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$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.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.firingTime,T1.fireTime,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 51 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,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 (35): * Single equations (assignments): 22 * 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.0008058/0.4745, allocations: 384.9 kB / 0.5445 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002888/0.4774, allocations: 1.917 MB / 0.5464 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4774, allocations: 4.062 kB / 0.5464 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001885/0.4793, allocations: 1.235 MB / 0.5476 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006797/0.48, allocations: 109.9 kB / 0.5477 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/0.483, allocations: 1.536 MB / 0.5492 GB, free: 9.789 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006239/0.4836, allocations: 0.9186 MB / 0.5501 GB, free: 8.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003848/0.484, allocations: 148 kB / 0.5502 GB, free: 8.914 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.4841, allocations: 51.98 kB / 0.5503 GB, free: 8.898 MB / 398.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4841, allocations: 0 / 0.5503 GB, free: 8.898 MB / 398.1 MB Notification: Performance of Templates: time 0.02508/0.5092, allocations: 13.82 MB / 0.5638 GB, free: 13.72 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTT.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTT.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) [Timeout 480] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT.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.697519034147263]