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.0009687/0.0009687, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00134/0.002309, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.0008121/0.0008121, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001137/0.001949, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 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.023/1.023, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1116/1.135, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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.08709/0.08709, allocations: 12.67 MB / 256.8 MB, free: 2.27 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03196/0.1191, allocations: 4.687 MB / 261.5 MB, free: 13.57 MB / 266.7 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.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: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 262.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.567e-05, allocations: 2.312 kB / 262.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.003359/0.003385, allocations: 1.793 MB / 264.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002863/0.006247, allocations: 1.909 MB / 266.5 MB, free: 8.523 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003214/0.006569, allocations: 11.94 kB / 266.5 MB, free: 8.512 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.006858, allocations: 119 kB / 266.6 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003493/0.007208, allocations: 146.9 kB / 266.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.008922, allocations: 0.8729 MB / 267.7 MB, free: 7.375 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001666/0.01059, allocations: 1.353 MB / 269 MB, free: 6.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.01078, allocations: 81.73 kB / 269.1 MB, free: 5.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009616/0.01174, allocations: 0.7999 MB / 269.9 MB, free: 5.129 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006168/0.01236, allocations: 323 kB / 270.2 MB, free: 4.812 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.0125, allocations: 88 kB / 270.3 MB, free: 4.727 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009671/0.01347, allocations: 0.6547 MB / 271 MB, free: 4.074 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.01364, allocations: 135.4 kB / 271.1 MB, free: 3.941 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.01387, allocations: 223.6 kB / 271.3 MB, free: 3.723 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.01497, allocations: 0.9388 MB / 272.2 MB, free: 2.781 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.816e-05/0.01499, allocations: 0 / 272.2 MB, free: 2.781 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.01499, allocations: 0 / 272.2 MB, free: 2.781 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.857e-05/0.01501, allocations: 0 / 272.2 MB, free: 2.781 MB / 266.7 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.001499/0.01651, allocations: 1.324 MB / 273.6 MB, free: 1.367 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.01655, allocations: 19.97 kB / 273.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003343/0.01688, allocations: 225.9 kB / 273.8 MB, free: 1.109 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.01723, allocations: 276.8 kB / 274.1 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-05/0.01733, allocations: 117 kB / 274.2 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.81e-05/0.0174, allocations: 75.98 kB / 274.3 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1397/0.1571, allocations: 1.332 MB / 275.6 MB, free: 7.934 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.1572, allocations: 1.312 kB / 275.6 MB, free: 7.934 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-05/0.1572, allocations: 40.14 kB / 275.6 MB, free: 7.934 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.676e-05/0.1573, allocations: 52.78 kB / 275.7 MB, free: 7.934 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008707/0.1582, allocations: 0.7903 MB / 276.5 MB, free: 7.664 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.1603, allocations: 2.498 MB / 279 MB, free: 6.012 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007048/0.161, allocations: 0.7969 MB / 279.8 MB, free: 5.621 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005506/0.1616, allocations: 0.6601 MB / 280.4 MB, free: 5.352 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.219e-05/0.1616, allocations: 9.391 kB / 280.4 MB, free: 5.352 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009376/0.1626, allocations: 1.002 MB / 281.4 MB, free: 4.922 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 4.458e-06/0.1626, allocations: 0 / 281.4 MB, free: 4.922 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.001882/0.1644, allocations: 2.033 MB / 283.5 MB, free: 4.125 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001647/0.1646, allocations: 401.1 kB / 283.9 MB, free: 3.777 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.1649, allocations: 352.6 kB / 284.2 MB, free: 3.641 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.879e-05/0.165, allocations: 65.62 kB / 284.3 MB, free: 3.609 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.1651, allocations: 257.1 kB / 284.5 MB, free: 3.445 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.1652, allocations: 202.3 kB / 284.7 MB, free: 3.363 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002585/0.1655, allocations: 229.6 kB / 285 MB, free: 3.344 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.566e-05/0.1656, allocations: 372.2 kB / 285.3 MB, free: 3.031 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/0.1659, allocations: 0.4936 MB / 285.8 MB, free: 2.715 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004863/0.1664, allocations: 0.968 MB / 286.8 MB, free: 1.824 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.1675, allocations: 1.672 MB / 288.4 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.404e-05/0.1675, allocations: 3.188 kB / 288.5 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001081/0.1686, allocations: 1.358 MB / 289.8 MB, free: 15.78 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001759/0.1688, allocations: 328.9 kB / 290.1 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/0.1688, allocations: 13.03 kB / 290.1 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.726e-05/0.1689, allocations: 19.19 kB / 290.2 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000387/0.1692, allocations: 185.7 kB / 290.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.34e-05/0.1693, allocations: 24.3 kB / 290.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.1696, allocations: 122.6 kB / 290.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.285e-05/0.1697, allocations: 53.75 kB / 290.5 MB, free: 15.38 MB / 282.7 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: 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,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,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,P1.outTransition[1].fed,T1.enabledByOutPlaces,P1.reStart,$PRE.T1.firingTime,T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[1],P1.enableOut.arcWeight[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,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,T1.firingCon) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 121 * 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.000644/0.1703, allocations: 0.6741 MB / 291.2 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.1705, allocations: 115 kB / 291.3 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.1717, allocations: 1.219 MB / 292.5 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.1717, allocations: 6.219 kB / 292.6 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1717, allocations: 2.312 kB / 292.6 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1717, allocations: 0.5469 kB / 292.6 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.1733, allocations: 1.745 MB / 294.3 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.1733, allocations: 0 / 294.3 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.331e-05/0.1734, allocations: 33.42 kB / 294.3 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.1734, allocations: 56.25 kB / 294.4 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1734, allocations: 0 / 294.4 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.635e-05/0.1735, allocations: 38.61 kB / 294.4 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1735, allocations: 3.688 kB / 294.4 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1735, allocations: 3.188 kB / 294.4 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.1748, allocations: 1.689 MB / 296.1 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/0.1749, allocations: 74.62 kB / 296.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.1752, allocations: 76.77 kB / 296.3 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004949/0.1757, allocations: 348.5 kB / 296.6 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-05/0.1758, allocations: 40.73 kB / 296.6 MB, free: 12.26 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.392e-05/0.1758, allocations: 97.66 kB / 296.7 MB, free: 12.19 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1758, allocations: 3.281 kB / 296.7 MB, free: 12.19 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007803/0.1766, allocations: 345.1 kB / 297.1 MB, free: 11.86 MB / 282.7 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.0006763/0.1773, allocations: 423.5 kB / 297.5 MB, free: 11.53 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00185/0.1791, allocations: 2.05 MB / 299.5 MB, free: 9.297 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.382e-05/0.1792, allocations: 9.5 kB / 299.6 MB, free: 9.289 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.1803, allocations: 1.367 MB / 300.9 MB, free: 7.781 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.1807, allocations: 350.8 kB / 301.3 MB, free: 7.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.1828, allocations: 1.566 MB / 302.8 MB, free: 5.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.1829, allocations: 159.9 kB / 303 MB, free: 5.598 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001618/0.183, allocations: 67.83 kB / 303.1 MB, free: 5.535 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005509/0.1836, allocations: 301.1 kB / 303.3 MB, free: 5.246 MB / 282.7 MB Notification: Performance of SimCode: time 1.353e-06/0.1836, allocations: 0 / 303.3 MB, free: 5.246 MB / 282.7 MB Notification: Performance of Templates: time 0.01903/0.2026, allocations: 14.54 MB / 317.9 MB, free: 6.844 MB / 298.7 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 & (cd run_cvode && ../PNlib_PNlib.Examples.DisTest.PDtoTD -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat -s cvode) > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD_dassl.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD_dassl.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_dassl.sim & (cd run_dassl && ../PNlib_PNlib.Examples.DisTest.PDtoTD -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../PNlib_PNlib.Examples.DisTest.PDtoTD_dassl_res.mat -s dassl) > PNlib_PNlib.Examples.DisTest.PDtoTD_dassl.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_dassl_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD_gbode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD_gbode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_gbode.sim & (cd run_gbode && ../PNlib_PNlib.Examples.DisTest.PDtoTD -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../PNlib_PNlib.Examples.DisTest.PDtoTD_gbode_res.mat -s gbode -gbm=radauIIA3) > PNlib_PNlib.Examples.DisTest.PDtoTD_gbode.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_gbode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD_ida.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD_ida.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD_ida.sim & (cd run_ida && ../PNlib_PNlib.Examples.DisTest.PDtoTD -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../PNlib_PNlib.Examples.DisTest.PDtoTD_ida_res.mat -s ida) > PNlib_PNlib.Examples.DisTest.PDtoTD_ida.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_ida_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3265202026814222]