Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.001869/0.001869, allocations: 78.3 kB / 19.01 MB, free: 2.691 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.001615/0.001615, allocations: 165.9 kB / 22.25 MB, free: 4.727 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.502/1.502, allocations: 177.2 MB / 202.6 MB, free: 9.254 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.1019/0.1019, allocations: 12.66 MB / 271.7 MB, free: 4.285 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.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") translateModel(PNlib.Examples.DisTest.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") [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.002185/0.002185, allocations: 63.91 kB / 402.5 MB, free: 14.92 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.296, allocations: 57.61 MB / 460.1 MB, free: 9.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.002871/0.2989, allocations: 1.731 MB / 461.8 MB, free: 8.457 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003483/0.3023, allocations: 1.848 MB / 463.7 MB, free: 7.254 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.3026, allocations: 10.91 kB / 463.7 MB, free: 7.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000334/0.3029, allocations: 110.8 kB / 463.8 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003813/0.3033, allocations: 136.6 kB / 463.9 MB, free: 7.086 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.3053, allocations: 0.9398 MB / 464.9 MB, free: 6.637 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001385/0.3066, allocations: 1.33 MB / 466.2 MB, free: 6.016 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.3068, allocations: 67.05 kB / 466.3 MB, free: 5.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008136/0.3076, allocations: 0.7571 MB / 467 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004974/0.3081, allocations: 324.8 kB / 467.3 MB, free: 5.441 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.3082, allocations: 72.31 kB / 467.4 MB, free: 5.441 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.3093, allocations: 0.591 MB / 468 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.3095, allocations: 135.7 kB / 468.1 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002819/0.3098, allocations: 282.3 kB / 468.4 MB, free: 5.066 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.311, allocations: 1.065 MB / 469.5 MB, free: 4.508 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.311, allocations: 0 / 469.5 MB, free: 4.508 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.311, allocations: 0 / 469.5 MB, free: 4.508 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.311, allocations: 0 / 469.5 MB, free: 4.508 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001306/0.3123, allocations: 1.143 MB / 470.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3123, allocations: 9.625 kB / 470.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002809/0.3126, allocations: 86.05 kB / 470.7 MB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.313, allocations: 348.8 kB / 471 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.989e-05/0.3131, allocations: 105.4 kB / 471.1 MB, free: 3.094 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.943e-05/0.3132, allocations: 66.86 kB / 471.2 MB, free: 3.078 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.3149, allocations: 1.549 MB / 472.8 MB, free: 1.898 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.3149, allocations: 1.031 kB / 472.8 MB, free: 1.898 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.182e-05/0.315, allocations: 37.56 kB / 472.8 MB, free: 1.879 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.362e-05/0.3151, allocations: 47.41 kB / 472.8 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.3164, allocations: 1.061 MB / 473.9 MB, free: 1.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003105/0.3195, allocations: 2.626 MB / 476.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.321, allocations: 0.928 MB / 477.5 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.3221, allocations: 0.7985 MB / 478.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.323e-05/0.3221, allocations: 10.62 kB / 478.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001654/0.3238, allocations: 1.151 MB / 479.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.505e-06/0.3238, allocations: 0 / 479.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.004602/0.3284, allocations: 2.954 MB / 482.4 MB, free: 10.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004799/0.3289, allocations: 0.5061 MB / 482.9 MB, free: 10.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004916/0.3294, allocations: 337.8 kB / 483.2 MB, free: 10.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.38e-05/0.3294, allocations: 60.52 kB / 483.3 MB, free: 9.977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.3297, allocations: 253.1 kB / 483.5 MB, free: 9.754 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/0.3299, allocations: 196.5 kB / 483.7 MB, free: 9.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003081/0.3302, allocations: 202.3 kB / 483.9 MB, free: 9.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.3304, allocations: 365.5 kB / 484.3 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007132/0.3311, allocations: 0.5938 MB / 484.9 MB, free: 8.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.3322, allocations: 1.008 MB / 485.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002601/0.3348, allocations: 2.075 MB / 487.9 MB, free: 5.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.3348, allocations: 7 kB / 487.9 MB, free: 5.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002406/0.3372, allocations: 1.769 MB / 489.7 MB, free: 3.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002299/0.3374, allocations: 313 kB / 490 MB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.3374, allocations: 12 kB / 490 MB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-05/0.3375, allocations: 16 kB / 490 MB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/0.3378, allocations: 111.7 kB / 490.2 MB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.666e-05/0.3379, allocations: 23.92 kB / 490.2 MB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004161/0.3383, allocations: 99.34 kB / 490.3 MB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.451e-05/0.3384, allocations: 52 kB / 490.3 MB, free: 3.27 MB / 382.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" 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.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.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 P1.enableIn.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.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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 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: 46 * Number of states: 0 () * Number of discrete variables: 118 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,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],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 112 * Array equations: 0 * 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.001043/0.3394, allocations: 0.6985 MB / 491 MB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.3396, allocations: 67.72 kB / 491.1 MB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002987/0.3425, allocations: 1.976 MB / 493.1 MB, free: 408 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.3426, allocations: 12 kB / 493.1 MB, free: 396 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.3426, allocations: 0 / 493.1 MB, free: 396 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.3426, allocations: 3.938 kB / 493.1 MB, free: 392 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004156/0.3467, allocations: 2.653 MB / 495.7 MB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.3467, allocations: 3.984 kB / 495.7 MB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.3469, allocations: 27.92 kB / 495.8 MB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.443e-06/0.3469, allocations: 0 / 495.8 MB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.368e-05/0.347, allocations: 35.98 kB / 495.8 MB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.347, allocations: 7.938 kB / 495.8 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.347, allocations: 0 / 495.8 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003494/0.3505, allocations: 2.498 MB / 498.3 MB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/0.3505, allocations: 47.52 kB / 498.4 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/0.3507, allocations: 71.97 kB / 498.4 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/0.3511, allocations: 55.91 kB / 498.5 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002697/0.3514, allocations: 87.84 kB / 498.6 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-05/0.3515, allocations: 43.97 kB / 498.6 MB, free: 10.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002229/0.3517, allocations: 189.1 kB / 498.8 MB, free: 10.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3517, allocations: 4 kB / 498.8 MB, free: 10.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001371/0.3531, allocations: 311.5 kB / 499.1 MB, free: 10.14 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: 67 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.arcWeight[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 25 * Array equations: 0 * 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.0008347/0.3539, allocations: 373.7 kB / 499.5 MB, free: 9.781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003027/0.3569, allocations: 2.303 MB / 0.49 GB, free: 7.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3569, allocations: 0 / 0.49 GB, free: 7.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00176/0.3587, allocations: 1.431 MB / 0.4914 GB, free: 5.672 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005414/0.3592, allocations: 78.98 kB / 0.4915 GB, free: 5.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/0.3625, allocations: 1.852 MB / 0.4933 GB, free: 3.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.3628, allocations: 296.5 kB / 0.4936 GB, free: 3.348 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003413/0.3632, allocations: 128.6 kB / 0.4937 GB, free: 3.219 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.44e-05/0.3633, allocations: 40.5 kB / 0.4937 GB, free: 3.18 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3633, allocations: 3.938 kB / 0.4937 GB, free: 3.176 MB / 398.1 MB Notification: Performance of Templates: time 0.02087/0.3842, allocations: 11.08 MB / 0.5046 GB, free: 8.094 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.sim & ./PNlib_PNlib.Examples.DisTest.TDtoPDfunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) [Timeout 480] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.179375814273953]