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.0018/0.0018, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002175/0.002175, allocations: 162.9 kB / 23.01 MB, free: 4.602 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.413/1.413, allocations: 177.2 MB / 203.4 MB, free: 8.945 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.07871/0.07871, allocations: 12.67 MB / 272.4 MB, free: 4.164 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.002227/0.002227, allocations: 60.28 kB / 403.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1027, allocations: 57.59 MB / 460.8 MB, free: 6.293 MB / 430.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.003491/0.1062, allocations: 1.746 MB / 462.6 MB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003503/0.1097, allocations: 1.851 MB / 464.4 MB, free: 2.684 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.1099, allocations: 7.938 kB / 464.4 MB, free: 2.676 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003518/0.1102, allocations: 115.1 kB / 464.6 MB, free: 2.562 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003988/0.1106, allocations: 139 kB / 464.7 MB, free: 2.426 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.1124, allocations: 0.9317 MB / 465.6 MB, free: 1.492 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001421/0.1139, allocations: 1.357 MB / 467 MB, free: 136 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.114, allocations: 72.19 kB / 467.1 MB, free: 56 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006026/0.1146, allocations: 0.5454 MB / 467.6 MB, free: 15.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005262/0.1152, allocations: 362.2 kB / 468 MB, free: 15.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.1153, allocations: 88 kB / 468 MB, free: 15.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009408/0.1162, allocations: 0.6084 MB / 468.6 MB, free: 14.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.1164, allocations: 147.3 kB / 468.8 MB, free: 14.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003996/0.1168, allocations: 334.7 kB / 469.1 MB, free: 13.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.1182, allocations: 1.195 MB / 470.3 MB, free: 12.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1182, allocations: 4 kB / 470.3 MB, free: 12.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1182, allocations: 0 / 470.3 MB, free: 12.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1182, allocations: 0 / 470.3 MB, free: 12.78 MB / 446.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.001745/0.1199, allocations: 1.21 MB / 471.5 MB, free: 11.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.12, allocations: 8.031 kB / 471.5 MB, free: 11.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003138/0.1203, allocations: 100.5 kB / 471.6 MB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006509/0.121, allocations: 377 kB / 472 MB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.1211, allocations: 108.7 kB / 472.1 MB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.1212, allocations: 76 kB / 472.2 MB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/0.1237, allocations: 1.793 MB / 474 MB, free: 8.836 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.1237, allocations: 3.938 kB / 474 MB, free: 8.832 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-05/0.1238, allocations: 43.97 kB / 474 MB, free: 8.789 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.735e-05/0.1239, allocations: 52.95 kB / 474.1 MB, free: 8.738 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/0.1258, allocations: 1.251 MB / 475.3 MB, free: 7.438 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004001/0.1298, allocations: 2.911 MB / 478.2 MB, free: 4.426 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.1314, allocations: 1.058 MB / 479.3 MB, free: 3.301 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.1327, allocations: 0.9443 MB / 480.2 MB, free: 2.305 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-05/0.1328, allocations: 11.94 kB / 480.2 MB, free: 2.293 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001845/0.1346, allocations: 1.319 MB / 481.6 MB, free: 0.8789 MB / 446.1 MB Notification: Performance of pre-optimization done (n=77): time 2.284e-06/0.1346, allocations: 0 / 481.6 MB, free: 0.8789 MB / 446.1 MB Notification: Performance of matching and sorting (n=77): time 0.1914/0.3261, allocations: 3.424 MB / 485 MB, free: 59.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001856/0.3262, allocations: 0.5283 MB / 485.5 MB, free: 59.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.3266, allocations: 372.1 kB / 485.9 MB, free: 59.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.379e-05/0.3267, allocations: 72.2 kB / 486 MB, free: 59.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.3268, allocations: 271.7 kB / 486.2 MB, free: 58.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.327, allocations: 202.2 kB / 486.4 MB, free: 58.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002613/0.3272, allocations: 241.6 kB / 486.7 MB, free: 58.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.378e-05/0.3273, allocations: 371.3 kB / 487 MB, free: 58.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006637/0.328, allocations: 0.7475 MB / 487.8 MB, free: 57.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007961/0.3288, allocations: 1.201 MB / 489 MB, free: 56.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002345/0.3311, allocations: 2.562 MB / 491.5 MB, free: 54.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-05/0.3311, allocations: 3.094 kB / 491.5 MB, free: 54.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002136/0.3333, allocations: 2.163 MB / 493.7 MB, free: 53.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.3334, allocations: 331.1 kB / 494 MB, free: 53.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.3334, allocations: 10.44 kB / 494 MB, free: 53.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.061e-05/0.3334, allocations: 19.44 kB / 494 MB, free: 53.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.3338, allocations: 128.1 kB / 494.2 MB, free: 53.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.988e-05/0.3338, allocations: 23.34 kB / 494.2 MB, free: 53.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004777/0.3343, allocations: 121 kB / 494.3 MB, free: 53.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.434e-05/0.3343, allocations: 59.97 kB / 494.4 MB, free: 53.31 MB / 446.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.0006282/0.335, allocations: 0.7406 MB / 495.1 MB, free: 52.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.3351, allocations: 75.83 kB / 495.2 MB, free: 52.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002514/0.3376, allocations: 2.391 MB / 497.6 MB, free: 51.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.3376, allocations: 6.625 kB / 497.6 MB, free: 51.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3376, allocations: 0 / 497.6 MB, free: 51.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.3376, allocations: 3.422 kB / 497.6 MB, free: 51.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003498/0.3411, allocations: 3.148 MB / 0.489 GB, free: 50.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3411, allocations: 0 / 0.489 GB, free: 50.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.3413, allocations: 37.48 kB / 0.489 GB, free: 50 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.3413, allocations: 3.406 kB / 0.489 GB, free: 50 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.613e-05/0.3413, allocations: 38.59 kB / 0.4891 GB, free: 49.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3414, allocations: 3.125 kB / 0.4891 GB, free: 49.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3414, allocations: 1.562 kB / 0.4891 GB, free: 49.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002848/0.3442, allocations: 2.863 MB / 0.4919 GB, free: 48.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/0.3442, allocations: 50.28 kB / 0.4919 GB, free: 48.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/0.3444, allocations: 75.47 kB / 0.492 GB, free: 48.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.3448, allocations: 79.12 kB / 0.4921 GB, free: 48.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004133/0.3453, allocations: 332.9 kB / 0.4924 GB, free: 48.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.853e-05/0.3453, allocations: 47.33 kB / 0.4924 GB, free: 48.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.3455, allocations: 206.1 kB / 0.4926 GB, free: 48.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3455, allocations: 0 / 0.4926 GB, free: 48.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000879/0.3464, allocations: 345.1 kB / 0.493 GB, free: 48.14 MB / 446.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.0005845/0.3469, allocations: 375.7 kB / 0.4933 GB, free: 48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002096/0.349, allocations: 2.642 MB / 0.4959 GB, free: 46.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.349, allocations: 320 / 0.4959 GB, free: 46.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.3503, allocations: 1.613 MB / 0.4975 GB, free: 45.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.3508, allocations: 96.23 kB / 0.4976 GB, free: 45.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.353, allocations: 1.97 MB / 0.4995 GB, free: 43.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.3532, allocations: 324.2 kB / 0.4998 GB, free: 43.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000266/0.3534, allocations: 137.2 kB / 0.4999 GB, free: 43.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.428e-05/0.3535, allocations: 49.61 kB / 0.5 GB, free: 43.85 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3535, allocations: 0 / 0.5 GB, free: 43.85 MB / 446.1 MB Notification: Performance of Templates: time 0.01841/0.3719, allocations: 13.51 MB / 0.5132 GB, free: 41.82 MB / 446.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 -s ida -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/jenkins1/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.970561105990782]