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.001868/0.001868, allocations: 78.34 kB / 19 MB, free: 2.867 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.002337/0.002337, allocations: 159.3 kB / 22.25 MB, free: 5.137 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.487/1.487, allocations: 177.2 MB / 202.6 MB, free: 9.281 MB / 190.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.0777/0.0777, allocations: 12.67 MB / 271.7 MB, free: 4.289 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.002184/0.002184, allocations: 63.91 kB / 402.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2966, allocations: 57.61 MB / 460.1 MB, free: 9.621 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002618/0.2992, allocations: 1.735 MB / 461.8 MB, free: 8.484 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003383/0.3026, allocations: 1.842 MB / 463.7 MB, free: 7.289 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003268/0.3029, allocations: 9.406 kB / 463.7 MB, free: 7.285 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003518/0.3032, allocations: 119.9 kB / 463.8 MB, free: 7.207 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003752/0.3036, allocations: 133.8 kB / 463.9 MB, free: 7.117 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002249/0.3059, allocations: 0.9506 MB / 464.9 MB, free: 6.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001938/0.3078, allocations: 1.344 MB / 466.2 MB, free: 6.031 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.308, allocations: 70.72 kB / 466.3 MB, free: 5.996 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000972/0.309, allocations: 0.7667 MB / 467 MB, free: 5.605 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005828/0.3096, allocations: 358 kB / 467.4 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.3097, allocations: 91.88 kB / 467.5 MB, free: 5.441 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.3109, allocations: 0.608 MB / 468.1 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.3111, allocations: 157.5 kB / 468.2 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004182/0.3115, allocations: 330.5 kB / 468.6 MB, free: 5.031 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.3131, allocations: 1.194 MB / 469.8 MB, free: 4.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.3131, allocations: 3.984 kB / 469.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3131, allocations: 0 / 469.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.3131, allocations: 0 / 469.8 MB, free: 4.336 MB / 366.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.001513/0.3146, allocations: 1.203 MB / 471 MB, free: 3.301 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3146, allocations: 14.19 kB / 471 MB, free: 3.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003166/0.315, allocations: 99 kB / 471.1 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/0.3155, allocations: 376.3 kB / 471.4 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.073e-05/0.3156, allocations: 113.8 kB / 471.6 MB, free: 2.855 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.3157, allocations: 79.11 kB / 471.6 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/0.3176, allocations: 1.796 MB / 473.4 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.3176, allocations: 1.031 kB / 473.4 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-05/0.3177, allocations: 40.55 kB / 473.5 MB, free: 1.492 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.966e-05/0.3178, allocations: 53.17 kB / 473.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.3195, allocations: 1.252 MB / 474.8 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003955/0.3234, allocations: 2.924 MB / 477.7 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.3252, allocations: 1.059 MB / 478.8 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001357/0.3266, allocations: 0.9416 MB / 479.7 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.24e-05/0.3266, allocations: 10.92 kB / 479.7 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001928/0.3285, allocations: 1.305 MB / 481 MB, free: 11.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=77): time 2.665e-06/0.3285, allocations: 4.969 kB / 481 MB, free: 11.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=77): time 0.005199/0.3337, allocations: 3.435 MB / 484.5 MB, free: 9.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004649/0.3342, allocations: 0.5272 MB / 485 MB, free: 9.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005446/0.3348, allocations: 371.9 kB / 485.3 MB, free: 8.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.3349, allocations: 70.94 kB / 485.4 MB, free: 8.746 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/0.3351, allocations: 264.2 kB / 485.7 MB, free: 8.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.3353, allocations: 207.1 kB / 485.9 MB, free: 8.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003491/0.3357, allocations: 229.1 kB / 486.1 MB, free: 8.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.3359, allocations: 377.2 kB / 486.5 MB, free: 7.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.3369, allocations: 0.7497 MB / 487.2 MB, free: 7.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/0.3383, allocations: 1.201 MB / 488.4 MB, free: 5.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004226/0.3426, allocations: 2.57 MB / 491 MB, free: 2.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-05/0.3426, allocations: 4 kB / 491 MB, free: 2.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.003341/0.3459, allocations: 2.163 MB / 493.2 MB, free: 472 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002588/0.3462, allocations: 333 kB / 493.5 MB, free: 76 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.3462, allocations: 12 kB / 493.5 MB, free: 64 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.23e-05/0.3462, allocations: 16 kB / 493.5 MB, free: 48 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.3467, allocations: 123.9 kB / 493.6 MB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.95e-05/0.3467, allocations: 27.86 kB / 493.7 MB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006066/0.3473, allocations: 115.4 kB / 493.8 MB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.3474, allocations: 64.22 kB / 493.8 MB, free: 15.72 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.001207/0.3486, allocations: 0.7647 MB / 494.6 MB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.3488, allocations: 67.72 kB / 494.7 MB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003807/0.3526, allocations: 2.389 MB / 497.1 MB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/0.3526, allocations: 8 kB / 497.1 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.3526, allocations: 3.984 kB / 497.1 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.3526, allocations: 0 / 497.1 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005249/0.3579, allocations: 3.145 MB / 0.4885 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.3579, allocations: 0 / 0.4885 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.358, allocations: 27.92 kB / 0.4885 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.3581, allocations: 4 kB / 0.4885 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.3582, allocations: 47.97 kB / 0.4886 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.3582, allocations: 0 / 0.4886 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3582, allocations: 0 / 0.4886 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00449/0.3627, allocations: 2.853 MB / 0.4913 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.594e-05/0.3628, allocations: 47.55 kB / 0.4914 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/0.363, allocations: 75.97 kB / 0.4915 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005052/0.3635, allocations: 83.77 kB / 0.4915 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006068/0.3641, allocations: 335.5 kB / 0.4919 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.3642, allocations: 47.97 kB / 0.4919 GB, free: 5.461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002456/0.3645, allocations: 203.1 kB / 0.4921 GB, free: 5.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3645, allocations: 0 / 0.4921 GB, free: 5.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001547/0.366, allocations: 351.5 kB / 0.4924 GB, free: 4.918 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.001017/0.367, allocations: 385.3 kB / 0.4928 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003815/0.3708, allocations: 2.626 MB / 0.4954 GB, free: 1.695 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3708, allocations: 0.875 kB / 0.4954 GB, free: 1.695 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002117/0.373, allocations: 1.615 MB / 0.4969 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006167/0.3736, allocations: 91.69 kB / 0.497 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/0.377, allocations: 1.966 MB / 0.499 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.3774, allocations: 324.4 kB / 0.4993 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003598/0.3777, allocations: 145 kB / 0.4994 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.3778, allocations: 48.48 kB / 0.4994 GB, free: 13.26 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3778, allocations: 4 kB / 0.4995 GB, free: 13.26 MB / 414.1 MB Notification: Performance of Templates: time 0.02368/0.4015, allocations: 13.45 MB / 0.5126 GB, free: 15.82 MB / 430.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.243045965209603]