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.00181/0.00181, allocations: 80.73 kB / 19.44 MB, free: 352 kB / 13.93 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.002318/0.002318, allocations: 157.7 kB / 22.75 MB, free: 1.676 MB / 18.57 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.444/1.444, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.0822/0.0822, allocations: 12.66 MB / 272.2 MB, free: 0.5312 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 345.7 MB, free: 2.281 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.125e-05, allocations: 2.312 kB / 345.7 MB, free: 2.277 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002108/0.002129, allocations: 1.731 MB / 347.5 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003464/0.005593, allocations: 1.855 MB / 349.3 MB, free: 14.68 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.0058, allocations: 7.938 kB / 349.3 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003612/0.006161, allocations: 119 kB / 349.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004021/0.006564, allocations: 139 kB / 349.6 MB, free: 14.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.008596, allocations: 0.9612 MB / 350.6 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001675/0.01027, allocations: 1.349 MB / 351.9 MB, free: 12.1 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.01046, allocations: 73.69 kB / 352 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.01162, allocations: 0.7331 MB / 352.7 MB, free: 11.29 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005453/0.01217, allocations: 319 kB / 353 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.01231, allocations: 88 kB / 353.1 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.01334, allocations: 0.6122 MB / 353.7 MB, free: 10.28 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002154/0.01356, allocations: 155.2 kB / 353.9 MB, free: 10.13 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004042/0.01396, allocations: 291.4 kB / 354.2 MB, free: 9.844 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.01576, allocations: 1.356 MB / 355.5 MB, free: 8.484 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.01576, allocations: 0 / 355.5 MB, free: 8.484 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01576, allocations: 0 / 355.5 MB, free: 8.484 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.01577, allocations: 0 / 355.5 MB, free: 8.484 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001949/0.01772, allocations: 1.194 MB / 356.7 MB, free: 7.195 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.01776, allocations: 16.02 kB / 356.7 MB, free: 7.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004647/0.01823, allocations: 164.5 kB / 356.9 MB, free: 7.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006953/0.01892, allocations: 380.6 kB / 357.3 MB, free: 6.621 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.01907, allocations: 113 kB / 357.4 MB, free: 6.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.01922, allocations: 83.97 kB / 357.4 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002837/0.02206, allocations: 1.789 MB / 359.2 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.02208, allocations: 7.938 kB / 359.2 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.02219, allocations: 35.98 kB / 359.3 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/0.0223, allocations: 52.95 kB / 359.3 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.02467, allocations: 1.255 MB / 360.6 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004361/0.02903, allocations: 2.919 MB / 363.5 MB, free: 60 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.03082, allocations: 1.056 MB / 364.6 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/0.03229, allocations: 0.9451 MB / 365.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.43e-05/0.03235, allocations: 15.98 kB / 365.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002246/0.0346, allocations: 1.303 MB / 366.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=77): time 2.134e-06/0.0346, allocations: 0 / 366.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=77): time 0.005637/0.04024, allocations: 3.47 MB / 370.3 MB, free: 8.898 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004719/0.04071, allocations: 0.5348 MB / 370.8 MB, free: 8.266 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005083/0.04122, allocations: 372.1 kB / 371.2 MB, free: 7.895 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001232/0.04134, allocations: 69.69 kB / 371.3 MB, free: 7.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/0.0416, allocations: 268.9 kB / 371.5 MB, free: 7.551 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.04183, allocations: 210.5 kB / 371.7 MB, free: 7.344 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003588/0.04219, allocations: 226.6 kB / 371.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002448/0.04243, allocations: 370.8 kB / 372.3 MB, free: 6.746 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.0435, allocations: 0.749 MB / 373.1 MB, free: 5.934 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.04523, allocations: 1.194 MB / 374.3 MB, free: 4.496 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003839/0.04907, allocations: 2.578 MB / 376.8 MB, free: 1.586 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/0.04909, allocations: 4 kB / 376.8 MB, free: 1.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.003584/0.05267, allocations: 2.225 MB / 379.1 MB, free: 15.22 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002849/0.05295, allocations: 336.1 kB / 379.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.05297, allocations: 12 kB / 379.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.693e-05/0.05301, allocations: 20 kB / 379.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/0.05344, allocations: 123.6 kB / 379.5 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.649e-05/0.05347, allocations: 23.94 kB / 379.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000563/0.05403, allocations: 123.3 kB / 379.7 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.05414, allocations: 52 kB / 379.7 MB, free: 14.49 MB / 314.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: 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.001251/0.05539, allocations: 0.7529 MB / 380.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002753/0.05566, allocations: 131.6 kB / 380.6 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003905/0.05957, allocations: 2.393 MB / 383 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/0.05959, allocations: 8 kB / 383 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.0596, allocations: 0 / 383 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.0596, allocations: 3.984 kB / 383 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005285/0.06489, allocations: 3.145 MB / 386.2 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.06489, allocations: 0 / 386.2 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.06505, allocations: 31.91 kB / 386.2 MB, free: 7.777 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.06505, allocations: 0 / 386.2 MB, free: 7.777 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.06516, allocations: 43.98 kB / 386.2 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.06517, allocations: 0 / 386.2 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.06517, allocations: 4 kB / 386.2 MB, free: 7.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005135/0.0703, allocations: 2.896 MB / 389.1 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-05/0.07039, allocations: 47.53 kB / 389.2 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/0.07061, allocations: 79.97 kB / 389.3 MB, free: 4.586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005182/0.07113, allocations: 75.92 kB / 389.3 MB, free: 4.512 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006406/0.07177, allocations: 331.7 kB / 389.7 MB, free: 4.188 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.07189, allocations: 47.97 kB / 389.7 MB, free: 4.141 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002597/0.07215, allocations: 199.1 kB / 389.9 MB, free: 3.945 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.07215, allocations: 3.938 kB / 389.9 MB, free: 3.941 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001223/0.07337, allocations: 351.5 kB / 390.2 MB, free: 3.598 MB / 314.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: 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.0009665/0.07434, allocations: 403.5 kB / 390.6 MB, free: 3.211 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003803/0.07814, allocations: 2.64 MB / 393.3 MB, free: 344 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.07815, allocations: 0 / 393.3 MB, free: 344 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002466/0.08061, allocations: 1.608 MB / 394.9 MB, free: 14.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.08119, allocations: 106.7 kB / 395 MB, free: 14.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003493/0.08468, allocations: 1.981 MB / 397 MB, free: 12.42 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.08511, allocations: 324.6 kB / 397.3 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003684/0.08548, allocations: 137 kB / 397.4 MB, free: 11.94 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.0856, allocations: 48.48 kB / 397.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of SimCode: time 8.41e-07/0.0856, allocations: 4 kB / 397.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of Templates: time 0.13/0.2156, allocations: 13.48 MB / 411 MB, free: 73.06 MB / 330.7 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: 4.865160497953184]