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.00165/0.00165, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001929/0.001929, allocations: 210.9 kB / 22.24 MB, free: 5.117 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.832 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.08475/0.08475, allocations: 16.94 MB / 329.4 MB, free: 2.102 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.002196/0.002196, allocations: 63.91 kB / 460.2 MB, free: 1.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09885/0.101, allocations: 57.64 MB / 0.5057 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.00319/0.1042, allocations: 1.718 MB / 0.5074 GB, free: 6.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003704/0.1079, allocations: 1.851 MB / 0.5092 GB, free: 4.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/0.1082, allocations: 15.94 kB / 0.5092 GB, free: 4.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003763/0.1086, allocations: 115 kB / 0.5093 GB, free: 4.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004436/0.109, allocations: 135.1 kB / 0.5094 GB, free: 4.074 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002064/0.1111, allocations: 0.9394 MB / 0.5103 GB, free: 3.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00172/0.1128, allocations: 1.357 MB / 0.5117 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.113, allocations: 65.14 kB / 0.5117 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007799/0.1138, allocations: 0.5493 MB / 0.5123 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006782/0.1145, allocations: 362.2 kB / 0.5126 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001955/0.1147, allocations: 88 kB / 0.5127 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.1157, allocations: 0.6006 MB / 0.5133 GB, free: 116 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1888/0.3044, allocations: 155 kB / 0.5134 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005316/0.305, allocations: 324.8 kB / 0.5137 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.3064, allocations: 1.199 MB / 0.5149 GB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3064, allocations: 0 / 0.5149 GB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3064, allocations: 0.8438 kB / 0.5149 GB, free: 11.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.952e-05/0.3064, allocations: 0.625 kB / 0.5149 GB, free: 11.12 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.001399/0.3078, allocations: 1.213 MB / 0.5161 GB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3078, allocations: 9.625 kB / 0.5161 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002974/0.3081, allocations: 95.12 kB / 0.5162 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005596/0.3087, allocations: 379 kB / 0.5166 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.736e-05/0.3088, allocations: 110.9 kB / 0.5167 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.3089, allocations: 77.23 kB / 0.5167 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.3108, allocations: 1.79 MB / 0.5185 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.3108, allocations: 5.719 kB / 0.5185 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.374e-05/0.3109, allocations: 39.45 kB / 0.5185 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.311, allocations: 55.14 kB / 0.5186 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.3127, allocations: 1.253 MB / 0.5198 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003394/0.3161, allocations: 2.914 MB / 0.5227 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.3175, allocations: 1.058 MB / 0.5237 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.3186, allocations: 0.9394 MB / 0.5246 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.445e-05/0.3186, allocations: 6.562 kB / 0.5246 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001535/0.3202, allocations: 1.313 MB / 0.5259 GB, free: 5.715 MB / 382.1 MB Notification: Performance of pre-optimization done (n=77): time 2.445e-06/0.3202, allocations: 0 / 0.5259 GB, free: 5.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=77): time 0.004253/0.3244, allocations: 3.429 MB / 0.5292 GB, free: 3.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002107/0.3246, allocations: 0.5315 MB / 0.5298 GB, free: 3.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.325, allocations: 376.5 kB / 0.5301 GB, free: 3.199 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.4e-05/0.3251, allocations: 73.91 kB / 0.5302 GB, free: 3.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.3252, allocations: 268.9 kB / 0.5304 GB, free: 2.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.3254, allocations: 206.9 kB / 0.5306 GB, free: 2.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003005/0.3257, allocations: 237.8 kB / 0.5309 GB, free: 2.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.3258, allocations: 369.5 kB / 0.5312 GB, free: 2.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007557/0.3265, allocations: 0.7464 MB / 0.532 GB, free: 1.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009131/0.3275, allocations: 1.197 MB / 0.5331 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003044/0.3305, allocations: 2.556 MB / 0.5356 GB, free: 15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-05/0.3305, allocations: 3.062 kB / 0.5356 GB, free: 15 MB / 398.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.003067/0.3336, allocations: 2.181 MB / 0.5378 GB, free: 13.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002579/0.3338, allocations: 329.3 kB / 0.5381 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.3339, allocations: 12 kB / 0.5381 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.392e-05/0.3339, allocations: 17.88 kB / 0.5381 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.3343, allocations: 123.4 kB / 0.5382 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.616e-05/0.3343, allocations: 27.33 kB / 0.5382 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/0.3349, allocations: 118.9 kB / 0.5384 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.595e-05/0.335, allocations: 53.73 kB / 0.5384 GB, free: 13.39 MB / 398.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.001089/0.3361, allocations: 0.7596 MB / 0.5391 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.3362, allocations: 70.69 kB / 0.5392 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00357/0.3398, allocations: 2.389 MB / 0.5415 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.3398, allocations: 6.156 kB / 0.5416 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3398, allocations: 3.984 kB / 0.5416 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.3399, allocations: 4.281 kB / 0.5416 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00473/0.3446, allocations: 3.149 MB / 0.5446 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3446, allocations: 1 kB / 0.5446 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.3447, allocations: 28.19 kB / 0.5447 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.3447, allocations: 2.562 kB / 0.5447 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.815e-05/0.3448, allocations: 40.92 kB / 0.5447 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3448, allocations: 2.062 kB / 0.5447 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3448, allocations: 0.9375 kB / 0.5447 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003847/0.3487, allocations: 2.858 MB / 0.5475 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.218e-05/0.3488, allocations: 49.3 kB / 0.5475 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.349, allocations: 79.06 kB / 0.5476 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000468/0.3494, allocations: 73.33 kB / 0.5477 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005368/0.35, allocations: 328.2 kB / 0.548 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.3501, allocations: 52.36 kB / 0.5481 GB, free: 8.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002176/0.3503, allocations: 202.5 kB / 0.5482 GB, free: 8.297 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3503, allocations: 0 / 0.5482 GB, free: 8.297 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001139/0.3514, allocations: 349 kB / 0.5486 GB, free: 8.23 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.0007553/0.3522, allocations: 402 kB / 0.549 GB, free: 8.074 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003255/0.3555, allocations: 2.636 MB / 0.5515 GB, free: 6.316 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3555, allocations: 0 / 0.5515 GB, free: 6.316 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001961/0.3574, allocations: 1.607 MB / 0.5531 GB, free: 5.109 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/0.358, allocations: 88.5 kB / 0.5532 GB, free: 5.078 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/0.361, allocations: 1.968 MB / 0.5551 GB, free: 3.824 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.3613, allocations: 324.3 kB / 0.5554 GB, free: 3.625 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003456/0.3617, allocations: 141.2 kB / 0.5556 GB, free: 3.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.357e-05/0.3618, allocations: 46.16 kB / 0.5556 GB, free: 3.551 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3618, allocations: 0 / 0.5556 GB, free: 3.551 MB / 398.1 MB Notification: Performance of Templates: time 0.02262/0.3844, allocations: 13.79 MB / 0.5691 GB, free: 7.34 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.235627628862858]