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.0009403/0.0009403, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001326/0.002267, 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.0007998/0.0007998, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/0.001851, 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.008/1.008, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1121/1.12, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.07924/0.07924, allocations: 12.66 MB / 256.8 MB, free: 2.25 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01014/0.08937, allocations: 4.695 MB / 261.5 MB, free: 13.54 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.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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 262.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.374e-05, allocations: 2.312 kB / 262.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.002698/0.002722, allocations: 1.797 MB / 264.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002828/0.00555, allocations: 1.944 MB / 266.6 MB, free: 8.469 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/0.005724, allocations: 7.938 kB / 266.6 MB, free: 8.461 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.005965, allocations: 119 kB / 266.7 MB, free: 8.344 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.006234, allocations: 147 kB / 266.8 MB, free: 8.199 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.007527, allocations: 0.8845 MB / 267.7 MB, free: 7.312 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.008597, allocations: 1.357 MB / 269.1 MB, free: 5.953 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.008755, allocations: 65.89 kB / 269.1 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006417/0.009397, allocations: 0.8039 MB / 269.9 MB, free: 5.074 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007555/0.01015, allocations: 319 kB / 270.2 MB, free: 4.762 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.298e-05/0.01025, allocations: 88 kB / 270.3 MB, free: 4.676 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007266/0.01097, allocations: 0.6629 MB / 271 MB, free: 4.012 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.01111, allocations: 127.4 kB / 271.1 MB, free: 3.887 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.01133, allocations: 219.6 kB / 271.3 MB, free: 3.672 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000825/0.01216, allocations: 0.9426 MB / 272.3 MB, free: 2.727 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.68e-05/0.01217, allocations: 0 / 272.3 MB, free: 2.727 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.01217, allocations: 0 / 272.3 MB, free: 2.727 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.01219, allocations: 0 / 272.3 MB, free: 2.727 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001256/0.01344, allocations: 1.336 MB / 273.6 MB, free: 1.305 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.01348, allocations: 15.98 kB / 273.6 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003025/0.01378, allocations: 221.9 kB / 273.8 MB, free: 1.055 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.0141, allocations: 281.9 kB / 274.1 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.969e-05/0.01419, allocations: 109 kB / 274.2 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.983e-05/0.01427, allocations: 79.98 kB / 274.3 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.146/0.1603, allocations: 1.327 MB / 275.6 MB, free: 6.598 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.1603, allocations: 5.156 kB / 275.6 MB, free: 6.598 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.676e-05/0.1604, allocations: 37.06 kB / 275.7 MB, free: 6.598 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001243/0.1605, allocations: 53.77 kB / 275.7 MB, free: 6.598 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.1616, allocations: 0.7846 MB / 276.5 MB, free: 6.328 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00268/0.1642, allocations: 2.494 MB / 279 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008253/0.1651, allocations: 0.7981 MB / 279.8 MB, free: 4.289 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006223/0.1657, allocations: 0.644 MB / 280.4 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.947e-05/0.1657, allocations: 9.281 kB / 280.5 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/0.1668, allocations: 1.012 MB / 281.5 MB, free: 3.586 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 3.727e-06/0.1668, allocations: 1.219 kB / 281.5 MB, free: 3.586 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.002166/0.169, allocations: 2.024 MB / 283.5 MB, free: 2.789 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001802/0.1692, allocations: 403.9 kB / 283.9 MB, free: 2.445 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.1695, allocations: 351.2 kB / 284.2 MB, free: 2.305 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.528e-05/0.1696, allocations: 66.92 kB / 284.3 MB, free: 2.273 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.1698, allocations: 255.2 kB / 284.5 MB, free: 2.113 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.1699, allocations: 185.5 kB / 284.7 MB, free: 2.035 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002859/0.1702, allocations: 233.2 kB / 285 MB, free: 2.016 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.41e-05/0.1703, allocations: 374.1 kB / 285.3 MB, free: 1.699 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003913/0.1707, allocations: 0.4945 MB / 285.8 MB, free: 1.383 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005259/0.1712, allocations: 0.9486 MB / 286.8 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.1726, allocations: 1.64 MB / 288.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-05/0.1727, allocations: 2.75 kB / 288.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002051/0.1747, allocations: 1.35 MB / 289.8 MB, free: 14.69 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002035/0.1749, allocations: 331.2 kB / 290.1 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.421e-05/0.1749, allocations: 11.86 kB / 290.1 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.727e-05/0.175, allocations: 15.81 kB / 290.1 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004719/0.1755, allocations: 178.7 kB / 290.3 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.849e-05/0.1755, allocations: 25.78 kB / 290.3 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004847/0.176, allocations: 119 kB / 290.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.259e-05/0.1761, allocations: 46.84 kB / 290.5 MB, free: 14.3 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: 50 * Number of states: 0 () * Number of discrete variables: 122 ($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,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.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,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 (127): * Single equations (assignments): 116 * 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.0008067/0.1769, allocations: 0.6717 MB / 291.1 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.1771, allocations: 119.6 kB / 291.3 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.1784, allocations: 1.211 MB / 292.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/0.1785, allocations: 3.562 kB / 292.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1785, allocations: 1.688 kB / 292.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.1785, allocations: 7.297 kB / 292.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.18, allocations: 1.639 MB / 294.1 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.18, allocations: 0 / 294.1 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.549e-05/0.1801, allocations: 30.7 kB / 294.1 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.1802, allocations: 45.16 kB / 294.2 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.1802, allocations: 0 / 294.2 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.018e-05/0.1803, allocations: 38.36 kB / 294.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1803, allocations: 6.406 kB / 294.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.1803, allocations: 3.469 kB / 294.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.1815, allocations: 1.686 MB / 295.9 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.1817, allocations: 73.55 kB / 296 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.1819, allocations: 72.95 kB / 296.1 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004389/0.1823, allocations: 351.1 kB / 296.4 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.837e-05/0.1824, allocations: 42.05 kB / 296.5 MB, free: 11.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.756e-05/0.1825, allocations: 94.5 kB / 296.5 MB, free: 11.33 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1825, allocations: 3.625 kB / 296.5 MB, free: 11.33 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008588/0.1834, allocations: 345.9 kB / 296.9 MB, free: 11.11 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: 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.0007589/0.1841, allocations: 416.1 kB / 297.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.1858, allocations: 2.035 MB / 299.3 MB, free: 8.613 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.246e-05/0.1859, allocations: 9.781 kB / 299.3 MB, free: 8.605 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.1869, allocations: 1.363 MB / 300.7 MB, free: 7.105 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.1873, allocations: 360.1 kB / 301.1 MB, free: 6.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.1892, allocations: 1.558 MB / 302.6 MB, free: 5.094 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.1893, allocations: 155.4 kB / 302.8 MB, free: 4.926 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.1895, allocations: 70.16 kB / 302.8 MB, free: 4.855 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000537/0.19, allocations: 300.8 kB / 303.1 MB, free: 4.566 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.19, allocations: 0 / 303.1 MB, free: 4.566 MB / 282.7 MB Notification: Performance of Templates: time 0.01732/0.2074, allocations: 14.48 MB / 317.6 MB, free: 6.242 MB / 298.7 MB " [Timeout remaining time 660] 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 & (cd run_cvode && ../PNlib_PNlib.Examples.DisTest.PDtoTT -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat -s cvode) > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.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.PDtoTT_dassl.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT_dassl.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT_dassl.sim & (cd run_dassl && ../PNlib_PNlib.Examples.DisTest.PDtoTT -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../PNlib_PNlib.Examples.DisTest.PDtoTT_dassl_res.mat -s dassl) > PNlib_PNlib.Examples.DisTest.PDtoTT_dassl.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_dassl_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.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.PDtoTT_gbode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT_gbode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT_gbode.sim & (cd run_gbode && ../PNlib_PNlib.Examples.DisTest.PDtoTT -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../PNlib_PNlib.Examples.DisTest.PDtoTT_gbode_res.mat -s gbode -gbm=radauIIA3) > PNlib_PNlib.Examples.DisTest.PDtoTT_gbode.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_gbode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.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.PDtoTT_ida.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT_ida.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT_ida.sim & (cd run_ida && ../PNlib_PNlib.Examples.DisTest.PDtoTT -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../PNlib_PNlib.Examples.DisTest.PDtoTT_ida_res.mat -s ida) > PNlib_PNlib.Examples.DisTest.PDtoTT_ida.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_ida_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.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.373768761754036]