Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.001436/0.001436, 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.002571/0.002571, allocations: 218.2 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.693/1.693, allocations: 230.6 MB / 256 MB, free: 7.969 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.09035/0.09035, allocations: 16.94 MB / 329.4 MB, free: 2.262 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.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") translateModel(PNlib.Examples.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") [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.002445/0.002445, allocations: 67.91 kB / 460.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1274, allocations: 57.64 MB / 0.5058 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.004127/0.1315, allocations: 1.877 MB / 0.5076 GB, free: 6.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004466/0.136, allocations: 1.939 MB / 0.5095 GB, free: 4.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003998/0.1364, allocations: 11.94 kB / 0.5095 GB, free: 4.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000464/0.1369, allocations: 119.1 kB / 0.5096 GB, free: 4.082 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005514/0.1374, allocations: 131 kB / 0.5097 GB, free: 3.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002402/0.1398, allocations: 0.959 MB / 0.5107 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002045/0.1419, allocations: 1.361 MB / 0.512 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.1421, allocations: 67.02 kB / 0.5121 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.1431, allocations: 0.5493 MB / 0.5126 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008006/0.1439, allocations: 386.2 kB / 0.513 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002311/0.1441, allocations: 88 kB / 0.513 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2362/0.3803, allocations: 0.6558 MB / 0.5137 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003076/0.3806, allocations: 147.9 kB / 0.5138 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005496/0.3812, allocations: 394.3 kB / 0.5142 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.3828, allocations: 1.195 MB / 0.5154 GB, free: 11.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3828, allocations: 0 / 0.5154 GB, free: 11.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3828, allocations: 2.25 kB / 0.5154 GB, free: 11.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.3828, allocations: 0 / 0.5154 GB, free: 11.04 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.001572/0.3844, allocations: 1.224 MB / 0.5166 GB, free: 10.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.3844, allocations: 9.781 kB / 0.5166 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003259/0.3847, allocations: 94.41 kB / 0.5167 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005561/0.3853, allocations: 371.2 kB / 0.517 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.3854, allocations: 118.8 kB / 0.5171 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.3855, allocations: 78.91 kB / 0.5172 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.3873, allocations: 1.318 MB / 0.5185 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.3873, allocations: 6.594 kB / 0.5185 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-05/0.3874, allocations: 37.44 kB / 0.5185 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/0.3875, allocations: 54.48 kB / 0.5186 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.389, allocations: 0.9146 MB / 0.5195 GB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003967/0.393, allocations: 3.203 MB / 0.5226 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.3944, allocations: 0.7252 MB / 0.5233 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.3954, allocations: 0.5974 MB / 0.5239 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.669e-05/0.3954, allocations: 10.53 kB / 0.5239 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001557/0.397, allocations: 0.9203 MB / 0.5248 GB, free: 7.285 MB / 382.1 MB Notification: Performance of pre-optimization done (n=77): time 2.434e-06/0.397, allocations: 0 / 0.5248 GB, free: 7.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=77): time 0.004013/0.401, allocations: 2.626 MB / 0.5274 GB, free: 6.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002641/0.4013, allocations: 0.5366 MB / 0.5279 GB, free: 5.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005835/0.4019, allocations: 415.5 kB / 0.5283 GB, free: 5.434 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.402, allocations: 66.98 kB / 0.5284 GB, free: 5.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.4022, allocations: 264.4 kB / 0.5286 GB, free: 5.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.4023, allocations: 203.8 kB / 0.5288 GB, free: 5.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003279/0.4027, allocations: 230.4 kB / 0.529 GB, free: 4.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.4028, allocations: 373.7 kB / 0.5294 GB, free: 4.602 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007354/0.4035, allocations: 438.7 kB / 0.5298 GB, free: 4.469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000902/0.4044, allocations: 0.8086 MB / 0.5306 GB, free: 3.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002962/0.4074, allocations: 2.549 MB / 0.5331 GB, free: 1.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.272e-05/0.4074, allocations: 3.406 kB / 0.5331 GB, free: 1.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.003024/0.4104, allocations: 1.841 MB / 0.5349 GB, free: 1.152 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001827/0.4106, allocations: 339.2 kB / 0.5352 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.335e-05/0.4106, allocations: 12.06 kB / 0.5352 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.512e-05/0.4107, allocations: 16.22 kB / 0.5352 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.4111, allocations: 119.6 kB / 0.5353 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.894e-05/0.4111, allocations: 21.44 kB / 0.5354 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006479/0.4118, allocations: 132.8 kB / 0.5355 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.4119, allocations: 61.64 kB / 0.5356 GB, free: 0.7266 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: 51 * 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.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.enableOut.arcWeight[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 (134): * Single equations (assignments): 123 * 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.001142/0.413, allocations: 0.7535 MB / 0.5363 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.4132, allocations: 75.77 kB / 0.5364 GB, free: 180 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003793/0.417, allocations: 2.053 MB / 0.5384 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/0.417, allocations: 6.719 kB / 0.5384 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.417, allocations: 1.125 kB / 0.5384 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.417, allocations: 5.531 kB / 0.5384 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004992/0.422, allocations: 3.019 MB / 0.5413 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.422, allocations: 0 / 0.5413 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.4222, allocations: 34.03 kB / 0.5414 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.4222, allocations: 2.188 kB / 0.5414 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.4223, allocations: 38.69 kB / 0.5414 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.4223, allocations: 9.25 kB / 0.5414 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4223, allocations: 1.219 kB / 0.5414 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004448/0.4268, allocations: 2.401 MB / 0.5438 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/0.427, allocations: 54.02 kB / 0.5438 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003052/0.4273, allocations: 75.81 kB / 0.5439 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005309/0.4278, allocations: 75.14 kB / 0.5439 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008978/0.4287, allocations: 336.3 kB / 0.5443 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/0.4288, allocations: 51.94 kB / 0.5443 GB, free: 12.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004427/0.4293, allocations: 248.7 kB / 0.5446 GB, free: 12.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4293, allocations: 0 / 0.5446 GB, free: 12.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001758/0.431, allocations: 340.9 kB / 0.5449 GB, free: 12.47 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: 69 ($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.arcWeight[1],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 (39): * Single equations (assignments): 26 * 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.0009275/0.432, allocations: 382.7 kB / 0.5452 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003513/0.4355, allocations: 1.951 MB / 0.5472 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.4355, allocations: 3.281 kB / 0.5472 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.4372, allocations: 1.268 MB / 0.5484 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006439/0.4379, allocations: 106.7 kB / 0.5485 GB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/0.441, allocations: 1.635 MB / 0.5501 GB, free: 9.383 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006328/0.4417, allocations: 0.9258 MB / 0.551 GB, free: 8.574 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003605/0.442, allocations: 146.8 kB / 0.5511 GB, free: 8.512 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.4421, allocations: 45.42 kB / 0.5512 GB, free: 8.5 MB / 398.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4421, allocations: 0 / 0.5512 GB, free: 8.5 MB / 398.1 MB Notification: Performance of Templates: time 0.02609/0.4682, allocations: 13.97 MB / 0.5648 GB, free: 12.69 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & ./PNlib_PNlib.Examples.DisTest.PDtoTDfunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) [Timeout 480] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.817251672036946]